joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4088d8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40892a
test eax, edx
je 0x40892d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4088ed
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408913
add ecx, 4
js 0x408903
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408910
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408939
test edx, edx
jne 0x4088e0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4092e8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404f24
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409306
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x409327
cmp ebx, 3
je 0x409327
cmp ebx, 0x7b
je 0x409327
mov eax, esi
call fcn.004092a8
test al, al
jne 0x40932b
xor eax, eax
jmp 0x40932d
mov al, 1
pop esi
pop ebx
ret

Function at 0x409330
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404f24
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409349
test al, 0x10
jne 0x40934d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4094a4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404f24
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4094c6
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x40c870
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 0x40c8a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b84
jmp 0x40c8b2
mov eax, ebx
mov edx, esi
call fcn.00404ae8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c8bc
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 0x40c8de
movzx eax, byte [esp]
jmp 0x40c8e0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40cf70
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cde8
mov eax, dword [0x4692cc]
cmp byte [eax], 0
je 0x40cfec
mov eax, dword [0x4690dc]
call fcn.00403424
call fcn.00402fdc
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.0040990c
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 0x40d034
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d022
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x469080]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x46c7f8]
call fcn.00405ec0
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 0x40d8f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d9ca
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404b2c
lea eax, [ebp - 4]
call fcn.00404f7c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d9b4
mov eax, ebx
call fcn.00402e80
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d9ad
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 - 4]
call fcn.00404f24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d997
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d9dc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d997
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9b4
mov eax, dword [ebp - 0x10]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9d1
lea eax, [ebp - 4]
call fcn.00404a94
ret
Function at 0x41f88c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x46e9ec
cmp dword [edi], 0
jne 0x41f908
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x46e9e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x466ae8
mov ecx, 2
call fcn.004030d4
mov edx, 0x41f864
lea eax, [esi + 5]
call fcn.0041f884
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f884
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 0x41f8dd
mov dword [0x46e9e8], 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 0x41fb2c
Capabilities:
Encode data using xor

Disassembly:
shr edx, 2
test edx, edx
jb 0x41fb41
inc edx
xor ecx, ecx
xor dword [eax + ecx*4], 0x3ca23903
inc ecx
dec edx
jne 0x41fb36
ret

Function at 0x41fb44
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f14
xor eax, eax
push ebp
push 0x41fbcb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
mov eax, dword [ebp - 4]
call fcn.00404f24
push eax
push ebx
call sub.kernel32.dll_FindResourceA
mov esi, eax
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 8]
call fcn.0040c824
push esi
push ebx
call sub.kernel32.dll_LoadResource
mov edi, eax
push edi
call sub.kernel32.dll_LockResource
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
push esi
push ebx
call sub.kernel32.dll_SizeofResource
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fbd2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ab8
ret
Function at 0x424b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f24
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x424b68
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4693f4]
mov dl, 1
mov eax, dword [0x4244f8]
call fcn.0040d130
call fcn.004044c0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00424600
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425bb4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x104], edx
mov esi, eax
xor eax, eax
push ebp
push 0x425c84
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00404a94
push esi
mov esi, 0x425c94
lea edi, [ebp - 0x100]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
mov edx, 1
lea eax, [ebp - 0xff]
mov ecx, 0x425ca8
movzx ecx, byte [ecx + edx - 1]
mov ebx, 0x425cbc
movzx ebx, byte [ebx + edx - 1]
xor ecx, ebx
mov byte [eax], cl
inc edx
inc eax
cmp edx, 0xb
jne 0x425bfc
mov edx, 1
lea eax, [ebp - 0xff]
movzx ecx, byte [eax]
mov ebx, 0x425cd0
movzx ebx, byte [ebx + edx - 1]
xor cl, bl
mov byte [eax], cl
inc edx
inc eax
cmp edx, 0xb
jne 0x425c26
push 0x425cd0
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
call fcn.00404cf8
push dword [ebp - 0x104]
push 0x425ca8
mov eax, esi
mov edx, 3
call fcn.00404e28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425c8b
lea eax, [ebp - 0x104]
call fcn.00404a94
ret

Function at 0x425f48
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
push edx
push ecx
mov edx, dword [edx]
mov ecx, dword [ecx]
mov ebx, 0
mov esi, 0
mov edi, dword [0x466fac]
shl edi, 2
add eax, 4
xor ecx, dword [esi + eax]
ror ecx, 0x10
mov bl, ch
mov ebp, dword [eax + ebx*4 + 0x88]
mov bl, cl
add ebp, dword [eax + ebx*4 + 0x488]
rol ecx, 0x10
mov bl, ch
xor ebp, dword [eax + ebx*4 + 0x888]
mov bl, cl
add ebp, dword [eax + ebx*4 + 0xc88]
xor edx, ebp
xchg ecx, edx
add esi, 4
cmp esi, edi
jne 0x425f68
xchg ecx, edx
xor edx, dword [esi + eax]
xor ecx, dword [eax + esi + 4]
mov ebx, ecx
pop ecx
mov dword [ecx], ebx
mov ebx, edx
pop edx
mov dword [edx], ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x425fbc
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edx
push ecx
mov edx, dword [edx]
mov ecx, dword [ecx]
mov ebx, 0
mov esi, dword [0x466fac]
inc esi
shl esi, 2
add eax, 4
xor ecx, dword [esi + eax]
ror ecx, 0x10
mov bl, ch
mov ebp, dword [eax + ebx*4 + 0x88]
mov bl, cl
add ebp, dword [eax + ebx*4 + 0x488]
rol ecx, 0x10
mov bl, ch
xor ebp, dword [eax + ebx*4 + 0x888]
mov bl, cl
add ebp, dword [eax + ebx*4 + 0xc88]
xor edx, ebp
xchg ecx, edx
sub esi, 4
cmp esi, 4
jne 0x425fd7
xchg ecx, edx
xor edx, dword [eax + 4]
xor ecx, dword [eax]
mov ebx, ecx
pop ecx
mov dword [ecx], ebx
mov ebx, edx
pop edx
mov dword [edx], ebx
pop esi
pop ebx
pop ebp
ret

Function at 0x426028
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x426040
add esp, 0xfffffff0
call fcn.00403f70
mov edi, ecx
mov byte [ebp - 5], dl
mov esi, eax
xor eax, eax
push ebp
push 0x426129
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00403c34
push esi
push edi
lea edi, [esi + 4]
mov esi, 0x466fb0
mov ecx, 0x422
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov ebx, edi
test ebx, ebx
je 0x42607c
sub ebx, 4
mov ebx, dword [ebx]
mov eax, edi
call fcn.00404f24
mov edx, eax
mov ecx, ebx
mov eax, esi
call fcn.00426174
mov byte [esi + 0x1090], al
cmp byte [esi + 0x1090], 0
jne 0x42610b
mov bl, 0x41
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404c7c
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, edi
call fcn.00404dac
jmp 0x4260ec
cmp bl, 0x5a
jne 0x4260d3
mov ecx, 0x426158
mov dl, 1
mov eax, dword [0x407ac0]
call fcn.0040d038
call fcn.004044c0
inc ebx
mov edi, dword [ebp - 4]
test edi, edi
je 0x4260e0
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 4]
call fcn.00404f84
mov byte [eax + edi - 1], bl
mov eax, dword [ebp - 4]
call fcn.00404d54
push eax
mov eax, dword [ebp - 4]
call fcn.00404f24
mov edx, eax
mov eax, esi
pop ecx
call fcn.00426174
test al, al
je 0x4260b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426130
lea eax, [ebp - 0xc]
call fcn.00404a94
lea eax, [ebp - 4]
call fcn.00404a94
ret

Function at 0x42667c
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push pe_nt_image_headers32
mov eax, 0x46fac0
mov ecx, 1
mov edx, dword [0x426650]
call fcn.00405dd8
add esp, 4
xor ecx, ecx
movzx eax, cx
add eax, eax
mov dx, 0xfff7
test al, 1
je 0x4266b2
shr eax, 1
xor eax, 0xedb88320
jmp 0x4266b4
shr eax, 1
inc dx
jne 0x4266a5
movzx edx, cx
mov ebx, dword [0x46fac0]
mov dword [ebx + edx*4], eax
inc ecx
cmp cx, 0x100
jne 0x42669c
pop ebx
ret

Function at 0x429314
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 0x42931a
ret
Function at 0x43368c
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.00404a94
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4336da
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.00404d04
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4387bc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4388ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x424558]
call fcn.00424628
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4388c5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.004246c8
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404d04
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x438904
call fcn.00404dac
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00424850
lea ecx, [ebp - 4]
mov edx, 0x438940
mov eax, dword [ebp - 0xc]
call fcn.00424a98
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040ed54
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4388a8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43894c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x468924]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4388af
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x43899c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4389e3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4389c6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4389d7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4389e3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43d4d4
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 [0x46fd14], 0
je 0x43d61d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x469264]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43d61d
mov eax, dword [0x46fd18]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x46fd14]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43d5ec
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x46fd14]
call fcn.00418908
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43d5e4
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x43d5e4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43d5e4
mov eax, dword [ebp - 0x14]
call fcn.00447b90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43d5e4
push ebp
call fcn.0043d490
pop ecx
test al, al
jne 0x43d5e4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403e60
test al, al
je 0x43d5e4
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, 0xffbc
call fcn.00403e60
cmp byte [ebp - 1], 0
je 0x43d5e4
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43d5e4
mov edx, dword [ebp - 0x14]
mov eax, dword [0x46fd18]
call fcn.0043cc00
inc edi
dec ebx
jne 0x43d539
mov eax, dword [0x46fd18]
cmp dword [eax + 8], 0
jle 0x43d604
mov eax, dword [0x46fd18]
call fcn.0043ccb8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43d61d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043d2f4
pop ecx
test al, al
jne 0x43d61d
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 0x444a64
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406b88
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043f85c
test ebx, ebx
jne 0x444ab7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004449a0
mov ebx, eax
test ebx, ebx
je 0x444ba2
cmp esi, ebx
je 0x444ae0
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x444af5
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x444b2d
add eax, 0xffffff5f
sub eax, 2
jb 0x444b45
dec eax
sub eax, 2
jb 0x444b59
dec eax
sub eax, 2
jb 0x444b4f
jmp 0x444b63
add eax, 0xfffffdff
sub eax, 2
jb 0x444b45
dec eax
sub eax, 2
jb 0x444b59
dec eax
sub eax, 2
jb 0x444b4f
jmp 0x444b63
mov byte [esp + 0x120], 0
jmp 0x444b6b
mov byte [esp + 0x120], 2
jmp 0x444b6b
mov byte [esp + 0x120], 1
jmp 0x444b6b
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0045336c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00440fcc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x444ba4
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x44ccf8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4693e8]
cmp byte [eax + 0xc], 0
je 0x44ce65
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44ce5e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46fd24], 0
jne 0x44cd4c
push 0x44ce6c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44ce74
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd24], eax
cmp dword [0x468a6c], 0
jne 0x44ce47
push 0x44ce84
call sub.kernel32.dll_LoadLibraryA
mov dword [0x468a6c], eax
cmp dword [0x468a6c], 0
je 0x44ce47
push 0x44ce90
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd28], eax
push 0x44cea0
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd2c], eax
push 0x44ceb4
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd30], eax
push 0x44cecc
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd34], eax
push 0x44cee4
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd38], eax
push 0x44cef8
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd3c], eax
push 0x44cf10
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd40], eax
push 0x44cf28
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd44], eax
push 0x44cf44
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd48], eax
push 0x44cf50
mov eax, dword [0x468a6c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46fd4c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ce65
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x452eb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x452ed1
test edi, 0x40000
je 0x452eeb
test bl, bl
jne 0x452f6c
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x452f6c
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x452f1e
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x452f33
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x452f42
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x452f53
cmp byte [esp + 2], 0
je 0x452f6c
cmp byte [esp + 2], 0
je 0x452f64
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x452f6c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret