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

Disassembly:
cmp eax, edx
je 0x40962e
test eax, edx
je 0x409631
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4095f1
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 0x409617
add ecx, 4
js 0x409607
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x409614
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 0x40963d
test edx, edx
jne 0x4095e4
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040581c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409eb5
test al, 0x10
je 0x409eb9
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c930
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
add bh, bh
invalid
call dword [ebx + 0x56]
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 0x40c969
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040547c
jmp 0x40c972
mov eax, ebx
mov edx, esi
call fcn.004053e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c97c
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 0x40c99e
movzx eax, byte [esp]
jmp 0x40c9a0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d030
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cea8
mov eax, dword [0x651ecc]
cmp byte [eax], 0
je 0x40d0ac
mov eax, dword [0x651b30]
call fcn.00403850
call fcn.00403024
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.0040a064
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 0x40d0f4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40d0e2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x651aa4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x6557f8]
call fcn.00406974
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 0x40d9a0
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 0x40da76
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405424
lea eax, [ebp - 4]
call fcn.00405874
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40da60
mov eax, ebx
call fcn.00402ec8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40da59
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.0040581c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40da43
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40da88
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40da43
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 0x40da60
mov eax, dword [ebp - 0x10]
call fcn.00402ee4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40da7d
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x41f8d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6579ec
cmp dword [edi], 0
jne 0x41f94c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x6579e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48bb0c
mov ecx, 2
call fcn.00403168
mov edx, 0x41f8a8
lea eax, [esi + 5]
call fcn.0041f8c8
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f8c8
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 0x41f921
mov dword [0x6579e8], 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 0x41fb28
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41fd59
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
cmp byte [ebp + eax - 0x109], 0x5c
je 0x41fb82
mov byte [ebp + eax - 0x108], 0x5c
mov byte [ebp + eax - 0x107], 0
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004055fc
mov edx, dword [ebp - 0x10c]
lea eax, [ebp - 4]
mov ecx, 0x41fd70
call fcn.004056a4
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov ebx, eax
test ebx, ebx
je 0x41fbd3
push 0x41fd80
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6579f0], eax
push 0
push 0
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004055fc
lea eax, [ebp - 0x110]
mov edx, 0x41fda4
call fcn.00405658
mov eax, dword [ebp - 0x110]
call fcn.0040581c
push eax
call sub.kernel32.dll_LoadLibraryExA_1
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x108]
mov ecx, 0x104
call fcn.004055fc
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 4]
mov ecx, 0x41fdb8
call fcn.004056a4
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040581c
push eax
call sub.kernel32.dll_LoadLibraryExA_1
mov ebx, eax
test ebx, ebx
je 0x41fd33
push 0x41fdc4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6579f4], eax
push 0x41fdd8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6579f8], eax
push 0x41fde8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a24], eax
push 0x41fdf8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a28], eax
push 0x41fe0c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x6579fc], eax
push 0x41fe20
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a00], eax
push 0x41fe34
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a04], eax
push 0x41fe44
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a08], eax
push 0x41fe58
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a0c], eax
push 0x41fe6c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a10], eax
push 0x41fe80
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a14], eax
push 0x41fe94
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a18], eax
push 0x41feac
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a1c], eax
push 0x41fec8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x657a20], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41fd60
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.004053b0
lea eax, [ebp - 4]
call fcn.0040538c
ret
Function at 0x4200cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x37], 0
jne 0x4200df
cmp dword [esi + 0x2b], 0
je 0x4200ed
mov dword [esi + 8], 0x1002
xor esi, esi
jmp 0x420173
mov dword [esi + 8], 0
push 0xa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call sub.kernel32.dll_FindResourceA
or eax, eax
jne 0x420110
mov dword [esi + 8], 0x3001
xor esi, esi
jmp 0x420173
push eax
push eax
push dword [ebp + 0xc]
call sub.kernel32.dll_LoadResource
pop ecx
or eax, eax
jne 0x42012a
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x420173
mov dword [esi + 0x13], eax
mov dword [esi + 0x1b], eax
push ecx
push dword [ebp + 0xc]
call sub.kernel32.dll_SizeofResource
or eax, eax
jne 0x420148
mov dword [esi + 8], 0x3002
xor esi, esi
jmp 0x420173
mov dword [esi + 0x17], eax
mov dword [esi + 0x2b], 2
push esi
call fcn.004219bc
or eax, eax
jne 0x420167
mov dword [esi + 0x2b], 0
xor esi, esi
jmp 0x420173
mov dword [esi + 0x37], 1
mov esi, 1
mov eax, esi
pop esi
leave
ret 0xc

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

Disassembly:
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x422d53
test al, 0x10
jne 0x422d56
xor eax, eax
ret
mov al, 1
ret

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

Disassembly:
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x422d87
test al, 0x10
je 0x422d8a
xor eax, eax
ret
mov al, 1
ret

Function at 0x422e98
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push esp
push 0x40
push 0x12
push ebx
call sub.kernel32.dll_VirtualProtect
mov dword [ebx], 0x5024048b
mov byte [ebx + 4], 0xb8
lea eax, [ebx + 9]
mov dword [eax], 0x4244489
mov byte [ebx + 0xd], 0xe9
lea eax, [ebx + 5]
mov dword [eax], esi
sub edi, ebx
sub edi, 0x12
lea eax, [ebx + 0xe]
mov dword [eax], edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4232b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42331a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.00405584
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0042329c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423321
lea eax, [ebp - 0x10c]
call fcn.0040538c
ret
Function at 0x423328
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x423392
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x105
lea eax, [ebp - 0x105]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x105]
call fcn.00405584
mov eax, dword [ebp - 0x10c]
mov edx, ebx
call fcn.0042329c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423399
lea eax, [ebp - 0x10c]
call fcn.0040538c
ret

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

Disassembly:
push ebx
push esi
add esp, 0xffffffe4
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 1
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
call sub.user32.dll_PeekMessageA
test eax, eax
je 0x4233d0
push esp
call sub.user32.dll_TranslateMessage
push esp
call sub.user32.dll_DispatchMessageA
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, esi
jb 0x4233ae
add esp, 0x1c
pop esi
pop ebx
ret

Function at 0x4234fc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov esi, ecx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push ebp
push 0x423585
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push 0
push 0x20006
push 0
push 0x423594
push 0
push edx
push eax
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x42356f
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00405584
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x423555
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push ebx
push 1
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42358c
lea eax, [ebp - 0xc]
call fcn.0040538c
ret

Function at 0x42377c
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 0x4237b5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040547c
jmp 0x4237be
mov eax, ebx
mov edx, esi
call fcn.004053e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4237c8
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 0x4237ea
movzx eax, byte [esp]
jmp 0x4237ec
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x424778
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x424802
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edx
mov edx, 0x80000301
call fcn.004252d4
mov esi, eax
cmp esi, 0xffffffff
setne bl
test bl, bl
je 0x4247ec
push 0
push esi
call sub.kernel32.dll_GetFileSize_1
mov edi, eax
lea eax, [ebp - 4]
mov ecx, edi
xor edx, edx
call fcn.0040547c
lea eax, [ebp - 4]
call fcn.0040587c
mov edx, eax
mov ecx, edi
mov eax, esi
call fcn.00422d5c
mov eax, esi
call fcn.0042531c
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00424460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424809
lea eax, [ebp - 4]
call fcn.0040538c
ret

Function at 0x424f54
Capabilities:
Terminate thread

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, dword [ebx + 0x20]
push eax
call sub.kernel32.dll_TerminateThread
mov byte [ebx + 0x1d], 1
pop ebx
ret

Function at 0x424f68
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0x1c], 0
mov eax, dword [ebx + 0x20]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jbe 0x424f83
mov byte [ebx + 0x1c], 1
pop ebx
ret
cmp word [ebx + 0x3a], 0
je 0x424f92
mov edx, ebx
mov eax, dword [ebx + 0x3c]
call dword [ebx + 0x38]
pop ebx
ret

Function at 0x4282f8
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.0040581c
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x428350
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x652120]
mov dl, 1
mov eax, dword [0x427e04]
call fcn.0040d1f0
call fcn.00404cf8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00427f0c
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 0x4291ac
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 0x4291b2
ret
Function at 0x4371c8
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.0040538c
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x437216
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.004055fc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43b298
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 0x43b3cb
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 [0x427e64]
call fcn.00427f34
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x43b3a1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00427fd4
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.004055fc
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x43b3e0
call fcn.004056a4
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00428038
lea ecx, [ebp - 4]
mov edx, 0x43b41c
mov eax, dword [ebp - 0xc]
call fcn.00428280
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040edb0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x43b384
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x43b428
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 [0x48c7ec]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b38b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x43b478
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 0x43b4bf
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b4a2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43b4b3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x43b4bf
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x43ffb0
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 [0x657e68], 0
je 0x4400f9
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x651df4]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4400f9
mov eax, dword [0x657e6c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x657e68]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4400c8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x657e68]
call fcn.00418910
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4400c0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x4400c0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4400c0
mov eax, dword [ebp - 0x14]
call fcn.0044a55c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4400c0
push ebp
call fcn.0043ff6c
pop ecx
test al, al
jne 0x4400c0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404698
test al, al
je 0x4400c0
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.00404698
cmp byte [ebp - 1], 0
je 0x4400c0
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4400c0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x657e6c]
call fcn.0043f6dc
inc edi
dec ebx
jne 0x440015
mov eax, dword [0x657e6c]
cmp dword [eax + 8], 0
jle 0x4400e0
mov eax, dword [0x657e6c]
call fcn.0043f794
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4400f9
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043fdd0
pop ecx
test al, al
jne 0x4400f9
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 0x447458
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.00407680
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.00442338
test ebx, ebx
jne 0x4474ab
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00447394
mov ebx, eax
test ebx, ebx
je 0x447596
cmp esi, ebx
je 0x4474d4
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 0x4474e9
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 0x447521
add eax, 0xffffff5f
sub eax, 2
jb 0x447539
dec eax
sub eax, 2
jb 0x44754d
dec eax
sub eax, 2
jb 0x447543
jmp 0x447557
add eax, 0xfffffdff
sub eax, 2
jb 0x447539
dec eax
sub eax, 2
jb 0x44754d
dec eax
sub eax, 2
jb 0x447543
jmp 0x447557
mov byte [esp + 0x120], 0
jmp 0x44755f
mov byte [esp + 0x120], 2
jmp 0x44755f
mov byte [esp + 0x120], 1
jmp 0x44755f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00452730
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00443ab0
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x447598
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret