joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4084e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_recv]
mov esi, ecx
lea ebx, [ebx]
push 0
push dword [esi + 0x64]
push dword [esi + 0x40]
push dword [esi + 8]
call edi
test eax, eax
jle 0x408531
mov edx, dword [esi]
mov ecx, esi
push eax
push dword [esi + 0x40]
push dword [esi + 0x10]
call dword [edx + 0x50]
cmp eax, 2
jne 0x4084f0
mov eax, dword [esi]
mov ecx, esi
push 0x65b
push 4
push dword [esi + 0x10]
mov dword [esi + 0x5c], 8
call dword [eax + 0x58]
pop edi
xor eax, eax
pop esi
ret
cmp eax, 0xffffffff
je 0x408549
test eax, eax
jne 0x4084f0
mov eax, dword [esi]
mov ecx, esi
push dword [esi + 0x10]
call dword [eax + 0x54]
pop edi
xor eax, eax
pop esi
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
cmp ecx, 0x2733
jne 0x408561
pop edi
mov eax, 1
pop esi
ret
mov eax, dword [esi]
push ecx
push 4
push dword [esi + 0x10]
mov ecx, esi
mov dword [esi + 0x5c], 7
call dword [eax + 0x58]
pop edi
xor eax, eax
pop esi
ret

Function at 0x408f30
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.004090d0
add esp, 4
test eax, eax
je 0x408f80
test edi, edi
jne 0x408f66
xor ecx, ecx
push ecx
push edi
jmp 0x409040
mov ecx, edi
lea edx, [ecx + 1]
jmp 0x408f70
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408f70
sub ecx, edx
push ecx
push edi
jmp 0x409040
lea eax, [ebp - 0x84]
mov dword [ebp - 0x88], eax
test edi, edi
jne 0x408f9a
xor eax, eax
mov dword [ebp - 0x88], eax
jmp 0x408fe0
mov esi, edi
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x408fa0
push 0x80
sub esi, ecx
lea eax, [ebp - 0x84]
push eax
inc esi
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00408e50
push esi
push edi
push esi
push dword [ebp - 0x88]
call fcn.0053180f
push eax
call fcn.00407670
mov eax, dword [ebp - 0x88]
add esp, 0x24
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, dword [ebp - 0x88]
mov esi, eax
lea eax, [ebp - 0x84]
cmp ecx, eax
je 0x409002
push ecx
call fcn.0053276c
add esp, 4
test esi, esi
jne 0x409019
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052fe70
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
test edx, edx
jne 0x409030
xor ecx, ecx
jmp 0x40903e
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x409035
sub ecx, esi
push ecx
push edx
mov ecx, ebx
call fcn.00405c90
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052fe70
mov esp, ebp
pop ebp
ret
Function at 0x409060
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push edi
mov edi, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], 0x10
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4090b6
push edi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00409310
add esp, 0x10
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052fe70
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0052fe70
mov esp, ebp
pop ebp
ret

Function at 0x409c20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
push 0x104
call fcn.0040b2ca
push 0x104
mov ebx, eax
push 0
push ebx
call fcn.00531650
add esp, 0x10
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
mov dword [ebp - 0x12c], 0x128
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x409cb5
push esi
mov esi, dword [ebp + 8]
jmp 0x409c80
cmp dword [ebp - 0x124], esi
je 0x409c9b
lea eax, [ebp - 0x12c]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x409c80
jmp 0x409cb4
lea ecx, [ebp - 0x108]
mov edx, ebx
mov eax, ecx
sub edx, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x409ca7
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.0052fe70
mov esp, ebp
pop ebp
ret 4
Function at 0x409d80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a0ff
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov eax, 0x190
mov dword [ebp - 4], 0
mov dword [edi], vtable.CClientSocket.0
call fcn.00532740
push esp
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [edi + 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call esi
mov dword [edi + 0x14], eax
push 0
push 0
push 0
push 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
call esi
mov dword [edi + 0x24], eax
lea eax, [edi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
push 0
mov dword [edi + 0x4c], 0x55b644
lea ecx, [edi + 0x50]
push 0
mov byte [ebp - 4], 5
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
call fcn.00408ad0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x4c], 0x55b64c
mov dword [edi + 0x58], 3
mov dword [edi + 0x60], eax
mov eax, edi
mov dword [edi + 0x5c], 0
mov dword [edi + 0x64], 0x1000
mov dword [edi + 0x68], 0x1388
mov dword [edi + 0x6c], 0xbb8
lea esp, [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052fe70
mov esp, ebp
pop ebp
ret 4

Function at 0x40f84a
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 0x40f88f
call fcn.0041beda
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40f88f
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40f8ab
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00419e0c
mov ebx, eax
test edi, edi
je 0x40f8a9
test esi, esi
je 0x40f8a9
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 0x4144cd
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.0041beda
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x414504
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.00414525
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 0x416887
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a851
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.00531c50
mov eax, dword [0x5aaef0]
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 edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x4169bb
push ebx
push eax
call fcn.00416a0a
mov ebx, eax
test ebx, ebx
jne 0x4168ef
push esi
jmp 0x4169e3
call fcn.0040c608
push eax
lea ecx, [ebp - 0x1014]
call fcn.004033f0
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x41697a
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.00405b30
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.00407bc0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x4169a8
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.004039a0
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.00405bb0
jmp 0x4169ea
push esi
mov ecx, edi
call fcn.00403490
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x4169a1
test esi, esi
jne 0x4169c4
mov esi, 0x55ae30
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.00403490
mov eax, edi
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.0052fe70
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41d92f
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x41d9c1
test esi, esi
je 0x41d9c1
push esi
call fcn.00533070
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.00531650
mov eax, pe_nt_image_headers32
add esp, 0x10
cmp ebx, eax
ja 0x41d9a6
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x41d9a6
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x41d9ae
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052fe70
mov esp, ebp
pop ebp
ret 8
call fcn.0040b306
int3
Function at 0x421844
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x54b396
call fcn.00532fc2
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
call fcn.0041beda
push ebx
mov ecx, dword [eax + 4]
call fcn.004165cf
mov esi, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x22c]
push dword [eax]
push esi
call fcn.004215f3
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.00405bb0
inc bl
je 0x4219f2
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov esi, ebx
mov byte [ebp - 0x114], bl
call fcn.00531650
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x4219ae
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc esi
mov byte [ebp - 0x218], 0
call fcn.00531650
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.004217e2
test eax, eax
jne 0x421999
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.004207e7
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.00405c50
mov dword [ebp - 0x230], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x22c]
call ebx
test eax, eax
je 0x42191c
lea ecx, [ebp - 0x22c]
call fcn.00407810
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x23c]
push dword [eax]
call fcn.00420e3a
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.00405bb0
lea ecx, [ebp - 0x22c]
call fcn.00407810
lea ecx, [ebp - 0x23c]
call fcn.00407810
mov eax, dword [ebp - 0x230]
call fcn.00532f71
ret
Function at 0x423136
Capabilities:
Get disk information

Disassembly:
push 0x158
mov eax, 0x54b5ee
call fcn.00532fc2
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x158], esi
test eax, eax
jne 0x423164
call fcn.0040b306
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x42315f
lea eax, [ebp - 0x154]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x4231ac
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.00532f42
push eax
call fcn.00407670
add esp, 0x14
push ebx
push edi
call fcn.00423109
xor eax, eax
jmp 0x4232cd
cmp eax, 0x104
jb 0x4231c9
test edi, edi
je 0x4231a5
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00405c50
jmp 0x4231a5
call fcn.0040c608
push eax
lea ecx, [ebp - 0x15c]
call fcn.004033f0
and dword [ebp - 4], 0
lea eax, [ebp - 0x15c]
push eax
push esi
call fcn.00422ae4
mov esi, dword [ebp - 0x15c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCA]
test eax, eax
jne 0x4232c2
xor ecx, ecx
lea eax, [ebp - 0x160]
push ecx
push ecx
push eax
lea eax, [ebp - 0x164]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x423234
push ebx
push edi
call fcn.00423109
lea ecx, [esi - 0x10]
call fcn.00405bb0
jmp 0x4231a5
mov eax, dword [ebp - 0x160]
test al, 2
jne 0x423250
push dword [ebp - 0x158]
call dword [sym.imp.USER32.dll_CharUpperA]
mov eax, dword [ebp - 0x160]
test al, 4
jne 0x4232c2
lea eax, [ebp - 0x150]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4232c2
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x423220
cmp eax, dword [ebp - 0x158]
jbe 0x423220
lea eax, [ebp - 0x124]
push eax
call fcn.00533070
mov edx, dword [ebp - 0x154]
sub edx, dword [ebp - 0x158]
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x4232d5
lea eax, [ebp - 0x124]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x154]
call fcn.00532ca8
push eax
call fcn.00407670
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00405bb0
xor eax, eax
inc eax
call fcn.00532f71
ret 0xc
test edi, edi
je 0x423227
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00405c50
jmp 0x423227
Function at 0x42bdc2
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.0040d148
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x42bdfe
call fcn.0042bfe1
mov dword [esi + 0xc], 1
jmp 0x42be03
call fcn.0042bfe1
cmp dword [esi], 0
je 0x42be4c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x42be26
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040c2bd
jmp 0x42be37
push 0xff
mov ecx, esi
call fcn.00405b30
push pe_nt_image_headers32
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00407bc0
jmp 0x42be70
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x42be70
push dword [esi]
push dword [ebp - 4]
call fcn.0041d92f
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42bf36
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.0042bfe1
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x42bf7e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040c2bd
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00407bc0
jmp 0x42bf89
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d92f
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x42c025
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov ecx, edi
push eax
mov dword [ebp - 0x48], esi
call fcn.0042bfe1
cmp dword [edi], 0
mov ebx, eax
mov dword [edi + 0xc], 1
je 0x42c096
mov esi, dword [ebp + 0x18]
lea eax, [ebp - 0x44]
push 0x40
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push esi
push dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.005366ff
add esp, 0x10
cmp eax, 1
je 0x42c0e4
push 0xffffffffffffffff
push 0
push dword [ebp + 0x14]
call fcn.0041736f
mov ecx, edi
call fcn.0042bf8f
jmp 0x42c0e4
call fcn.005331c3
mov edi, dword [eax]
call fcn.005331c3
and dword [eax], 0
lea eax, [ebp + 0x18]
push eax
push esi
push 0x3f
lea eax, [ebp - 0x44]
push 0x40
push eax
call fcn.00532281
add esp, 0x14
call fcn.005331c3
cmp dword [eax], 0
je 0x42c0d3
call fcn.005331c3
push dword [eax]
call fcn.0040ba13
pop ecx
jmp 0x42c0da
call fcn.005331c3
mov dword [eax], edi
lea eax, [ebp - 0x44]
push eax
push ebx
call fcn.0041d92f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052fe70
mov esp, ebp
pop ebp
ret
Function at 0x42e189
Capabilities:
Get common file path
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x42e1de
xor eax, eax
test esi, esi
sete al
or eax, 0x4000
push eax
push 0x160
lea eax, [ebp - 0x26c]
push eax
push 0
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052fe70
mov esp, ebp
pop ebp
ret 4
Function at 0x42e342
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x71c
mov eax, dword [0x5aaef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
test edx, edx
je 0x42e561
test esi, esi
je 0x42e561
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x45c], ebx
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], ebx
mov dword [ebp - 0x450], ebx
mov dword [ebp - 0x44c], ebx
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
mov dword [ebp - 0x32c], ebx
mov dword [ebp - 0x328], ebx
mov dword [ebp - 0x324], ebx
mov dword [ebp - 0x320], ebx
sub eax, ebx
je 0x42e532
dec eax
je 0x42e3d4
dec eax
je 0x42e49a
dec eax
jne 0x42e54c
mov edi, dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
push dword [edx + 4]
call edi
test eax, eax
je 0x42e52d
push ebx
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0042b019
test eax, eax
je 0x42e52d
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 4]
call edi
test eax, eax
je 0x42e492
push ebx
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0042b019
test eax, eax
je 0x42e492
cmp dword [ebp + 0x10], 1
jne 0x42e4f2
test byte [ebp - 0x43c], 0x10
jne 0x42e52d
test byte [ebp - 0x314], 0x10
jne 0x42e492
mov ecx, dword [ebp - 0x318]
mov eax, dword [ebp - 0x31c]
cmp dword [ebp - 0x440], ecx
ja 0x42e492
jb 0x42e52d
cmp dword [ebp - 0x444], eax
jb 0x42e52d
cmp dword [ebp - 0x440], ecx
jb 0x42e54c
ja 0x42e492
cmp dword [ebp - 0x444], eax
jbe 0x42e54c
xor ebx, ebx
inc ebx
jmp 0x42e54c
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea eax, [ebp - 0x71c]
push 0x408
push 0x160
push eax
push ebx
push dword [edx + 4]
call edi
test eax, eax
je 0x42e54c
push 0x408
push 0x160
lea eax, [ebp - 0x5bc]
push eax
push ebx
push dword [esi + 4]
call edi
test eax, eax
je 0x42e54c
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x60c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov ebx, eax
jmp 0x42e54c
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0042da69
test al, al
jne 0x42e52d
push dword [ebp - 0x328]
lea ecx, [ebp - 0x454]
push dword [ebp - 0x32c]
call fcn.0042da88
xor ebx, ebx
test al, al
setne bl
jmp 0x42e54c
or ebx, 0xffffffff
jmp 0x42e54c
push dword [esi + 8]
mov eax, dword [edx]
push dword [edx + 8]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x42e549
xor eax, eax
jmp 0x42e54e
movsx ebx, ax
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052fe70
mov esp, ebp
pop ebp
ret 0xc
call fcn.0040b306
int3
Function at 0x42eb09
Capabilities:
Get file system object information

Disassembly:
push 0x398
mov eax, 0x54bd29
call fcn.00532fc2
mov edi, ecx
mov ecx, dword [ebp + 0x14]
xor ebx, ebx
mov esi, dword [ebp + 8]
xor eax, eax
test ecx, ecx
mov dword [ebp - 0x3a4], ebx
setne al
test eax, eax
jne 0x42eb38
call fcn.0040b306
mov eax, dword [ebp + 0x10]
sub eax, ebx
je 0x42ec60
dec eax
je 0x42eb8a
dec eax
je 0x42eb62
dec eax
je 0x42eb8a
push 0x55ae30
mov ecx, esi
call fcn.00403490
mov eax, esi
call fcn.00532f71
ret 0x10
push 0x408
push 0x160
lea eax, [ebp - 0x39c]
push eax
push ebx
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x42eb4c
lea eax, [ebp - 0x28c]
push eax
jmp 0x42eb51
lea eax, [ebp - 0x114]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x42eb4c
push ebx
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], ebx
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x238], ebx
push eax
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
call fcn.0042b019
test eax, eax
je 0x42eb4c
call fcn.0040c608
push eax
lea ecx, [ebp - 0x3a0]
call fcn.004033f0
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], ebx
jne 0x42ec20
test byte [ebp - 0x21c], 0x18
jne 0x42ec38
mov eax, dword [edi]
lea ecx, [ebp - 0x3a0]
push ecx
push dword [ebp - 0x220]
mov ecx, edi
push dword [ebp - 0x224]
call dword [eax + 0x19c]
jmp 0x42ec38
mov eax, dword [edi]
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x234]
push ecx
mov ecx, edi
call dword [eax + 0x1a0]
mov eax, dword [ebp - 0x3a0]
add eax, 0xfffffff0
push eax
call fcn.004039a0
pop ecx
mov ecx, dword [ebp - 0x3a0]
add eax, 0x10
mov dword [esi], eax
lea ecx, [ecx - 0x10]
call fcn.00405bb0
jmp 0x42eb58
push 0x208
push 0x160
lea eax, [ebp - 0x39c]
push eax
push ebx
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x42eb4c
lea eax, [ebp - 0x390]
jmp 0x42eb87

Function at 0x42ee11
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.00445c9f
call fcn.0041bf2e
cmp dword [eax + 0x14], 0
jne 0x42ee2c
mov ecx, esi
pop esi
jmp fcn.0042e1ef
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
call fcn.00479b40
call fcn.0041bf2e
cmp dword [eax + 0x14], 0
jne 0x44311d
mov ecx, esi
pop esi
jmp fcn.004429eb
pop esi
ret