joyce8/EMBER2024-capa huggingface dataset:
Function at 0x76e505
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 0x14]
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0xc], 0
jmp 0x76e552
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0xc], ecx
jge 0x76e66e
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
and eax, 0x20000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x40000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
and eax, 0x2000000
test eax, eax
je 0x76e5d2
push 0x4000
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0xc]
push ecx
call dword [0x10059118]
jmp 0x76e540
mov edx, dword [ebp - 0x18]
shl edx, 4
mov eax, dword [ebp - 0x14]
lea ecx, [edx + eax*8 + 0x100657e4]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ecx + edx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x4000000
test edx, edx
je 0x76e604
mov eax, dword [ebp - 0x28]
or ah, 2
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0
jne 0x76e644
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x40
test ecx, ecx
je 0x76e62b
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x20], eax
jmp 0x76e644
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x80
test edx, edx
je 0x76e644
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jbe 0x76e669
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0xc]
push ecx
call dword [0x10059040]
jmp 0x76e540
mov esp, ebp
pop ebp
ret
Function at 0x772082
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x7ad8d6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x152d0]
push esi
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 4], eax
je 0x7ad937
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.007ad7b0
xor ecx, ecx
cmp dword [ebp + 0x10], esi
jbe 0x7ad937
push ebx
push edi
mov eax, ecx
and eax, 7
mov dl, byte [ebp + eax - 0xc]
mov eax, dword [ebp + 0xc]
add eax, ecx
movzx edi, byte [eax]
movzx esi, dl
xor esi, edi
mov bl, byte [ebp + esi - 0x10c]
xor bl, dl
xor bl, cl
inc ecx
cmp ecx, dword [ebp + 0x10]
mov byte [eax], bl
jb 0x7ad90c
pop edi
pop ebx
mov ecx, dword [ebp - 4]
pop esi
call fcn.007adad5
leave
ret 0xc
Function at 0x7dfe27
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x7dfe93
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x7dfedc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.007f92d4
add esp, 8
test eax, eax
jne 0x7dfeda
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x7dfede
jmp 0x7dfe8a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x7ec16e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x7ec17e
xor eax, eax
jmp 0x7ec347
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x7ec2ff
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x819eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x7ec187
cmp dword [ebp + 0x10], 0
je 0x7ec341
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x819eac]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x7ec305
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x88313c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov edx, 0x9063c8
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x883167
test cl, cl
je 0x88316d
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x883167
add eax, 2
add edx, 2
test cl, cl
jne 0x88314b
je 0x88316d
xor eax, eax
jmp 0x8831e5
call sub.kernel32.dll_GetCurrentProcessId
cmp ebx, eax
jne 0x883190
push 0x1030
push 0x9063de
push 0x9063cc
push 0
call sub.USER32.DLL_MessageBoxA
xor eax, eax
jmp 0x8831e5
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x8831c7
push 0xfffffffffffffff7
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x8831c7
push 0x1040
push 0x9063f6
push 0x9063e6
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x8831dd
push 0x1010
push 0x90640e
push 0x9063fe
push 0
call sub.USER32.DLL_MessageBoxA
push ebx
call sub.kernel32.dll_CloseHandle
mov al, 1
pop ebx
pop ebp
ret 8
Function at 0x88c49c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
mov edx, 0x9078a4
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x88c4c7
test cl, cl
je 0x88c4cd
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x88c4c7
add eax, 2
add edx, 2
test cl, cl
jne 0x88c4ab
jne 0x88c553
call sub.kernel32.dll_GetCurrentProcessId
cmp ebx, eax
jne 0x88c4f4
mov eax, dword [0x90f7bc]
push 0x30
push 0x9078ba
push 0x9078a8
mov edx, dword [eax]
mov ecx, dword [edx + 0x30]
push ecx
call sub.USER32.DLL_MessageBoxA
jmp 0x88c553
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
je 0x88c531
push 0xfffffffffffffff7
push ebx
call sub.kernel32.dll_TerminateProcess
test eax, eax
je 0x88c531
mov eax, dword [0x90f7bc]
push 0x40
push 0x9078d2
push 0x9078c2
mov edx, dword [eax]
mov ecx, dword [edx + 0x30]
push ecx
call sub.USER32.DLL_MessageBoxA
jmp 0x88c54d
mov eax, dword [0x90f7bc]
push 0x10
push 0x9078ea
push 0x9078da
mov edx, dword [eax]
mov ecx, dword [edx + 0x30]
push ecx
call sub.USER32.DLL_MessageBoxA
push ebx
call sub.kernel32.dll_CloseHandle
pop ebx
pop ebp
ret 8

Function at 0x88c558
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
mov edx, 0x9078f2
add esp, 0xfffffea0
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x88c585
test cl, cl
je 0x88c58b
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x88c585
add eax, 2
add edx, 2
test cl, cl
jne 0x88c569
je 0x88c58b
xor eax, eax
jmp 0x88c5c3
push 0x160
push 0
lea edx, [ebp - 0x160]
push edx
call fcn.008e2d24
add esp, 0xc
lea ecx, [ebp - 0x160]
push 0x101
push 0x160
push ecx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.shell32.dll_SHGetFileInfo
mov eax, dword [ebp - 0x160]
mov esp, ebp
pop ebp
ret 8
Function at 0x88c924
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edx, 0x907951
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x88c955
test cl, cl
je 0x88c95e
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x88c955
add eax, 2
add edx, 2
test cl, cl
jne 0x88c939
je 0x88c95e
xor eax, eax
jmp 0x88ca4d
call sub.kernel32.dll_GetCurrentProcessId
cmp ebx, eax
jne 0x88c990
mov edx, dword [0x90f7bc]
push 0x24
push 0x9079a7
push 0x907957
mov ecx, dword [edx]
mov eax, dword [ecx + 0x30]
push eax
call sub.USER32.DLL_MessageBoxA
cmp eax, 6
je 0x88c990
xor eax, eax
jmp 0x88ca4d
test ebx, ebx
jne 0x88c99b
xor eax, eax
jmp 0x88ca4d
test edi, edi
jne 0x88c9a6
xor eax, eax
jmp 0x88ca4d
push ebx
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov ebx, eax
test ebx, ebx
jne 0x88c9c0
xor eax, eax
jmp 0x88ca4d
push 0x9079af
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x88c9da
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
jmp 0x88ca4d
push 0x9079bc
push esi
call sub.kernel32.dll_GetProcAddress
mov dword [0x90ff7c], eax
cmp dword [0x90ff7c], 0
jne 0x88ca03
push ebx
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_FreeLibrary
xor eax, eax
jmp 0x88ca4d
lea edx, [ebp - 4]
mov ecx, dword [0x90ff7c]
push edx
push 0
push edi
push ecx
push 0
push 0
push ebx
call sub.kernel32.dll_CreateRemoteThread
mov edi, eax
test edi, edi
jne 0x88ca31
push ebx
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_FreeLibrary
xor eax, eax
jmp 0x88ca4d
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle
push ebx
call sub.kernel32.dll_CloseHandle
push esi
call sub.kernel32.dll_FreeLibrary
mov al, 1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc

Function at 0x88dbf4
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 0x88db40
call sub.USER32.DLL_EnumWindows
ret

Function at 0x88dd18
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 0x88dd95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0088d764
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 0x88dd3d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0088d3bc
cmp dword [ebp - 4], 0
je 0x88dd7f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.008e0394
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 0x88dd9c
lea eax, [ebp - 4]
call fcn.008dfee4
ret
Function at 0x8918c0
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.008dfee4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x89190f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.008e014c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x897bbc
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 0x897bc2
ret

