joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461887
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x24]
je 0x4609df
shl si, cl
bsf si, bx
neg dl
mov esi, dword [eax + 0x3c]
sub dh, ch
shl dx, 5
bsf dx, bp
add esi, eax
pushfd
shr dx, 1
mov edx, dword [esi + 0x78]
jmp 0x46102f
bt ecx, edi
bt ax, 6
test edx, edx
call fcn.00432049
push esp
push 0x72702065
outsd dx, dword [esi]
arpl word [ebp + 0x64], sp
jne 0x4610bc
and byte gs:[ebp + 0x6e], ah
je 0x4610c2
jns 0x461072
jo 0x4610c3
imul ebp, dword [esi + 0x74], 0x20732520
arpl word [edi + 0x75], bp
insb byte es:[edi], dx
and byte fs:[esi + 0x6f], ch
je 0x461085
bound esp, qword [ebp + 0x20]
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [ecx + 0x74], sp
and byte fs:[ecx + 0x6e], ch
and byte [eax + ebp*2 + 0x65], dh
and byte [ecx + edi*2 + 0x6e], ah
popal
insd dword es:[edi], dx
imul esp, dword [ebx + 0x20], 0x6b6e696c
and byte [ecx + ebp*2 + 0x62], ch
jb 0x4610ea
imul esp, dword [edx + 0x72], 0x20797261
and eax, 0x34880073
jb 0x461104
and byte [0x34880073], ah
and al, 0xf6
les esp, [edi - 0x80]
aas
and ebp, eax
push ds
dec esi
add byte [eax], al
cmpsb byte [esi], byte es:[edi]
fst dword fs:[ebx - 0x2fdf61e8]
test dword [ebx + 0x6651fb6a], ebx
xor edi, dword [ebx - 0x60]
movzx bp, bl
add ax, 0xa41c
mov dword [esp], edx
not bp
lahf
seto al
push edx
shr bp, 1
sub bp, 0xa227
aaa
lea ebp, [esp + 0x1c]
daa
and al, 0x6a
mov eax, dword [ebp]
pushal
pushfd
test eax, eax
jmp 0x460f0a
Function at 0x402f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x46f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403028
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403008
xor eax, eax
push ebp
push 0x403001
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403044
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403008
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x46f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x46f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403d7c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47104c], 0
je 0x403ddd
cmp word [0x471220], 0xd7b2
jne 0x403da5
cmp dword [0x471228], 0
jbe 0x403da5
mov eax, 0x47121c
call dword [0x471238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403e04
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x46f030], 0
jne 0x403df9
push 0
push 0x46f064
push 0x46f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405518
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40563c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40548f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40563c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40548f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405658
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405518
xor eax, eax
push ebp
push 0x405511
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405254
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405678
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054f6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405518
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405632
cmp byte [ebp - 0xd], 0
jne 0x40555f
cmp byte [ebp - 0x12], 0
je 0x405632
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405578
dec ebx
cmp byte [ebx], 0x2e
je 0x405587
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405577
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405632
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4055c4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405632
cmp byte [ebp - 0xd], 0
je 0x405632
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405632
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405d4c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405db2
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404168
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b54
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405d9c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405db9
lea eax, [ebp - 0x10]
call fcn.00403ef8
ret

Function at 0x40b0d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b109
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fe8
jmp 0x40b112
mov eax, ebx
mov edx, esi
call fcn.00403f4c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b11c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b13d
mov al, byte [esp]
jmp 0x40b13f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b7c4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b63c
mov eax, dword [0x470a14]
cmp byte [eax], 0
je 0x40b840
mov eax, dword [0x470810]
call fcn.004029c0
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408824
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b888
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b876
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4707bc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x471668]
call fcn.00405218
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c148
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c21e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f90
lea eax, [ebp - 8]
call fcn.00404408
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043b8
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c208
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c201
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043b8
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c1eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c230
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c1eb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c208
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c225
lea eax, [ebp - 8]
call fcn.00403ef8
ret

Function at 0x40c728
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c78c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404168
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004082bc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c793
lea eax, [ebp - 0xc]
call fcn.00403ef8
ret

