joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4437fc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4439a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x443988
mov dl, 1
mov eax, dword [0x418a88]
call fcn.004045cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405428
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x443977
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045d260
test al, al
je 0x44396a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4439b8
lea eax, [ebp - 0x254]
call fcn.0040aee8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44396a
xor eax, eax
push ebp
push 0x443963
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4439f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44394c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405698
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44394c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405698
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44396a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44386d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c7e8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4439ae
lea eax, [ebp - 0x260]
call fcn.00405428
ret

Function at 0x444320
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a7c14]
cmp byte [eax + 0xad], 0
jne 0x444391
cmp dword [0x4a7c30], 0
jne 0x444352
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4442dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a7c30], eax
cmp dword [0x4a7c2c], 0
jne 0x44436d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a7c2c], eax
cmp dword [0x4a7c34], 0
jne 0x444391
push esp
push 0
push 0
push 0x444280
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a7c34], eax
pop edx
ret
Function at 0x444564
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44457b
add esp, 0xfffffff0
call fcn.00404920
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420af0
mov eax, dword [0x4a2624]
cmp word [eax + 2], 0
jne 0x4445a3
mov eax, dword [0x4a2624]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00445fc0
mov eax, dword [0x4a273c]
cmp word [eax + 2], 0
jne 0x4445bd
mov eax, dword [0x4a273c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004461cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418664]
call fcn.004045cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418664]
call fcn.004045cc
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x418664]
call fcn.004045cc
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x424660]
call fcn.0042c05c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x444774
mov eax, dword [0x4a2508]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042c430
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x446890
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a2508]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040e998
test eax, eax
je 0x4446c4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a88c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e9cc
test eax, eax
je 0x4446d8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405698
mov byte [ebx + 0xd4], 0
push ebx
push 0x445c8c
call fcn.00421c6c
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4a2394]
cmp byte [eax], 0
jne 0x444729
mov eax, ebx
call fcn.004448b8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00446a68
mov eax, ebx
call fcn.004475cc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444769
call fcn.00404978
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444b38
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x444bd7
cmp dword [ebx + 0x94], 0
jne 0x444bd1
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x444ac0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x444bd1
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x444b97
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x444bd1
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041aa90
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x444ba6
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x444df0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a7c14]
cmp dword [eax + 0x30], 0
je 0x444f4d
test bl, bl
jne 0x444e9e
cmp dword [esi + 0x9c], 0
jne 0x444e93
mov eax, esi
call fcn.00447448
push eax
push 0x444d1c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x444e64
mov eax, dword [0x4a7c14]
call fcn.00447a38
test al, al
je 0x444e64
mov eax, dword [0x4a7c38]
call fcn.0040683c
mov edi, eax
cmp edi, 0
jl 0x444e64
push 0
mov eax, dword [0x4a7c38]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x444e4e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x444e93
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041aa90
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x444e73
inc dword [esi + 0x9c]
jmp 0x444f4d
cmp dword [esi + 0x9c], 0
jle 0x444f4d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x444f4d
cmp dword [esi + 0x44], 0
je 0x444ef9
mov eax, dword [0x4a7c14]
call fcn.00447a38
test al, al
je 0x444ef9
mov eax, dword [0x4a7c38]
call fcn.0040683c
mov edi, eax
cmp edi, 0
jl 0x444ef9
push 5
mov eax, dword [0x4a7c38]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x444ee3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x444f28
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041aa90
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x444f08
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a7c38
mov ecx, 1
mov edx, dword [0x444cfc]
call fcn.004069f0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4459e0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x445a4a
mov eax, ebx
call fcn.00447a38
test al, al
jne 0x445a4a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405518
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x445a37
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x445a57
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040547c
jmp 0x445a57
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040547c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x446c4c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x446cba
mov eax, esi
call fcn.00458120
test al, al
je 0x446cba
mov eax, dword [ebx + 0x84]
call fcn.00457e14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x446cba
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x446cae
push 0
mov eax, dword [ebx + 0x84]
call fcn.00457e14
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044ffd0
jmp 0x446cba
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00446a88
pop esi
pop ebx
ret
Function at 0x44d868
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4a7ca0], 0
je 0x44d9b1
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a2704]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44d9b1
mov eax, dword [0x4a7ca4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a7ca0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44d980
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4a7ca0]
call fcn.0041aa90
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44d978
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44d978
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44d978
mov eax, dword [ebp - 0x14]
call fcn.00457e14
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44d978
push ebp
call fcn.0044d824
pop ecx
test al, al
jne 0x44d978
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004047f8
test al, al
je 0x44d978
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004047f8
cmp byte [ebp - 1], 0
je 0x44d978
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44d978
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a7ca4]
call fcn.0044cf94
inc edi
dec ebx
jne 0x44d8cd
mov eax, dword [0x4a7ca4]
cmp dword [eax + 8], 0
jle 0x44d998
mov eax, dword [0x4a7ca4]
call fcn.0044d04c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44d9b1
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044d688
pop ecx
test al, al
jne 0x44d9b1
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004077bc
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0044fbf0
test ebx, ebx
jne 0x454d63
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00454c4c
mov ebx, eax
test ebx, ebx
je 0x454e4e
cmp esi, ebx
je 0x454d8c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x454da1
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x454dd9
add eax, 0xffffff5f
sub eax, 2
jb 0x454df1
dec eax
sub eax, 2
jb 0x454e05
dec eax
sub eax, 2
jb 0x454dfb
jmp 0x454e0f
add eax, 0xfffffdff
sub eax, 2
jb 0x454df1
dec eax
sub eax, 2
jb 0x454e05
dec eax
sub eax, 2
jb 0x454dfb
jmp 0x454e0f
mov byte [esp + 0x120], 0
jmp 0x454e17
mov byte [esp + 0x120], 2
jmp 0x454e17
mov byte [esp + 0x120], 1
jmp 0x454e17
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043b494
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00451368
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x454e50
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45cf04
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a28f0]
cmp byte [eax + 0xc], 0
je 0x45d071
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d06a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a7cb0], 0
jne 0x45cf58
push 0x45d078
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45d080
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cb0], eax
cmp dword [0x4a1760], 0
jne 0x45d053
push 0x45d090
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a1760], eax
cmp dword [0x4a1760], 0
je 0x45d053
push 0x45d09c
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cb4], eax
push 0x45d0ac
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cb8], eax
push 0x45d0c0
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cbc], eax
push 0x45d0d8
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cc0], eax
push 0x45d0f0
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cc4], eax
push 0x45d104
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cc8], eax
push 0x45d11c
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7ccc], eax
push 0x45d134
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cd0], eax
push 0x45d150
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cd4], eax
push 0x45d15c
mov eax, dword [0x4a1760]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7cd8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d071
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ee00
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
call fcn.0040a1d0
test al, al
je 0x45ef3e
lea eax, [ebp - 0x68]
call fcn.0045e34c
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.004058b8
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x45ef27
xor eax, eax
push ebp
push 0x45ef20
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45ef09
xor eax, eax
push ebp
push 0x45ef02
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45eeeb
xor eax, eax
push ebp
push 0x45eee4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
call fcn.0045e370
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45eeeb
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ef09
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ef27
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x68]
call fcn.0045e404
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x78]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45f16c
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45f241
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405428
lea eax, [ebp - 4]
mov edx, pe_nt_image_headers32
call fcn.00405b48
mov dword [ebp - 8], 0xff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
call fcn.00405918
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x45f22b
mov dword [ebp - 0xc], 0xff
mov dword [ebp - 0x10], 0xff
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 4]
call fcn.00405918
push eax
push 0
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x45f22b
lea eax, [ebp - 0x118]
push eax
call sub.advapi32.dll_IsValidSid
test eax, eax
je 0x45f22b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.advapi32.dll_ConvertSidToStringSidA
mov eax, ebx
mov edx, dword [ebp - 0x18]
call fcn.00405620
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_GlobalFree
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f248
lea eax, [ebp - 4]
call fcn.00405428
ret
Function at 0x45fddc
Capabilities:
Encode data using xor

Disassembly:
or edx, edx
je 0x45fdf1
mov cl, byte [edx + eax - 1]
xor cl, byte [edx + 0x4a18ab]
mov byte [edx + eax - 1], cl
dec edx
jne 0x45fde0
ret

Function at 0x45ffe4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x320], edx
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x31c], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x460193
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0xf
lea edx, [ebp - 0x310]
mov eax, ebx
call fcn.00403e64
lea edx, [ebp - 0x310]
lea eax, [ebp - 4]
call fcn.0040568c
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4601ac
call fcn.00405740
mov eax, dword [0x4a84ec]
call fcn.004058b8
push eax
push 0x400
lea eax, [ebp - 0x109]
push eax
push 0x4601b8
push 0x4601bc
mov eax, dword [ebp - 4]
call fcn.004058b8
mov esi, eax
push esi
call sub.kernel32.dll_GetPrivateProfileStringA
mov eax, dword [0x4a84ec]
call fcn.004058b8
push eax
push 0x400
lea eax, [ebp - 0x20e]
push eax
push 0x4601b8
push 0x4601c4
push esi
call sub.kernel32.dll_GetPrivateProfileStringA
cmp byte [ebp - 0x109], 0x30
je 0x46011a
cmp byte [ebp - 0x20e], 0x30
je 0x46011a
push dword [edi]
lea eax, [ebp - 0x318]
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.00405698
mov eax, dword [ebp - 0x318]
push eax
lea eax, [ebp - 0x31c]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00405698
mov eax, dword [ebp - 0x31c]
lea ecx, [ebp - 0x314]
pop edx
call fcn.0045fe30
push dword [ebp - 0x314]
push 0x4601d8
push 0x4601e4
mov eax, edi
mov edx, 4
call fcn.004057bc
cmp byte [ebp - 0x109], 0x30
je 0x460163
cmp byte [ebp - 0x20e], 0x30
jne 0x460163
push 0x4601f0
lea eax, [ebp - 0x320]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.00405698
push dword [ebp - 0x320]
push 0x460200
push 0x460214
mov eax, edi
mov edx, 4
call fcn.004057bc
dec ebx
cmp ebx, 0xffffffff
jne 0x460022
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46019a
lea eax, [ebp - 0x320]
mov edx, 4
call fcn.0040544c
lea eax, [ebp - 4]
call fcn.00405428
ret
Function at 0x460e34
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd78
push ebx
xor ecx, ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x178], ecx
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x174], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004058a8
xor eax, eax
push ebp
push 0x461076
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004058b8
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405620
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x174]
mov ecx, 0x46108c
mov edx, dword [ebp - 4]
call fcn.00405740
mov eax, dword [ebp - 0x174]
call fcn.004058b8
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x46103a
push dword [ebp - 4]
push 0x46109c
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x144]
mov ecx, 0x104
call fcn.00405698
push dword [ebp - 0x17c]
lea eax, [ebp - 0x178]
mov edx, 3
call fcn.004057bc
mov eax, dword [ebp - 0x178]
call fcn.004058b8
call fcn.00460a88
cmp dword [0x4a84f4], 0
je 0x461013
cmp dword [0x4a84f8], 0
je 0x461013
mov eax, dword [0x4a84f8]
mov dword [ebp - 0x180], eax
mov ebx, dword [ebp - 0x180]
test ebx, ebx
je 0x460f3c
sub ebx, 4
mov ebx, dword [ebx]
lea ecx, [ebp - 0x184]
mov edx, ebx
mov eax, dword [0x4a84f8]
call fcn.004607b0
mov edx, dword [ebp - 0x184]
mov eax, 0x4a84f8
call fcn.0040547c
lea edx, [ebp - 0x2d]
mov eax, dword [0x4a84f8]
call fcn.00460980
mov ebx, eax
mov edx, ebx
dec edx
test edx, edx
jl 0x460f7f
inc edx
lea eax, [ebp - 0x2d]
sub byte [eax], 5
inc eax
dec edx
jne 0x460f78
mov byte [ebp + ebx - 0x2d], 0
mov eax, dword [0x4a84f4]
movzx ebx, byte [eax]
mov eax, dword [0x4a84f4]
movzx eax, byte [eax + 1]
shl eax, 8
add ebx, eax
mov eax, dword [0x4a84f4]
movzx eax, byte [eax + 2]
shl eax, 0x10
add ebx, eax
mov eax, dword [0x4a84f4]
movzx eax, byte [eax + 3]
shl eax, 0x18
add ebx, eax
lea edx, [ebp - 0x284]
mov eax, ebx
call fcn.00403e64
lea edx, [ebp - 0x284]
mov eax, 0x4a84f4
call fcn.0040568c
mov eax, dword [ebp - 8]
push dword [eax]
push 0x4610a8
push dword [0x4a84f4]
push 0x4610b8
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x2d]
call fcn.00405620
push dword [ebp - 0x288]
push 0x4610c4
push 0x4610d0
mov eax, dword [ebp - 8]
mov edx, 7
call fcn.004057bc
lea eax, [ebp - 0x170]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x460ec4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FindClose_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46107d
lea eax, [ebp - 0x288]
call fcn.00405428
lea eax, [ebp - 0x184]
call fcn.00405428
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.0040544c
lea eax, [ebp - 4]
call fcn.00405428
ret