Function at 0x89a04c
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 0x89a09d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x89a084
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x89a074
jmp 0x89a09d
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 0x89a085
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x8a1488
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x8a14d8]
test si, 4
je 0x8a149c
or bl, 1
test si, 8
je 0x8a14a6
or bl, 4
test si, 1
je 0x8a14b0
or bl, 8
test si, 2
je 0x8a14ba
or bl, 0x10
test si, 0x10
je 0x8a14c4
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x8a14d3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x8a14dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x8a1514]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x8a14f5
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x8a1504
or bl, 4
test esi, 0x20000000
je 0x8a150f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x8a7e50
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x8a7e62
add esp, 0xfffffff0
call fcn.008df6fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.008ca104
mov eax, dword [0x90f844]
mov dword [eax + 4], ebx
mov dword [eax], 0x8a81f4
mov eax, dword [0x90f848]
mov dword [eax + 4], ebx
mov dword [eax], 0x8a8200
mov eax, ebx
call fcn.008a820c
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x8bef48]
call fcn.008df380
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x8bef48]
call fcn.008df380
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x8bef48]
call fcn.008df380
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x8bef48]
call fcn.008df380
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x8bef48]
call fcn.008df380
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, 0x8a46d4
push eax
push 0
push 0
mov eax, dword [0x90f830]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x8972c0]
call fcn.00898704
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x8972c0]
call fcn.00898704
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x8972c0]
call fcn.00898704
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.008a862c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x8a8508
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x8a8508
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x8a8508
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x8a7f9f
call fcn.008df754
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x8a82ec
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 0x8a8497
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x8a8478
mov dl, 1
mov eax, dword [0x8bf478]
call fcn.008df380
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.008dfee4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x8a8467
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.008bc1d0
test al, al
je 0x8a845a
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, 0x8a84a8
lea eax, [ebp - 0x254]
call fcn.008ce510
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x8a845a
xor eax, eax
push ebp
push 0x8a8453
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x8a84e0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x8a843c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.008e014c
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 0x8a843c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.008e014c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8a845a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x8a835d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.008c3898
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 0x8a849e
lea eax, [ebp - 0x260]
call fcn.008dfee4
ret

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

Disassembly:
push ecx
mov eax, dword [0x910014]
cmp byte [eax + 0xa5], 0
jne 0x8a8e3d
cmp dword [0x91002c], 0
jne 0x8a8dfe
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x8a8d88
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x91002c], eax
cmp dword [0x910028], 0
jne 0x8a8e19
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x910028], eax
cmp dword [0x910030], 0
jne 0x8a8e3d
push esp
push 0
push 0
push 0x8a8d2c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x910030], eax
pop edx
ret
Function at 0x8a8f34
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x8a8f4b
add esp, 0xfffffff0
call fcn.008df6fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.008ca104
mov eax, dword [0x90f84c]
cmp word [eax + 2], 0
jne 0x8a8f73
mov eax, dword [0x90f84c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.008aa3e4
mov eax, dword [0x90f850]
cmp word [eax + 2], 0
jne 0x8a8f8d
mov eax, dword [0x90f850]
mov dword [eax + 4], ebx
mov dword [eax], fcn.008aa5dc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x8bef48]
call fcn.008df380
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x8bef48]
call fcn.008df380
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], 0x80000018
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 [0x897a70]
call fcn.0089d704
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x8a9114
mov eax, dword [0x90fa88]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0089dad4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x8aab4c
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x90fa88]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA
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.008d1b08
test eax, eax
je 0x8a9082
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.008cde6c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.008d1b30
test eax, eax
je 0x8a9096
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, 0x100
call fcn.008e014c
mov eax, dword [0x90fa90]
cmp byte [eax], 0
jne 0x8a90ca
mov eax, ebx
call fcn.008a923c
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.008aad28
mov eax, ebx
call fcn.008ab6d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x8a910a
call fcn.008df754
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret