joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4140b0
Capabilities:
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x599fd3
mov eax, dword fs:[0]
push eax
sub esp, 0x1b4
mov eax, dword [0x6101c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jge 0x4140f3
or esi, 0xffffffff
jmp 0x414113
push 0x5e4534
push eax
call fcn.0057f8a1
mov esi, eax
add esp, 8
mov eax, dword [ebp + 8]
test esi, esi
jne 0x41410f
or esi, 0xffffffff
jmp 0x414113
sub esi, eax
sar esi, 1
mov eax, dword [eax - 0xc]
lea ecx, [ebp + 8]
sub eax, esi
dec eax
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00415d90
push 0xa
push 0
push dword [eax]
call fcn.0057f871
mov ebx, dword [ebp - 0x1ac]
or edi, 0xffffffff
add ebx, 0xfffffff0
mov dword [ebp - 0x1b0], eax
add esp, 0xc
mov ecx, edi
lea edx, [ebx + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41415f
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp + 8]
call fcn.00415e10
lea eax, [ebp - 0x1a0]
mov byte [ebp - 4], 1
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, dword [ebp - 0x1a8]
test eax, eax
jne 0x414263
mov eax, dword [ebp - 0x1a0]
cmp al, 1
jne 0x41425d
shr eax, 8
cmp al, 1
jne 0x41425d
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push esi
lea ecx, [ebp - 0x1a4]
mov ebx, eax
call fcn.00416040
push dword [ebp - 0x1a4]
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp - 0x1b0]
mov dword [ebp - 0x1bc], eax
mov eax, 2
mov word [ebp - 0x1c0], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1be], ax
sub esp, 0x10
movdqu xmm0, xmmword [ebp - 0x1c0]
mov eax, esp
mov ecx, ebx
movdqu xmmword [eax], xmm0
call fcn.0040f0e0
add esp, 0x10
test al, al
jne 0x41422d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
jmp 0x41423c
push ebx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov bl, 1
mov edx, dword [ebp - 0x1a4]
mov ecx, edi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414265
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x414265
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor bl, bl
add esi, 0xfffffff0
mov byte [ebp - 4], 0
mov ecx, edi
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414282
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 8]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4142a3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057e445
mov esp, ebp
pop ebp
ret 4
Function at 0x414800
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x6101c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp dword [ebx + 4], 0x100
jne 0x41493c
cmp dword [ebx + 8], 0xd
jne 0x41493c
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
call fcn.00582230
add esp, 0xc
lea eax, [ebp - 0x204]
push 0x100
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClassNameW]
lea ecx, [ebp - 0x204]
mov eax, str.MacromediaFlashPlayerActiveX
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x414896
test dx, dx
je 0x414892
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x414896
add eax, 4
add ecx, 4
test dx, dx
jne 0x414870
xor eax, eax
jmp 0x41489b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4148df
mov ecx, 0x5e4538
lea eax, [ebp - 0x204]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4148d6
test dx, dx
je 0x4148d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4148d6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4148b0
xor eax, eax
jmp 0x4148db
sbb eax, eax
or eax, 1
test eax, eax
jne 0x41493c
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x1c0001
push 0xd
push 0x100
push dword [ebx]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call esi
push 0x11c0001
push 0xd
push 0x102
push dword [ebx]
call edi
push 0xa
call esi
push 0x1c0001
push 0xd
push 0x101
push dword [ebx]
call edi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e445
mov esp, ebp
pop ebp
ret 4
push ebx
mov ecx, esi
call fcn.00466435
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e445
mov esp, ebp
pop ebp
ret 4
Function at 0x419d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a513
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6101c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00456a44
mov dword [ebp - 4], 0
mov dword [esi], vtable.CTCMemDC.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], vtable.CBitmap.0
mov edi, dword [ebp + 8]
lea ebx, [esi + 0x20]
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [esi + 0x1c], edi
mov dword [esi + 0x18], 0
cmp dword [edi + 0xc], eax
sete al
mov dword [esi + 0x30], eax
test eax, eax
je 0x419e8d
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax + 0x50]
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call fcn.0045728b
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
push ecx
push eax
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x10]
call fcn.004572c1
lea eax, [esi + 0x10]
test eax, eax
je 0x419e5d
mov eax, dword [eax + 4]
push eax
push dword [esi + 4]
call fcn.00457925
push dword [esi + 0x24]
mov dword [esi + 0x18], eax
mov ecx, esi
push dword [ebx]
lea eax, [ebp - 0x18]
push eax
call fcn.00457ca4
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetBkColor]
push eax
push ebx
mov ecx, esi
call fcn.0046b472
jmp 0x419e9f
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x41a570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x6101c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 3
push eax
mov dword [ebp - 0x218], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41a5e1
cmp dword [ebp - 0x208], 1
jne 0x41a5ba
cmp dword [ebp - 0x210], 0
je 0x41a5e1
push 0
lea eax, [ebp - 0x21c]
push eax
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057e445
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x220]
push eax
push 1
push 0
push str.Control_PanelDesktop
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a65a
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x100
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.WheelScrollLines
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a64e
push 0xa
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0057f889
add esp, 0xc
mov dword [ebp - 0x21c], eax
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
call fcn.0057e445
mov esp, ebp
pop ebp
ret
Function at 0x433350
Capabilities:
Log keystrokes via application hook

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x88]
cmp eax, 1
jne 0x433386
cmp dword [0x61e678], 0
jne 0x4333ad
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x433220
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x61e678], eax
jmp 0x4333ad
cmp eax, 2
jne 0x433406
cmp dword [0x61e67c], 0
jne 0x4333ad
push 0
push 0
push 0
push 0
push 0
push 0x433410
call fcn.0046f1eb
mov dword [0x61e67c], eax
mov ecx, dword [0x61e8e8]
xor eax, eax
push edi
test ecx, ecx
jle 0x4333d4
mov edi, dword [0x61e8e4]
test eax, eax
js 0x43340a
cmp eax, ecx
jge 0x43340a
mov edx, dword [edi + eax*4]
cmp edx, esi
je 0x4333e5
inc eax
cmp eax, ecx
jl 0x4333c0
push esi
push ecx
mov ecx, 0x61e8e0
call fcn.0046b969
pop edi
mov al, 1
pop esi
ret
movzx eax, word [esi + 0x84]
mov word [edx + 0x84], ax
movzx eax, word [esi + 0x82]
pop edi
mov word [edx + 0x82], ax
mov al, 1
pop esi
ret
xor al, al
pop esi
ret
call fcn.00453fa1
int3

Function at 0x43b780
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c441
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6101c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00456033
push dword [edi + 0x120e8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push pe_nt_image_headers32
push dword [edi + 0x20]
call esi
push dword [edi + 0x120e8]
push 0
push pe_nt_image_headers32
push dword [edi + 0x20]
call esi
push 0
push 0
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x5b6604
mov dword [0x61e894], eax
call fcn.0047bd1e
mov dword [0x61e898], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 7
push str.debuger
push eax
call fcn.0057f4ec
add esp, 0xc
test eax, eax
jne 0x43b847
mov byte [edi + 0x120e4], 1
jmp 0x43b84e
mov byte [edi + 0x120e4], 0
push 0x5e8c54
jmp 0x6b89ad
Function at 0x43c0d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c4cb
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x6101c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x61e888], 0
je 0x43c116
lea eax, [esi + 0x120f8]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov eax, dword [esi + 0x120d0]
sub eax, 0x10
push eax
call fcn.0040dfb0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
cmp dword [esi - 0xc], 0
je 0x43c14a
push 0
push esi
call dword [0x61e8a8]
add esp, 8
add esi, 0xfffffff0
or ecx, 0xffffffff
mov dword [ebp - 4], ecx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x43c167
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
call dword [0x61e8ac]
push dword [0x61e89c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00582230
mov eax, dword [0x61e8f4]
lea edx, [ebp - 0x218]
add esp, 0xc
sub edx, eax
lea ebx, [ebx]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x43c1b0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c1d0
sub ecx, edx
sar ecx, 1
je 0x43c224
lea eax, [ebp - 0x218]
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x234], eax
mov eax, 0x614
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x23c]
push eax
mov dword [ebp - 0x238], 3
mov dword [ebp - 0x230], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057e445
mov esp, ebp
pop ebp
ret
Function at 0x44cee0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_Explorer_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], 0x270f
call edi
test eax, eax
je 0x44cf19
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 0x50
call fcn.004536e1
add esp, 4
mov dword [ebp - 0x18], 1
mov ebx, eax
mov dword [ebp - 0x14], 0x50
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
push eax
push 0
push str.Version
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44cf59
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
push esi
push dword [ebp - 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
mov al, byte [ebx]
cmp al, 8
jbe 0x44cf74
mov dword [ebp - 0xc], 0x2710
jmp 0x44cf81
jne 0x44d02d
mov dword [ebp - 0xc], 0x1f40
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push SysReAllocString
mov dword [ebp - 8], 0
call edi
test eax, eax
je 0x44d004
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
je 0x44d004
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControl
push SysReAllocString
call edi
test eax, eax
jne 0x44d004
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.FEATURE_BROWSER_EMULATION
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44d042
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
push dword [ebp - 0x1c]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
test eax, eax
jne 0x44d036
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d02d
push eax
call esi
pop esi
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x44d042
push eax
call esi
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x45590f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004669a2
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x455946
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00455967
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a0ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x45a0f3
call fcn.004669a2
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x45a0f3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x45a10f
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00481d20
mov ebx, eax
test edi, edi
je 0x45a10d
test esi, esi
je 0x45a10d
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4a19dd
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.004543c3
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x4a1a19
call fcn.004a1bfc
mov dword [esi + 0xc], 1
jmp 0x4a1a1e
call fcn.004a1bfc
cmp dword [esi], 0
je 0x4a1a67
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x4a1a41
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0042f450
jmp 0x4a1a52
push 0xff
mov ecx, esi
call fcn.0040de50
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0042fa60
jmp 0x4a1a8b
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x4a1a8b
push dword [esi]
push dword [ebp - 4]
call fcn.004823b4
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4a1b51
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.004a1bfc
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4a1b99
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0042f450
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0042fa60
jmp 0x4a1ba4
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.004823b4
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x511f0c
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00567db0
call fcn.004669f6
cmp dword [eax + 0x14], 0
jne 0x511f27
mov ecx, esi
pop esi
jmp fcn.00511312
pop esi
ret

Function at 0x5675c5
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00401c40
call fcn.004669f6
cmp dword [eax + 0x14], 0
jne 0x5675e0
mov ecx, esi
pop esi
jmp fcn.00566eae
pop esi
ret
Function at 0x5933d0
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6101c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00587153
mov dword [ebp - 0x14], eax
cmp dword [0x61c544], esi
jne 0x5934c3
push 0x800
push esi
push 0x5e0160
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x593450
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5935a3
push esi
push esi
push 0x5e0160
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5935a3
push 0x5e0178
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5935a3
push eax
call ebx
push 0x5e0184
push edi
mov dword [0x61c544], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5e0194
push edi
mov dword [0x61c548], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x61c54c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61c554], eax
test eax, eax
je 0x5934c0
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x61c550], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5934e8
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5934db
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5934fd
push 4
pop eax
jmp 0x5935a5
cmp dword [ebp - 0x14], esi
je 0x5934fd
push dword [0x61c544]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5934e2
mov eax, dword [0x61c550]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x59355b
cmp dword [0x61c554], edi
je 0x59355b
push eax
call ebx
push dword [0x61c554]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x59355b
test eax, eax
je 0x59355b
call ecx
test eax, eax
je 0x593550
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x593550
test byte [ebp - 8], 1
jne 0x59355b
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x59358b
mov eax, dword [0x61c548]
cmp eax, edi
je 0x593588
push eax
call ebx
test eax, eax
je 0x593588
call eax
mov esi, eax
test esi, esi
je 0x593588
mov eax, dword [0x61c54c]
cmp eax, edi
je 0x593588
push eax
call ebx
test eax, eax
je 0x593588
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x61c544]
call ebx
test eax, eax
je 0x5935a3
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5935a5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057e445
mov esp, ebp
pop ebp
ret
Function at 0x404eb9
Capabilities:
Enumerate files on windows

Disassembly:
push 0x270
mov eax, 0x41ef37
call fcn.0040dc60
mov dword [ebp - 0x278], ecx
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
mov dword [ebp - 0x27c], ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.0040f99c
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x114]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404f10
xor eax, eax
jmp 0x40501d
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
push 0xffffffffffffffff
push 0x401328
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.0040d384
add esp, 0x10
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x404f09
xor esi, esi
test byte [ebp - 0x270], 0x10
je 0x404fbb
and dword [ebp - 0x120], 0
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404f7b
sub ecx, edx
push ecx
lea eax, [ebp - 0x244]
push eax
lea ecx, [ebp - 0x130]
call fcn.0040d384
and dword [ebp - 4], 0
lea eax, [ebp - 0x130]
or ebx, 1
push eax
mov dword [ebp - 0x27c], ebx
call fcn.0040d384
mov byte [ebp - 0x271], 1
test al, al
jne 0x404fc2
mov byte [ebp - 0x271], 0
or dword [ebp - 4], 0xffffffff
test bl, 1
je 0x404fdd
push 0
push 1
lea ecx, [ebp - 0x130]
and ebx, 0xfffffffe
call fcn.0040d384
cmp byte [ebp - 0x271], 0
je 0x404ffe
mov ecx, dword [ebp - 0x278]
lea eax, [ebp - 0x244]
push eax
call fcn.0040d384
mov esi, eax
test esi, esi
jne 0x405014
lea eax, [ebp - 0x270]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x404f51
push edi
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, esi
call fcn.0040dce3
ret