joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42805f
Capabilities:
Get hostname
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x457694]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], eax
call fcn.00427a29
test eax, eax
mov dword [ebp - 0x118], eax
je 0x4280a8
push ebx
push esi
xor esi, esi
mov ecx, dword [ebp - 0x114]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x140]
push eax
push esi
call fcn.00427ba0
mov ebx, eax
test ebx, ebx
jne 0x428066
push 0x100
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.0041fa6e
lea eax, [ebp - 0x104]
push eax
push ebx
push esi
push 0xb
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call fcn.00422832
push dword [ebp - 0x10c]
add esi, dword [ebp - 0x140]
call fcn.0044f050
push dword [ebp - 0x108]
and dword [ebp - 0x10c], 0
call fcn.0044f050
and dword [ebp - 0x108], 0
test ebx, ebx
pop ecx
pop ecx
jge 0x428005
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.0044ed62
leave
ret 4

Function at 0x428214
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push ebx
push 0x404084
push 8
push ebx
mov esi, ecx
call fcn.0040fd72
lea eax, [esi + 0x16c]
mov dword [esi], 0x4040c0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 0x3ea
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov dword [esi + 0x134], ebx
mov dword [esi + 0x138], ebx
mov byte [esi + 0x13c], bl
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x148], ebx
mov dword [esi + 0x14c], ebx
mov dword [esi + 0x150], ebx
mov dword [esi + 0x154], ebx
mov dword [esi + 0x158], ebx
mov dword [esi + 0x15c], ebx
mov dword [eax], 0x4020b4
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
call fcn.0043a416
neg eax
push ebx
sbb eax, eax
push ebx
inc eax
push ebx
mov dword [esi + 0xc], eax
mov byte [esi + 0x2c], bl
mov byte [esi + 0xac], bl
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push ebx
push 1
push 0x80000001
mov dword [esi + 0x138], eax
push dword [0x4575dc]
lea ecx, [ebp - 0x1c]
call fcn.0044f3e7
push 1
push 0x4040b4
lea ecx, [ebp - 0x1c]
call fcn.0044f593
neg eax
sbb eax, eax
push 0x1e
neg eax
push 0x4040a8
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x164], eax
call fcn.0044f593
lea ecx, [ebp - 0x1c]
mov dword [esi + 0x168], eax
call fcn.0044f73c
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x428402
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x24], 0
mov dword [ebp - 4], 1
jne 0x4283c7
cmp byte [esi + 0x13c], 0
je 0x4283cd
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
pop esi
leave
ret
push ebx
push dword [esi + 0x28]
lea ebx, [esi + 0xac]
push ebx
call dword [0x45811c]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 0x24], eax
jne 0x42840c
cmp dword [esi + 0x28], 0x3ea
jne 0x42840c
push 0x185
push ebx
call dword [0x45811c]
test eax, eax
pop ecx
pop ecx
mov dword [esi + 0x24], eax
je 0x42840c
mov dword [esi + 0x28], 0x185
mov eax, dword [esi + 0x24]
test eax, eax
pop ebx
je 0x42843a
lea ecx, [ebp - 8]
push ecx
push 4
push eax
mov dword [ebp - 8], 0x1e
call dword [0x458130]
push 0
push 0
push dword [esi + 0x24]
call dword [0x458100]
add esp, 0x18
jmp 0x4283c7
xor eax, eax
jmp 0x4283ca

Function at 0x429db2
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
xor ebx, ebx
mov esi, ecx
cmp dword [esi + 0x5c], ebx
mov dword [ebp - 4], ebx
je 0x429e2c
cmp dword [esi + 0x68], 0x1003
jne 0x429e2c
mov eax, dword [esi + 0x70]
cmp eax, ebx
jbe 0x429dfa
cmp eax, 0x1e
jae 0x429dfa
imul eax, eax, 0x94
push eax
call fcn.0044f05c
pop ecx
mov ecx, dword [esi + 0x64]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
push 0x80000000
lea eax, [ebp - 0x20]
push eax
push dword [esi]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [esi + 0x70]
mov dword [ebp - 0x20], 0x18
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0x94
call dword [sym.imp.WINMM.dll_mixerGetLineControlsA]
test eax, eax
jne 0x429dfa
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
jbe 0x429dfa
push edi
mov edi, dword [ebp - 4]
add edi, 0x24
mov eax, dword [edi - 0x1c]
test eax, 0x20000000
je 0x429dd3
cmp eax, 0x20010002
je 0x429dd3
push edi
call dword [sym.imp.USER32.dll_CharLowerA]
lea ebx, [edi - 0x10]
push ebx
call dword [sym.imp.USER32.dll_CharLowerA]
push dword [0x457308]
push edi
call fcn.00450525
test eax, eax
jne 0x429dea
push dword [0x45730c]
push edi
call fcn.00450525
test eax, eax
jne 0x429dea
push dword [0x457310]
push edi
call fcn.00450525
test eax, eax
jne 0x429dea
push dword [0x457308]
push ebx
call fcn.00450525
test eax, eax
jne 0x429dea
push dword [0x45730c]
push ebx
call fcn.00450525
test eax, eax
jne 0x429dea
push dword [0x457310]
push ebx
call fcn.00450525
test eax, eax
jne 0x429dea
xor ebx, ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
add edi, 0x94
cmp eax, dword [ebp - 0x14]
jb 0x429d4f
jmp 0x429df9
mov dword [esi + 0x74], 1
mov eax, dword [edi - 0x20]
mov dword [esi + 0x78], eax
xor ebx, ebx
pop edi
cmp dword [esi + 0x74], ebx
jne 0x429e19
lea eax, [esi + 0x78]
push eax
xor eax, eax
mov ax, word [esi + 6]
push eax
xor eax, eax
mov ax, word [esi + 4]
push eax
call fcn.00429c16
mov dword [esi + 0x74], eax
cmp dword [ebp - 4], ebx
je 0x429e27
push dword [ebp - 4]
call fcn.0044f050
pop ecx
mov eax, dword [esi + 0x74]
jmp 0x429e2e
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x429efa
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x457694]
push edi
push 6
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
push 0x25
lea edi, [ebp - 0xb0]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], eax
push 0x80000002
lea eax, [ebp - 0xb0]
push eax
push edx
mov dword [ebp - 0xb0], 0x18
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.WINMM.dll_mixerGetLineControlsA]
mov ecx, dword [ebp - 0x94]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
pop edi
call fcn.0044ed62
leave
ret 8

Function at 0x429f43
Capabilities:
Create thread
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x457694]
push edi
push 6
mov dword [ebp - 4], eax
pop ecx
xor eax, eax
push 0x25
lea edi, [ebp - 0xb0]
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x98]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], eax
push 0x80000002
lea eax, [ebp - 0xb0]
push eax
push edx
mov dword [ebp - 0xb0], 0x18
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xa0], 0x94
call dword [sym.imp.WINMM.dll_mixerGetLineControlsA]
mov ecx, dword [ebp - 0x94]
mov dword [esi], ecx
mov ecx, dword [ebp - 4]
pop edi
call fcn.0044ed62
leave
ret 8
Function at 0x435388
Capabilities:
Initialize winsock library

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x458108]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4353bb
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call dword [0x458104]
add esp, 0xc
test eax, eax
je 0x4353bb
push eax
push esi
push dword [ebp + 8]
call dword [0x45810c]
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4353bb
mov eax, dword [esi]
test eax, eax
je 0x4353b3
push eax
call fcn.0045060c
dec eax
dec eax
test eax, eax
jle 0x4353b3
cmp eax, 1
jge 0x4353ae
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push esi
call dword [0x458138]
pop ecx
pop esi
pop ebp
ret 0xc

Function at 0x43574f
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
mov ecx, dword [esi]
push edi
xor edi, edi
cmp ecx, edi
je 0x4356f4
push 1
call fcn.0043516c
mov dword [esi], edi
mov eax, dword [esi + 8]
cmp eax, 1
je 0x43576c
cmp eax, edi
je 0x43576c
push ebx
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x20], eax
je 0x435744
push edi
push 0x1388
push 0x29b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
cmp eax, edi
mov dword [esi + 0x1c], eax
je 0x43573c
push dword [esi + 0x20]
call fcn.0040a460
push dword [esi + 0x20]
call ebx
mov dword [esi + 0x20], edi
mov eax, dword [esi + 8]
cmp eax, 2
jne 0x43575d
push edi
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x24]
call ebx
jmp 0x43576b
cmp eax, 1
je 0x43576b
push 1
mov ecx, esi
call fcn.00434896
pop ebx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x43577d
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 4], edi
push edi
mov dword [esi + 8], edi
call fcn.0041d51c
lea ecx, [esi + 0x48]
call fcn.004500c5
lea ecx, [esi + 0x44]
call fcn.004500c5
lea ecx, [esi + 0x40]
call fcn.004500c5
lea ecx, [esi + 0x3c]
call fcn.004500c5
lea ecx, [esi + 0x38]
call fcn.004500c5
lea ecx, [esi + 0x34]
call fcn.004500c5
lea ecx, [esi + 0x30]
call fcn.004500c5
lea ecx, [esi + 0x2c]
call fcn.004500c5
pop edi
lea ecx, [esi + 0x28]
pop esi
jmp fcn.004500c5
Function at 0x435928
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x457694]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
push edi
mov dword [ebp - 4], eax
mov edi, ecx
jne 0x43589c
lea esi, [ebp - 0x10c]
and dword [ebp - 0x108], 0
test ebx, ebx
je 0x435981
mov eax, dword [ebp + 0xc]
cmp eax, 1
jle 0x435975
mov ecx, dword [edi + 8]
cmp ecx, 9
ja case.default.0x4358c3
jmp dword [ecx*4 + 0x4359a0]
mov ecx, dword [edi + 0xc]
dec ecx
je case.0x4358c3.4
dec ecx
je case.0x4358c3.0
dec ecx
je 0x4358f6
dec ecx
jne case.default.0x4358c3
push eax
push ebx
mov dword [esi], 0x87
push 0x2136
mov ecx, edi
call fcn.004357d5
jmp case.default.0x4358c3
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x30]
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push ecx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push dword [ebp + 0xc]
dec eax
dec eax
mov ecx, edi
push ebx
je 0x435923
mov dword [esi], 0x25e
push 0x2135
jmp 0x4358ec
mov dword [esi], 0x87
push 0x2136
jmp 0x4358ec
push eax
push ebx
mov dword [esi], 0x25e
push 0x2134
jmp 0x4358ea
push eax
push ebx
mov dword [esi], 0x25e
push 0x2135
jmp 0x4358ea
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x2137
mov dword [esi], 0xb9
call fcn.0040dc3e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp case.default.0x4358c3
mov dword [ebp - 0x108], 0x80070057
jmp case.default.0x4358c3
mov dword [ebp - 0x108], 0x80004003
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x108]
pop edi
pop esi
pop ebx
call fcn.0044ed62
leave
ret 0xc
Function at 0x43592a
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x457694]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
push edi
mov dword [ebp - 4], eax
mov edi, ecx
jne 0x43589c
lea esi, [ebp - 0x10c]
and dword [ebp - 0x108], 0
test ebx, ebx
je 0x435981
mov eax, dword [ebp + 0xc]
cmp eax, 1
jle 0x435975
mov ecx, dword [edi + 8]
cmp ecx, 9
ja case.default.0x4358c3
jmp dword [ecx*4 + 0x4359a0]
mov ecx, dword [edi + 0xc]
dec ecx
je case.0x4358c3.4
dec ecx
je case.0x4358c3.0
dec ecx
je 0x4358f6
dec ecx
jne case.default.0x4358c3
push eax
push ebx
mov dword [esi], 0x87
push 0x2136
mov ecx, edi
call fcn.004357d5
jmp case.default.0x4358c3
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x30]
push 0xffffffffffffffff
push eax
push 0xffffffffffffffff
push ecx
push 1
push 0x7f
call dword [sym.imp.KERNEL32.dll_CompareStringA]
push dword [ebp + 0xc]
dec eax
dec eax
mov ecx, edi
push ebx
je 0x435923
mov dword [esi], 0x25e
push 0x2135
jmp 0x4358ec
mov dword [esi], 0x87
push 0x2136
jmp 0x4358ec
push eax
push ebx
mov dword [esi], 0x25e
push 0x2134
jmp 0x4358ea
push eax
push ebx
mov dword [esi], 0x25e
push 0x2135
jmp 0x4358ea
push eax
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0x2137
mov dword [esi], 0xb9
call fcn.0040dc3e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp case.default.0x4358c3
mov dword [ebp - 0x108], 0x80070057
jmp case.default.0x4358c3
mov dword [ebp - 0x108], 0x80004003
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x108]
pop edi
pop esi
pop ebx
call fcn.0044ed62
leave
ret 0xc

Function at 0x435a4e
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
mov dword [esi + 8], 2
call fcn.00434832
movzx eax, al
push eax
call fcn.0041d51c
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x434c28
push ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x24], eax
jne 0x435a47
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
jg 0x435a20
call edi
mov edi, eax
jmp 0x435a30
call edi
mov edi, eax
and edi, 0xffff
or edi, 0x80070000
push dword [esi + 0x10]
call dword [0x458134]
pop ecx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 1
mov ecx, esi
call fcn.00434832
movzx eax, al
push eax
call fcn.0041d51c
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43612d
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 0x14]
push eax
mov edi, ecx
push dword [edi + 0x14]
mov dword [ebp - 0x14], 0x405044
push esi
push 0x404138
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call dword [0x458128]
mov ebx, eax
add esp, 0x18
cmp ebx, 0xffffffff
je 0x436152
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
cmp dword [edi + 0x20], esi
jne 0x436146
cmp dword [ebp - 4], esi
jne 0x436146
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xc], esi
call dword [0x458124]
add esp, 0x14
cmp eax, esi
je 0x43612a
cmp eax, 0xffffffff
jne 0x43615b
mov dword [ebp - 4], 1
jmp 0x43613a
cmp dword [edi + 0x20], esi
jne 0x43613a
push 0xfa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xb4
jb 0x4360ee
push ebx
push dword [ebp + 8]
call dword [0x4580f0]
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x20]
cmp eax, esi
je 0x43617a
cmp eax, 0x20
jne 0x436188
mov ecx, edi
call fcn.004353c5
mov dword [ebp - 4], 1
jmp 0x436188
push dword [ebp + 0xc]
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.0043534d
push dword [ebp - 0xc]
call dword [0x458110]
xor eax, eax
cmp dword [ebp - 4], esi
pop ecx
sete al
jmp 0x436154

Function at 0x436bdc
Capabilities:
Initialize winsock library

Disassembly:
push 0x58
call fcn.0044f05c
test eax, eax
pop ecx
je 0x436bda
mov ecx, eax
call fcn.00434794
jmp 0x436bdc
xor eax, eax
test eax, eax
mov dword [0x45808c], eax
je 0x436c16
push dword [0x45771c]
mov ecx, eax
call fcn.00436aee
test eax, eax
mov ecx, dword [0x45808c]
jl 0x436c04
push 0
call fcn.00436304
ret
test ecx, ecx
je 0x436c0f
push 1
call fcn.004129a7
and dword [0x45808c], 0
ret
Function at 0x43c4c8
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push 0xc0
call fcn.0044f05c
mov esi, eax
xor ebx, ebx
cmp esi, ebx
pop ecx
jne 0x43c454
xor eax, eax
jmp 0x43c512
push edi
lea ecx, [ebp - 0x24]
call fcn.0045312c
lea eax, [ebp - 0x24]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push 0x43bcff
push 0xb9
push esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.0044daff
push ebx
lea ecx, [ebp - 0x10]
push ecx
push 0x43bd68
lea eax, [esi + 0x30]
push 0x6d
push eax
call fcn.0044daff
push ebx
lea ecx, [ebp - 0x10]
push ecx
push 0x43c0fd
lea eax, [esi + 0x60]
push 0x4ea3
push eax
call fcn.0044daff
push ebx
lea ecx, [ebp - 0x10]
push ecx
push 0x43c36e
lea eax, [esi + 0x90]
push 0x6e
push eax
call fcn.0044daff
push 0xd
xor eax, eax
pop ecx
lea edi, [ebp - 0x58]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x58]
push eax
mov dword [ebp - 0x58], 0x34
mov dword [ebp - 0x54], 0xa8
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x38], esi
call dword [sym.imp.COMCTL32.dll_PropertySheetA]
cmp eax, 0xffffffff
pop edi
je 0x43c508
push esi
call fcn.0044f050
xor ebx, ebx
pop ecx
inc ebx
lea ecx, [ebp - 0x24]
call fcn.0045317f
mov eax, ebx
pop esi
pop ebx
leave
ret 4

Function at 0x43c85d
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x43c885
test byte [esi + 0xc], 1
je 0x43c875
cmp dword [esi + 0x14], 0
jne 0x43c875
push dword [esi + 0x24]
push dword [eax + 0x10]
push dword [esi + 0x20]
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
test byte [esi + 0xc], 2
je 0x43c885
cmp dword [esi + 0x14], 0
jne 0x43c885
and dword [esi + 0x28], 0
pop esi
pop ebp
ret 4

Function at 0x43d5c4
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
test esi, esi
mov eax, dword [0x457694]
mov dword [ebp - 4], eax
je 0x43d622
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43d622
mov al, byte [ebp + 8]
push edi
mov word [ebp - 0x10c], 0x30
mov byte [ebp - 0x10c], al
push 0x104
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.0040dbe2
mov edi, eax
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, edi
cmp eax, 0x103
pop edi
ja 0x43d622
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.0040dc05
mov ecx, dword [ebp - 4]
call fcn.0044ed62
leave
ret 4
Function at 0x43ea11
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
mov dword [ebp - 4], ecx
jl 0x43eb08
push edi
xor edi, edi
inc edi
cmp dword [ebp + 0xc], edi
jle 0x43e9e4
cmp dword [ebp + 0xc], 6
jne 0x43eb07
push esi
push 0x1c
call fcn.0044f05c
cmp eax, ebx
pop ecx
je 0x43e9ff
mov ecx, eax
call fcn.0043d257
mov esi, eax
mov dword [ebp - 8], esi
jmp 0x43ea04
mov dword [ebp - 8], ebx
mov esi, ebx
cmp esi, ebx
je 0x43eb06
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
push 0x10000
push eax
mov ecx, esi
call fcn.0045237d
test eax, eax
je 0x43eafd
cmp dword [ebp + 0xc], edi
mov dword [esi + 0x14], 0x8000
mov dword [esi + 0x18], edi
je 0x43ea3f
mov ecx, dword [ebp - 4]
push esi
call fcn.0043e4f9
cmp dword [ebp + 0xc], 6
je 0x43eafd
push ebx
push ebx
push ebx
push ebx
push esi
call fcn.0043db43
mov edi, eax
cmp edi, ebx
je 0x43eafd
mov eax, dword [edi + 0x28]
and eax, 0xfffffffb
or eax, 3
push 0x1c
mov dword [edi + 0x28], eax
call fcn.0044f05c
cmp eax, ebx
pop ecx
je 0x43ea7e
mov ecx, eax
call fcn.0043d899
jmp 0x43ea80
xor eax, eax
cmp eax, ebx
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x54], eax
je 0x43eaa5
push dword [edi + 0x10]
mov ecx, eax
call fcn.0043d30d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x54]
cmp eax, ebx
je 0x43eaa5
mov dword [eax + 0x14], 0x22
cmp dword [ebp + 0xc], 1
je 0x43eae9
push ebx
push ebx
push ebx
push ebx
push edi
call fcn.0043db43
mov esi, eax
cmp esi, ebx
je 0x43eae6
mov eax, dword [ebp - 4]
or dword [esi + 0x28], 8
add eax, 0x38
push eax
push ebx
push 1
push 2
push 0x4059b8
push esi
mov dword [esi + 0x14], 3
call fcn.0043da1a
lea eax, [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 8]
or dword [edi + 0x28], 0x10
lea eax, [edi + 0xc]
mov ecx, dword [eax]
push eax
mov dword [edi + 0x24], 1
call dword [ecx + 8]
lea eax, [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop esi
pop edi
pop ebx
leave
ret 8

Function at 0x4416c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x457694]
push ebx
push esi
push 0
push 0x405c70
push 6
push 0x2331
mov dword [ebp - 4], eax
mov esi, ecx
call fcn.0040fd72
push 0
push 0x208
lea ebx, [esi + 0x24]
push ebx
mov dword [esi], 0x405c80
call fcn.004415f1
test eax, eax
je 0x4416d0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov byte [esi + eax + 0x24], 0x5c
inc eax
mov edx, 0x208
sub edx, eax
push edx
lea ecx, [esi + eax + 0x24]
push 0x405c0c
push ecx
mov dword [esi + 0x22c], ecx
mov dword [esi + 0x230], edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 0x144]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4416d0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [esi + 0xc], 1
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop ebx
call fcn.0044ed62
leave
ret