joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5055a5
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 0x5056bd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x5056bd
mov eax, dword [esi + 0x3c]
push eax
call fcn.0055fd62
mov esi, eax
test esi, esi
je 0x5056bd
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 0x5056bd
mov ecx, esi
call fcn.00505510
cmp edi, eax
jge 0x5056bd
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 0x505643
mov dword [esp + 0x34], 1
jmp 0x50569e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x5056bd
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.00504b10
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 0x50a16d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5721f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edx, dword [esi + 0x40]
test edx, edx
setne bl
inc ebx
test eax, eax
je 0x50a183
or bh, 0x80
lea ecx, [esp + 0xc]
call fcn.00511530
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x28], 0
push ecx
push edx
lea ecx, [esp + 0x14]
call fcn.005118a0
lea eax, [esp + 0xc]
push ebx
push eax
mov ecx, esi
call fcn.0050a1f0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x6e2428
call fcn.00511730
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x50f030
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 0x50f07c
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x50f07c
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x50f066
push eax
call ebp
test ax, ax
jl 0x50f074
inc esi
add edi, 4
cmp esi, 6
jb 0x50f058
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.0050ed30
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x512ee0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x512f40
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x512f40
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x512f40
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x512f40
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 0x512f50
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 0x5176c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x8c
lea eax, [esp]
push esi
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
mov esi, 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x517733
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push str.WheelScrollLines
push ecx
mov dword [esp + 0x20], 0x80
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x517728
push 0xa
lea edx, [esp + 0x14]
push eax
push edx
call fcn.0054e5c8
add esp, 0xc
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x8c
ret
Function at 0x529da0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x5736d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x717ddc]
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], eax
lea ecx, [esp + 8]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xac], ebx
call fcn.0056074d
cmp dword [0x74d0e8], ebx
je 0x529e10
lea ecx, [esp + 8]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0055e221
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
add esp, 0xa4
ret
mov edx, dword [0x717ddc]
push ebp
push edi
mov edi, 1
mov dword [0x74d0e8], edi
mov dword [esp + 0x40], edx
cmp esi, ebx
mov byte [esp + 0xb0], 1
jne 0x529e39
mov dword [esp + 0x20], ebx
jmp 0x529e40
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x20], eax
mov ecx, esi
call fcn.00562897
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x88]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], 5
mov dword [esp + 0x34], edx
call fcn.0055e30e
mov eax, dword [esi + 0x9c]
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x1c], edx
jne 0x529e9e
mov dword [esp + 0x14], ebx
jmp 0x529ea5
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x14], ebp
cmp ecx, 0xd
jne 0x529ebf
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x529eb9
cmp eax, 2
jne 0x529ebf
mov dword [esp + 0x18], edi
jmp 0x529ec3
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x529ed1
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0055fd3b
mov edi, eax
cmp edi, ebx
jne 0x529ee1
xor eax, eax
jmp 0x529ee4
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x529f0c
mov ecx, esi
call fcn.00562897
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov esi, dword [esp + 0x1c]
push esi
call ebx
test eax, eax
je 0x529f24
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x18]
mov dword [0x74d0e8], 0
test eax, eax
je 0x529f4d
mov esi, dword [esp + 0x14]
push esi
call ebx
test eax, eax
je 0x529f4d
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], 0
call fcn.0055e221
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0055e221
mov ecx, dword [esp + 0xa8]
pop edi
pop ebp
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x52be50
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5738c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00564f84
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.0052bd90
mov ecx, dword [esi + 0x174]
mov eax, dword [esi + 0x178]
add ecx, 0x64
add eax, 0x64
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00564eb2
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x52bf17
cmp dword [esp + 0x40], 1
jne 0x52bf15
cmp ecx, eax
jge 0x52bf17
mov eax, ecx
cmp eax, 0x12c
jge 0x52bf23
mov eax, 0x12c
mov ecx, esi
mov dword [esi + 0x194], eax
mov dword [esi + 0x1dc], 1
call fcn.0052bf70
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00564ff6
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x5301f0
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x573db6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
mov eax, dword [0x717ddc]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], eax
lea ecx, [esp + 0xc]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0xb0], ebx
call fcn.0056074d
mov edx, dword [0x717ddc]
mov dword [esp + 0x3c], edx
cmp esi, ebx
mov byte [esp + 0xac], 1
jne 0x53024a
mov dword [esp + 0x1c], ebx
jmp 0x530251
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x1c], eax
push edi
mov ecx, esi
call fcn.00562897
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x40]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x10]
mov edi, 1
mov dword [esp + 0x2c], ecx
push eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x2c], 0xffffff96
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edx
call fcn.0055e30e
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x1c]
cmp eax, ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x1c], ecx
jne 0x5302a2
mov dword [esp + 0x14], ebx
jmp 0x5302a9
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x14], edx
cmp dword [esi + 0x44], 0xd
jne 0x5302c4
mov eax, dword [eax + 0x3c8]
cmp eax, edi
je 0x5302be
cmp eax, 2
jne 0x5302c4
mov dword [esp + 0x18], edi
jmp 0x5302c8
mov dword [esp + 0x18], ebx
mov eax, dword [esi + 0x20]
cmp eax, ebx
jne 0x5302d6
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.0055fd3b
mov edi, eax
cmp edi, ebx
jne 0x5302e6
xor eax, eax
jmp 0x5302e9
mov eax, dword [edi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x530311
mov ecx, esi
call fcn.00562897
mov edx, dword [edi + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push eax
push 0x4e
push edx
call ebp
mov eax, dword [esp + 0x1c]
push eax
call ebx
test eax, eax
pop edi
je 0x53032d
mov ecx, dword [esi + 0x1c]
push 0
push 0
push 0x10
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x53034c
mov esi, dword [esp + 0x10]
push esi
call ebx
test eax, eax
je 0x53034c
push 1
push 0xd
push 0x100
push esi
call ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0xac], 0
call fcn.0055e221
lea ecx, [esp + 0xc]
mov dword [esp + 0xac], 0xffffffff
call fcn.0055e221
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x534ce0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x534e35
cmp di, 0x801
ja 0x534e35
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x534e35
cmp bx, 0xc
ja 0x534e35
mov al, byte [esp + 0x30]
test al, al
je 0x534d34
push edi
call fcn.00535270
add esp, 4
cmp ax, bx
je 0x534d34
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.00534e40
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.00534c60
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x534e35
test ebx, ebx
jne 0x534dc9
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x534e2b
test al, al
je 0x534dbc
push 0xffffffffffffffe1
jmp 0x534dbe
push 0x1f
push ebp
push edi
push esi
call fcn.00534c10
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.00534c10
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.00534e40
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.00534c60
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x534d96
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x5364e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5744b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x74d194
lea ecx, [esp + 4]
call fcn.0055e28f
push 0x713be4
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.0055e28f
push 0x713be0
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.0055e28f
push 0x713bdc
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0055e28f
push 0x713bd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0055e28f
push 0x713bd4
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0055e28f
push 0x713bd0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0055e28f
push 0x713bcc
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.0055e28f
push 0x713bc8
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.0055e28f
push 0x713bc4
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0055e28f
push 0x713bc0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.0055e28f
push 0x713bbc
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.0055e28f
push 0x713bb8
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.0055e28f
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x536610
cmp eax, 0xc
jle 0x536610
mov ecx, dword [esp + 0x48]
push 0x74d194
call fcn.0055e35e
jmp 0x53661e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.0055e30e
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.0055e221
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.0055e221
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.0055e221
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.0055e221
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.0055e221
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.0055e221
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.0055e221
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.0055e221
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.0055e221
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.0055e221
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.0055e221
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.0055e221
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0055e221
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
Function at 0x536d60
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5746c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], method.CWnd.virtual_0
lea ecx, [esi + 0x5dc]
mov dword [esp + 0x18], 3
call fcn.0055e221
lea edi, [esi + 0xbc]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x4dc]
mov byte [esp + 0x18], 8
call fcn.00567089
lea ecx, [edi + 0x4a0]
mov byte [esp + 0x18], 7
call fcn.00567089
lea ecx, [edi + 0x488]
mov byte [esp + 0x18], 6
call fcn.0055e221
lea ecx, [edi + 0x484]
mov byte [esp + 0x18], 5
call fcn.0055e221
lea ecx, [edi + 0x5c]
mov byte [esp + 0x18], 4
call fcn.00533c40
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.0055f015
lea ecx, [esi + 0x80]
mov byte [esp + 0x18], 1
call fcn.00566ec0
lea edi, [esi + 0x48]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 0xd
call fcn.0055e221
lea ecx, [edi + 0x28]
mov byte [esp + 0x18], 0xc
call fcn.0055e221
lea ecx, [edi + 0x24]
mov byte [esp + 0x18], 0xb
call fcn.0055e221
lea ecx, [edi + 0x20]
mov byte [esp + 0x18], 0xa
call fcn.0055e221
lea ecx, [edi + 0x1c]
mov byte [esp + 0x18], 9
call fcn.0055e221
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
call fcn.0055e221
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00560410
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x55f053
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x55f075
cmp dword [edi + 0x3c], 0
jne 0x55f075
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00568d82
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0055f0a2
pop edi
pop esi
pop ebx
ret 8

Function at 0x56074d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x560785
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.0055e67c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0055e654
jmp 0x560791
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x561fc1
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 0x562003
call fcn.00568d82
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x562003
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x561ffa
xor eax, eax
jmp 0x56200b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00562011
pop edi
pop esi
pop ebx
ret 4

Function at 0x569296
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 0x5692c4
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5692e2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005691fc
jmp 0x5692e2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5692e2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005691fc
test edi, edi
mov eax, edi
jne 0x5692cc
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x56bc40
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
xor ebx, ebx
push 1
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call edi
test ax, ax
jge 0x56bc68
or dword [esi + 0x38], 1
or dword [esi + 0x34], 2
jmp 0x56bc79
push 2
call edi
test ax, ax
jge 0x56bc79
or dword [esi + 0x38], 2
or dword [esi + 0x34], 1
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.0055fd3b
cmp dword [esi + 0x30], ebx
jne 0x56bd53
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, 0x100
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0055fd3b
cmp eax, dword [esp + 0x34]
jne 0x56bd53
push 1
push 0x209
push 0x200
lea eax, [esp + 0x20]
push 0
push eax
call edi
test eax, eax
jne 0x56bcef
push 1
push 0x108
push ebx
push eax
lea eax, [esp + 0x24]
push eax
call edi
test eax, eax
je 0x56bd34
mov eax, dword [esp + 0x18]
cmp eax, 0x202
je 0x56bd53
cmp eax, 0x205
je 0x56bd53
cmp eax, 0x201
je 0x56bd53
cmp eax, 0x204
je 0x56bd53
cmp eax, ebx
jne 0x56bd1a
cmp dword [esp + 0x1c], 0x1b
je 0x56bd53
push dword [esp + 0x2c]
lea eax, [esi + 0x20]
push dword [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x30], eax
call ebp
sub eax, dword [esp + 0x10]
cmp eax, dword [0x75c470]
jbe 0x56bd49
mov dword [esi + 0x30], 1
cmp dword [esi + 0x30], 0
je 0x56bcac
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x41afa0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a343b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00496e57
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41b022
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00494b1d
mov eax, dword [eax]
push 0x5af240
push eax
call fcn.004861b4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004970e2
test bl, bl
je 0x41b022
push 0x5af240
lea ecx, [esp + 0xc]
call fcn.00497472
push 0x5b2ddc
lea ecx, [esp + 0xc]
call fcn.00497472
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41b05e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004970e2
jmp 0x41b129
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41b0e2
lea edx, [esp + 0x7c]
push 0x5b2dd8
push edx
call fcn.004861b4
add esp, 8
test eax, eax
je 0x41b0e2
lea eax, [esp + 0x7c]
push 0x5b2dd4
push eax
call fcn.004861b4
add esp, 8
test eax, eax
je 0x41b0e2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41b072
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004970e2
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41b940
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41b9a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc