joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43c490
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x478253
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046ba75
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0047110e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0047262a
test eax, eax
je 0x43c5ac
mov ecx, dword [esp + 0x3c]
call fcn.0047113b
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c570
push edi
mov ecx, esi
call fcn.0046e7a1
mov ecx, esi
call fcn.0043c710
cmp dword [esp + 0x38], 1
jne 0x43c5a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046e8dc
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43efd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43f003
push esi
call fcn.004420e0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43effc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43f089
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43f072
mov eax, dword [esi + 8]
test eax, eax
je 0x43f027
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43f06e
cmp eax, 2
je 0x43f072
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43f01a
cmp eax, 3
je 0x43f04d
cmp eax, 1
jne 0x43f01a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43f01a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43f01a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043f0b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43f098
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043f0b0
add esp, 4
pop esi
ret

Function at 0x44b050
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x44b0f3
test eax, eax
jbe 0x44b0f3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x44b0f3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x44b09e
xor esi, esi
jmp 0x44b0a4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x44b0cf
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004045f0
add esi, eax
push esi
mov ebx, esi
call fcn.004045f0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x44b0b0
pop ebp
test edi, edi
pop edi
jne 0x44b0f3
test ebx, ebx
je 0x44b0f3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0045b470
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x44b235
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44b34d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44b34d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046bec7
mov esi, eax
test esi, esi
je 0x44b34d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44b34d
mov ecx, esi
call fcn.0044b1a0
cmp edi, eax
jge 0x44b34d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x44b2d3
mov dword [esp + 0x34], 1
jmp 0x44b32e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44b34d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044a760
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x453e70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x453ebc
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x453ebc
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x453ea6
push eax
call ebp
test ax, ax
jl 0x453eb4
inc esi
add edi, 4
cmp esi, 6
jb 0x453e98
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00453b70
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4579b0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x457a10
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x457a10
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x457a10
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x457a10
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x457a20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x46c86b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46c8a3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046a922
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046a8fa
jmp 0x46c8af
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46df59
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46df9b
call fcn.00473b9b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46df9b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46df92
xor eax, eax
jmp 0x46dfa3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046dfa9
pop edi
pop esi
pop ebx
ret 4

Function at 0x4740cb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4740f9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x474117
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00474031
jmp 0x474117
mov eax, dword [esi + 0x14]
test eax, eax
je 0x474117
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00474031
test edi, edi
mov eax, edi
jne 0x474101
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41fe30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x624394]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ebx
nop
movzx eax, byte [ebx + ecx]
mov byte [ebp + ecx*4 - 0x14], al
movzx eax, byte [ebx + ecx + 4]
mov byte [ebp + ecx*4 - 0x13], al
movzx eax, byte [ebx + ecx + 8]
mov byte [ebp + ecx*4 - 0x12], al
movzx eax, byte [ebx + ecx + 0xc]
mov byte [ebp + ecx*4 - 0x11], al
inc ecx
cmp ecx, 4
jl 0x41fe50
push esi
push edi
lea ecx, [ebp - 0x10]
add edx, 0x2a8
mov esi, 4
nop dword [eax]
movzx eax, byte [edx - 4]
lea edx, [edx + 1]
xor byte [ecx - 4], al
lea ecx, [ecx + 1]
movzx eax, byte [edx - 1]
xor byte [ecx - 1], al
movzx eax, byte [edx + 3]
xor byte [ecx + 3], al
movzx eax, byte [edx + 7]
xor byte [ecx + 7], al
sub esi, 1
jne 0x41fe90
mov ebx, dword [ebp - 0x18]
lea edi, [esi + 9]
lea esi, [ebx + 0x298]
lea eax, [ebp - 0x14]
push eax
call fcn.00420100
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.004200a0
xor eax, eax
nop dword [eax]
movzx ecx, byte [esi + eax - 4]
xor byte [ebp + eax - 0x14], cl
movzx ecx, byte [esi + eax]
xor byte [ebp + eax - 0x10], cl
movzx ecx, byte [esi + eax + 4]
xor byte [ebp + eax - 0xc], cl
movzx ecx, byte [esi + eax + 8]
xor byte [ebp + eax - 8], cl
inc eax
cmp eax, 4
jl 0x41fee0
test edi, edi
je 0x41ff16
lea eax, [ebp - 0x14]
push eax
call fcn.004201a0
sub esi, 0x10
sub edi, 1
jns 0x41fec3
mov ebx, dword [ebp - 0x1c]
xor edx, edx
pop edi
pop esi
nop word [eax + eax]
movzx eax, byte [ebp + edx*4 - 0x14]
movzx ecx, byte [ebp + edx*4 - 0x12]
mov byte [ebx + edx], al
movzx eax, byte [ebp + edx*4 - 0x13]
mov byte [ebx + edx + 8], cl
movzx ecx, byte [ebp + edx*4 - 0x11]
mov byte [ebx + edx + 4], al
mov byte [ebx + edx + 0xc], cl
inc edx
cmp edx, 4
jl 0x41ff30
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004dda5e
mov esp, ebp
pop ebp
ret 4

Function at 0x420300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x624394]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push 0
push eax
mov ebx, edx
mov esi, ecx
call fcn.004e0970
push ebx
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.004e0bc0
add esp, 0x18
xor eax, eax
test ebx, ebx
je 0x42035d
nop word [eax + eax]
xor byte [ebp + eax - 0x404], 0x54
inc eax
cmp eax, ebx
jb 0x420350
lea eax, [ebp - 0x404]
mov ecx, eax
sub edi, ecx
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edi + eax - 1], cl
test cl, cl
jne 0x420367
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004dda5e
mov esp, ebp
pop ebp
ret
Function at 0x420390
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac1cd
mov eax, dword fs:[0]
push eax
sub esp, 0x914
mov eax, dword [0x624394]
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 esi, edx
mov ebx, ecx
mov dword [ebp - 0x818], ebx
push 0x400
lea eax, [ebp - 0x810]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x814], 0
call fcn.004e0970
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004e0970
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push edi
push esi
push eax
call fcn.004e0bc0
add esp, 0x24
xor eax, eax
test edi, edi
je 0x42042d
nop
xor byte [ebp + eax - 0x410], 0x54
inc eax
cmp eax, edi
jb 0x420420
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x410]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x811], al
test al, al
jne 0x420430
mov dword [ebx], 0
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x420460
push 0x80004005
call fcn.004212c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x91c]
mov dword [ebp - 0x920], eax
lea ecx, [ebp - 0x920]
push 3
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], 1
push eax
call fcn.004206f0
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x920]
test edx, edx
jne 0x4204b0
xor ecx, ecx
jmp 0x4204c4
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4204b5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.004211a0
mov eax, dword [ebp - 0x920]
lea ecx, [ebp - 0x91c]
cmp eax, ecx
je 0x4204e6
push eax
call fcn.004e43de
add esp, 4
mov eax, ebx
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.004dda5e
mov esp, ebp
pop ebp
ret
Function at 0x423dd0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac748
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x624394]
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 eax, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0043ae40
push ecx
mov ecx, esp
mov dword [ebp - 4], 0
push str.mainwnd
call fcn.0043ae40
mov dword [ebp - 4], 0xffffffff
call fcn.0043b6e0
add esp, 8
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x423fb0
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], 0
call fcn.00424300
push 0x40
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.004e0970
push 0xa
mov edx, 0x62d970
lea ecx, [ebp - 0x60]
call fcn.00420390
add esp, 0x10
mov esi, eax
mov byte [ebp - 4], 2
mov ebx, 1
mov edi, dword [ebp - 0x54]
mov ecx, ebx
sub ecx, dword [edi - 4]
mov eax, dword [edi - 8]
or eax, ecx
jge 0x423e94
push 0
lea ecx, [ebp - 0x54]
call fcn.00420ff0
mov edi, dword [ebp - 0x54]
mov eax, dword [esi]
sub ebx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ebx
jge 0x423ea9
push 0
mov ecx, esi
call fcn.00420ff0
push edi
push 0x20
lea eax, [ebp - 0x50]
push eax
push 0x61378c
push dword [esi]
push str.xxxzq
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x60]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423ee3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x50]
mov dword [ebp - 0x58], 0
push eax
lea ecx, [ebp - 0x58]
call fcn.0043ae40
mov eax, dword [ebp - 0x58]
mov edx, 0x6132dc
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x423f26
test si, si
je 0x423f22
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x423f26
add ecx, 4
add edx, 4
test si, si
jne 0x423f00
xor ecx, ecx
jmp 0x423f2b
sbb ecx, ecx
or ecx, 1
test ecx, ecx
setne cl
test cl, cl
je 0x423f7a
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_BringWindowToTop]
mov edx, dword [ebp - 0x58]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423f57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x54]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x423f76
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor al, al
jmp 0x423fb2
lea edx, [eax - 0x10]
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x423f91
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x54]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x423fb0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov al, 1
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.004dda5e
mov esp, ebp
pop ebp
ret 8
Function at 0x424250
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push 0x6132e0
lea ecx, [esi + 0x30]
call fcn.0044d3a8
mov ecx, esi
call fcn.004249a0
mov ecx, esi
call fcn.00425040
mov ecx, esi
call fcn.00422c80
mov ecx, dword [esi + 0x47c]
mov eax, 1
sub ecx, 0x10
sub eax, dword [ecx + 0xc]
or eax, dword [ecx + 8]
jge 0x42429a
push 0
lea ecx, [esi + 0x47c]
call fcn.00420ff0
push dword [esi + 0x47c]
push ecx
call fcn.00423dd0
test al, al
jne 0x4242b7
push 1
mov ecx, esi
call fcn.0044b9e7
pop edi
pop esi
pop ebx
ret
push str.text_xx
lea ecx, [esi + 0x30]
call fcn.0044d3a8
push 0
push 0x12c
push 0
push dword [esi + 4]
mov dword [esi + 0x46c], eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push esi
push 0x421940
push 0
push 0
call fcn.004e5bf9
add esp, 0x18
pop edi
pop esi
pop ebx
ret

Function at 0x424300
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac7ed
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x624394]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], esi
mov dword [esi], 0
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x424367
push 0x80004005
call fcn.004212c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x220], 1
call fcn.004e0970
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
push str._sIcons_
push esi
call fcn.00436c10
mov eax, dword [esi]
mov edi, 1
mov ecx, edi
add esp, 0xc
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, ecx
jge 0x4243dc
push 0
mov ecx, esi
call fcn.00420ff0
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp eax, 0x10
je 0x424408
mov eax, dword [esi]
sub edi, dword [eax - 4]
mov eax, dword [eax - 8]
or eax, edi
jge 0x4243fe
push 0
mov ecx, esi
call fcn.00420ff0
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0xa
mov edx, str.757_1z:2_
lea ecx, [ebp - 0x21c]
call fcn.00420390
add esp, 4
mov dword [ebp - 4], 1
mov ecx, esi
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00436820
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edi, dword [ebp - 0x21c]
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x424453
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.004dda5e
mov esp, ebp
pop ebp
ret
Function at 0x432350
Capabilities:
Access peb ldr_data
Check os version
Get process heap force flags
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5adfb9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x624394]
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 ebx, ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], ebx
mov dword [ebx], 0
call fcn.00421560
mov ecx, eax
test ecx, ecx
jne 0x4323af
push 0x80004005
call fcn.004212c0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
pushal
mov ebx, dword fs:[0x18]
mov eax, dword fs:[0x30]
mov ebx, dword [eax + 0xa8]
mov eax, dword [eax + 0xa4]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
popal
cmp dword [ebp - 0x38], 5
jl 0x43245d
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43241f
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x432429
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x34]
cmp ax, 9
je 0x43243e
cmp ax, 6
mov eax, 0x20
jne 0x432443
mov eax, 0x40
mov esi, dword [ebp - 0x40]
push eax
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push str.w_02d_02dx_d
push esi
call fcn.00436c30
add esp, 0x14
jmp 0x432460
mov esi, dword [ebp - 0x40]
mov eax, esi
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.004dda5e
mov esp, ebp
pop ebp
ret
Function at 0x43ac90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x43aca9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43ace6
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x43ace2
nop word [eax + eax]
cmp esi, edx
jae 0x43ace6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x43acd0
cmp esi, edx
jb 0x43aced
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43b2d0
Capabilities:
Extract resource via kernel32 functions
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae7f5
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x624394]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x208
push 0
push eax
call fcn.004e0970
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x43b435
push 0x613790
push 0x82
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43b435
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov edi, eax
call fcn.00451bf8
add esp, 4
push ebx
push edi
call fcn.00451e24
add esp, 8
push 0x538
call fcn.004ddf5d
mov esi, eax
add esp, 4
mov dword [ebp - 0x220], esi
push 0x538
push 0
push esi
mov byte [ebp - 4], 1
call fcn.004e0970
add esp, 0xc
mov ecx, esi
call fcn.00423110
push 0
push bind
push bind
push bind
push bind
push 0x100
push 0x96c80000
mov esi, eax
mov byte [ebp - 4], 0
push 0x61378c
push 0
mov ecx, esi
call fcn.0044ba0d
push 0x6b
mov ecx, esi
mov dword [0x6329c4], esi
call fcn.0044bde6
mov ecx, esi
call fcn.0044b8b9
push 1
mov ecx, esi
call fcn.0044be79
test edi, edi
je 0x43b42f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004dda5e
mov esp, ebp
pop ebp
ret 0x10