Function at 0x41da28
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47188c
cmp dword [edi], 0
jne 0x41daa4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x471888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46f408
mov ecx, 2
call fcn.004028c8
mov edx, 0x41da00
lea eax, [esi + 5]
call fcn.0041da20
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041da20
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41da79
mov dword [0x471888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41ef48
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ef4e
ret
Function at 0x42139c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4213ed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4213d4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4213c4
jmp 0x4213ed
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4213d5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c418
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42c364
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42c5b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042bf98
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42c55d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042bb98
cmp dword [ebp - 4], 0
je 0x42c59f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004043b8
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c5bc
lea eax, [ebp - 4]
call fcn.00403ef8
ret

Function at 0x42fa88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42fad8]
test si, 4
je 0x42fa9c
or bl, 1
test si, 8
je 0x42faa6
or bl, 4
test si, 1
je 0x42fab0
or bl, 8
test si, 2
je 0x42faba
or bl, 0x10
test si, 0x10
je 0x42fac4
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42fad3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x42fadc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42fb14]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42faf5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42fb04
or bl, 4
test esi, 0x20000000
je 0x42fb0f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4361bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4361ce
add esp, 0xfffffff0
call fcn.00403444
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c998
mov eax, dword [0x4707c4]
mov dword [eax + 4], ebx
mov dword [eax], 0x436560
mov eax, dword [0x4707d0]
mov dword [eax + 4], ebx
mov dword [eax], 0x43656c
mov eax, ebx
call fcn.00436578
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414c00]
call fcn.004030f0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414c00]
call fcn.004030f0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414c00]
call fcn.004030f0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414c00]
call fcn.004030f0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414c00]
call fcn.004030f0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x432994
push eax
push 0
push 0
mov eax, dword [0x470928]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e3f4]
call fcn.0041fa90
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e3f4]
call fcn.0041fa90
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e3f4]
call fcn.0041fa90
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00436998
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x436874
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x436874
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x436874
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43630b
call fcn.0040349c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x436658
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x436803
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4367e4
mov dl, 1
mov eax, dword [0x41501c]
call fcn.004030f0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403ef8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4367d3
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00451a24
test al, al
je 0x4367c6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x436814
lea eax, [ebp - 0x254]
call fcn.00408e80
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4367c6
xor eax, eax
push ebp
push 0x4367bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x43684c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4367a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404168
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4367a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4367c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4366c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418b34
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43680a
lea eax, [ebp - 0x260]
call fcn.00403ef8
ret

Function at 0x437138
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x471b1c]
cmp byte [eax + 0xa5], 0
jne 0x4371a9
cmp dword [0x471b34], 0
jne 0x43716a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4370f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x471b34], eax
cmp dword [0x471b30], 0
jne 0x437185
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x471b30], eax
cmp dword [0x471b38], 0
jne 0x4371a9
push esp
push 0
push 0
push 0x437098
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x471b38], eax
pop edx
ret
Function at 0x4372a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4372b7
add esp, 0xfffffff0
call fcn.00403444
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c998
mov eax, dword [0x470914]
cmp word [eax + 2], 0
jne 0x4372df
mov eax, dword [0x470914]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004387f4
mov eax, dword [0x4709c4]
cmp word [eax + 2], 0
jne 0x4372f9
mov eax, dword [0x4709c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004389ec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414c00]
call fcn.004030f0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414c00]
call fcn.004030f0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41edfc]
call fcn.0042624c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x437480
mov eax, dword [0x47082c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042661c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x438f8c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47082c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c6c0
test eax, eax
je 0x4373ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408860
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c6e8
test eax, eax
je 0x437402
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404168
mov eax, dword [0x470708]
cmp byte [eax], 0
jne 0x437436
mov eax, ebx
call fcn.004375a8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00439168
mov eax, ebx
call fcn.00439b2c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x437476
call fcn.0040349c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437828
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x471b1c]
cmp dword [eax + 0x30], 0
je 0x4378d2
cmp dword [ebx + 0x94], 0
jne 0x4378cc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4377b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4378cc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x437892
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4378cc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00416f68
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4378a1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x438434
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x438469
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403fe8
jmp 0x438476
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403f4c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x439344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x439385
mov eax, esi
call fcn.0044d22c
test al, al
je 0x439385
mov eax, dword [ebx + 0x84]
call fcn.0044cfcc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x439385
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044cfcc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x43c2a0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403ef8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c2ef
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404168
pop ebx
mov esp, ebp
pop ebp
ret