joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x3a23700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.03a2378f
jae 0x3a2370e
xor ecx, ecx
call fcn.03a2378f
jae 0x3a2373d
xor eax, eax
call fcn.03a2378f
jae 0x3a2374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.03a2378f
adc al, al
jae 0x3a2372f
jne 0x3a23779
stosb byte es:[edi], al
jmp 0x3a23711
call fcn.03a2379b
sub ecx, ebx
jne 0x3a23756
call fcn.03a23799
jmp 0x3a23775
lodsb al, byte [esi]
shr eax, 1
je 0x3a23783
adc ecx, ecx
jmp 0x3a23772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03a23799
cmp eax, 0x7d00
jae 0x3a23772
cmp ah, 5
jae 0x3a23773
cmp eax, 0x7f
ja 0x3a23774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3a23711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x43b641
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x43b3c1
sub ebx, 0x98ae3a14
call fcn.0043b67e
add edx, 0x621cc012
sub edx, 0x6520cc4a
sub edx, edx
xor dword [ecx], eax
dec edx
add ecx, 1
mov ebx, 0x9d073a82
add ebx, 0x418f6b35
cmp ecx, edi
jne fcn.0043b641
sub edx, ebx
ret

Function at 0x40229a
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push edi
push dword [0x403716]
call dword [sym.imp.pdh.dll_PdhCloseLog]
mov eax, 5
add eax, 5
inc eax
xor edi, edi
xor esi, esi
test eax, 0xb
jne 0x4022c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x40164f], eax
ret
Function at 0x406550
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x456020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
call fcn.004066c0
mov ecx, eax
call fcn.00407b40
movzx eax, al
test eax, eax
jne 0x40668c
lea ecx, [ebp - 0x18]
call fcn.0040fa30
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004066c0
mov eax, dword [eax]
push eax
push str._s_d._s
lea ecx, [ebp - 0x18]
push ecx
call fcn.0040f3e0
add esp, 0x14
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea ecx, [ebp - 0x18]
call fcn.00433de0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x40667d
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x406673
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x1c]
add edx, 0xa
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004087c0
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x406669
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x1c]
jne 0x406669
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00406780
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040fa10
mov eax, dword [ebp - 0x24]
jmp 0x4066a6
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00406780
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040fa10
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004067b0
add esp, 0xc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4067b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, word [ebp + 8]
push ecx
push 0x400000
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4067da
xor eax, eax
jmp 0x406864
mov edx, dword [ebp - 0x10]
push edx
push 0x400000
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4067f6
xor eax, eax
jmp 0x406864
mov eax, dword [ebp - 0x10]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x406812
xor eax, eax
jmp 0x406864
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x406829
xor eax, eax
jmp 0x406864
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.004087c0
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00406780
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4166c0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
call fcn.00416700
movzx eax, al
test eax, eax
jne 0x4166eb
mov ecx, dword [ebp - 4]
push ecx
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov edx, dword [ebp - 4]
mov dword [edx + 0x190], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
cmp dword [eax + 0x190], 0
sete cl
mov al, cl
mov esp, ebp
pop ebp
ret

Function at 0x416a40
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
movzx ecx, byte [eax + 0x44]
test ecx, ecx
je 0x416a5b
mov al, 1
jmp 0x416b16
mov byte [ebp - 1], 1
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x40], 0xffffffff
jne 0x416a6f
xor al, al
jmp 0x416b16
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
test eax, eax
je 0x416b0a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x2733
je 0x416ab1
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
mov dword [ecx + 0x48], edx
mov byte [ebp - 1], 0
jmp 0x416b0a
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x416b06
push 0x2c
push 0
lea ecx, [ebp - 0x34]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [ebp - 0x34]
push edx
push 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp dword [ebp - 0x20], 0
je 0x416b04
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x48], eax
mov byte [ebp - 1], 0
jmp 0x416b0a
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x38]
mov dl, byte [ebp - 1]
mov byte [ecx + 0x44], dl
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 8
Function at 0x416b20
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x416b52
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x48], 0x2749
xor al, al
jmp 0x416c58
push 0
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x416b79
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x48], 0x2734
xor al, al
jmp 0x416c58
mov byte [ebp - 1], 1
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.00405570
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
je 0x416be8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3e5
je 0x416be8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x48], ecx
mov byte [ebp - 1], 0
movzx edx, byte [ebp - 1]
test edx, edx
je 0x416c4a
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x416c46
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x416c34
mov byte [ebp - 1], 1
jmp 0x416c44
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x24]
mov dword [ecx + 0x48], eax
mov byte [ebp - 1], 0
jmp 0x416c4a
mov byte [ebp - 1], 0
mov ecx, dword [ebp - 0x24]
add ecx, 0x28
call fcn.00405520
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x416c90
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x416cc2
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x48], 0x2749
xor al, al
jmp 0x416dea
push 0
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x416ce9
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x48], 0x2734
xor al, al
jmp 0x416dea
mov byte [ebp - 9], 1
mov edx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
mov dword [ebp - 0x10], 0
push 0x14
push 0
lea eax, [ebp - 0x24]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
add ecx, 0x10
call fcn.00405570
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.WS2_32.dll_WSAResetEvent]
push 0
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 1
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x40]
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x416d7d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x3e5
je 0x416d7d
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x48], edx
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x416ddc
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x4c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x416dd8
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
test eax, eax
je 0x416dc6
mov byte [ebp - 9], 1
jmp 0x416dd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x48], eax
mov byte [ebp - 9], 0
jmp 0x416ddc
mov byte [ebp - 9], 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x10
call fcn.00405520
mov al, byte [ebp - 9]
mov esp, ebp
pop ebp
ret 8

Function at 0x4205a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00433dc0
test eax, eax
je 0x420605
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x4205fb
cmp dword [ebp + 8], 0x1b
jne 0x4205e1
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0040f870
jmp 0x4205fb
cmp dword [ebp + 8], 0xd
jne 0x4205fb
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.0040f870
push 0
mov ecx, dword [ebp - 4]
call fcn.004206b0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x426f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.00406cb0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x426fb4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x426fb4
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret

Function at 0x42e800
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448858
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x456020]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd4], 0
je 0x42e853
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xd4]
mov dword [ebp - 0x10], edx
jmp 0x42e8f7
mov ecx, dword [ebp - 0x1c]
add ecx, 0xd0
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42e8f7
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0xd8], 0
je 0x42e8bc
mov ecx, dword [ebp - 0x1c]
add ecx, 0xd0
push ecx
mov edx, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, edx
call fcn.00405a10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.0042ec30
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.0042e960
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
jmp 0x42e8f7
mov edx, dword [ebp - 0x1c]
add edx, 0xd0
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push edx
call fcn.00405a10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
call fcn.0042ec30
mov byte [ebp - 4], 0
mov ecx, eax
call fcn.0042ead0
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x42e937
push 3
push 0
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
call fcn.0040f790
push eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
call fcn.00410190
push eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00410170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42e960
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448818
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x456020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
mov ecx, dword [ebp - 0x184]
add ecx, 0x30
call fcn.0040a620
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42e9de
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x178], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fa10
mov eax, dword [ebp - 0x178]
jmp 0x42eaa6
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42ea87
mov dword [ebp - 0x174], 0
push 0x15c
push 0
lea edx, [ebp - 0x170]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x301
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x42ea87
cmp dword [ebp - 0x174], 0
je 0x42ea87
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
mov ecx, dword [ebp - 0x184]
add ecx, 0x30
call fcn.0040a840
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x17c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fa10
mov eax, dword [ebp - 0x17c]
jmp 0x42eaa6
mov dword [ebp - 0x180], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fa10
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043a53a
mov esp, ebp
pop ebp
ret 4
Function at 0x42ead0
Capabilities:
Check if file exists
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448818
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x456020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x184], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
mov ecx, dword [ebp - 0x184]
call fcn.0040a620
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42eb4b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x178], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fa10
mov eax, dword [ebp - 0x178]
jmp 0x42ec10
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
jne 0x42ebf1
mov dword [ebp - 0x174], 0
push 0x15c
push 0
lea edx, [ebp - 0x170]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x300
push 0x160
lea eax, [ebp - 0x174]
push eax
push 0
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x42ebf1
cmp dword [ebp - 0x174], 0
je 0x42ebf1
lea ecx, [ebp + 8]
call fcn.00433de0
push eax
mov ecx, dword [ebp - 0x184]
call fcn.0040a840
mov ecx, dword [ebp - 0x174]
mov dword [eax], ecx
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x17c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fa10
mov eax, dword [ebp - 0x17c]
jmp 0x42ec10
mov dword [ebp - 0x180], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040fa10
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043a53a
mov esp, ebp
pop ebp
ret 4
Function at 0x4326d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x308], 0
je 0x43270d
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x308], 0
mov edx, dword [ebp - 0x34]
cmp dword [edx + 0x2fc], 0
je 0x4327f4
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x2fc]
push ecx
call fcn.00406aa0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4327e7
push 2
push 0
mov edx, dword [ebp - 8]
push edx
mov ecx, dword [ebp - 0x34]
call fcn.004322f0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0x2fc]
cmp edx, dword [ecx + 0x2f8]
jne 0x4327e7
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
mov ecx, dword [ebp + 8]
push ecx
push 0x202
mov ecx, dword [ebp - 8]
call fcn.00405ea0
mov ecx, dword [ebp - 8]
call fcn.00432860
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4327c9
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
test eax, eax
je 0x4327c9
push 1
push 0
push 0
mov ecx, dword [ebp - 0x10]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x4327e7
mov ecx, dword [ebp - 8]
call fcn.00426e00
test eax, eax
je 0x4327e7
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.00426e00
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x2fc], 0
cmp dword [ebp - 0xc], 0
je 0x432858
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.00433ea0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.00433ec0
mov ecx, eax
call fcn.00433de0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x432d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x432d29
xor ecx, ecx
jne 0x432d29
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shl eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x432d70
mov eax, dword [ebp - 0xc]
jmp 0x432dcd
cmp dword [ebp - 4], 1
je 0x432d83
cmp dword [ebp - 4], 2
je 0x432d83
mov eax, 0xd
jmp 0x432dcd
cmp dword [ebp + 0xc], 0
je 0x432dc1
cmp dword [ebp - 8], 0
je 0x432db9
mov eax, dword [ebp - 8]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x432db0
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x432db7
mov eax, 0xd
jmp 0x432dcd
jmp 0x432dc1
mov edx, dword [ebp + 0xc]
mov word [edx], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc