joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453888
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4538c0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4538a1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4538b0
or bl, 4
test esi, 0x20000000
je 0x4538bb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x459f84
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x459f96
add esp, 0xfffffff0
call fcn.00403a30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ef58
mov eax, dword [0x475290]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a328
mov eax, dword [0x47529c]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a334
mov eax, ebx
call fcn.0045a340
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41681c]
call fcn.004036c8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41681c]
call fcn.004036c8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41681c]
call fcn.004036c8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41681c]
call fcn.004036c8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41681c]
call fcn.004036c8
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, 0x456758
push eax
push 0
push 0
mov eax, dword [0x475408]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4209bc]
call fcn.00422154
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4209bc]
call fcn.00422154
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4209bc]
call fcn.00422154
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045a790
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a658
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a658
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a658
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a0d3
call fcn.00403a88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a43c
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 0x45a5e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45a5c8
mov dl, 1
mov eax, dword [0x416de4]
call fcn.004036c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404564
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45a5b7
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.00447ec4
test al, al
je 0x45a5aa
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, 0x45a5f8
lea eax, [ebp - 0x254]
call fcn.00409a10
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a5aa
xor eax, eax
push ebp
push 0x45a5a3
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 0x45a630
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a58c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d4
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 0x45a58c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a5aa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a4ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041afa8
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 0x45a5ee
lea eax, [ebp - 0x260]
call fcn.00404564
ret

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

Disassembly:
push ecx
mov eax, dword [0x476be0]
cmp byte [eax + 0xa5], 0
jne 0x45afa1
cmp dword [0x476bf8], 0
jne 0x45af62
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45aeec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x476bf8], eax
cmp dword [0x476bf4], 0
jne 0x45af7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x476bf4], eax
cmp dword [0x476bfc], 0
jne 0x45afa1
push esp
push 0
push 0
push 0x45ae90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x476bfc], eax
pop edx
ret
Function at 0x45b634
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x476be0]
cmp dword [eax + 0x30], 0
je 0x45b6de
cmp dword [ebx + 0x94], 0
jne 0x45b6d8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b5c4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b6d8
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 0x45b69e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b6d8
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.00418e08
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b6ad
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c23c
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 0x45c271
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.00404654
jmp 0x45c27e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045b8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d3a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d3e9
mov eax, esi
call fcn.00443468
test al, al
je 0x45d3e9
mov eax, dword [ebx + 0x84]
call fcn.00443164
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d3e9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00443164
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4710f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x47118f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
push 0
push ebx
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004047d4
lea eax, [ebp - 0x110]
mov edx, 0x4711a4
call fcn.0040482c
mov eax, dword [ebp - 0x110]
mov ecx, 0x4711c4
mov edx, dword [ebp - 4]
call fcn.004712a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471196
lea eax, [ebp - 0x110]
call fcn.00404564
lea eax, [ebp - 4]
call fcn.00404564
ret
Function at 0x4711cc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
xor eax, eax
push ebp
push 0x471267
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x104
lea eax, [ebp - 0x109]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
push 0
push ebx
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x109]
mov ecx, 0x105
call fcn.004047d4
lea eax, [ebp - 0x110]
mov edx, 0x47127c
call fcn.0040482c
mov eax, dword [ebp - 0x110]
mov ecx, 0x47129c
mov edx, dword [ebp - 4]
call fcn.004712a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47126e
lea eax, [ebp - 0x110]
call fcn.00404564
lea eax, [ebp - 4]
call fcn.00404564
ret

Function at 0x4712a8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff800
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 0xc]
call fcn.00404a14
xor eax, eax
push ebp
push 0x471328
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404a24
push eax
push 0x800
lea eax, [ebp - 0x800]
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404a24
push eax
mov eax, edi
call fcn.00404a24
push eax
mov eax, esi
call fcn.00404a24
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ecx, eax
lea edx, [ebp - 0x800]
mov eax, dword [ebp + 8]
call fcn.00404654
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47132f
lea eax, [ebp + 0xc]
call fcn.00404564
ret

Function at 0x471338
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47143b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4000
call fcn.00402ab4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x47141e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00419e68
xor eax, eax
push ebp
push 0x471401
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, ebx
call fcn.00404a24
push eax
push 0x4000
mov eax, dword [ebp - 8]
push eax
push 0
push 0
mov eax, esi
call fcn.00404a24
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x4713eb
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jmp 0x4713e3
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.0040475c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00409388
inc eax
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0
jne 0x4713c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471408
mov eax, dword [ebp - 4]
call fcn.00419f24
ret
Function at 0x47184c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a14
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4719b4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 2
call fcn.00470ffc
mov esi, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, esi
call fcn.0047101c
mov ebx, eax
jmp 0x471986
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004047d4
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409230
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.004086c8
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.004086c8
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404970
je 0x471966
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004047d4
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.004086c8
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.004086c8
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404970
jne 0x47197b
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, edi
mov eax, esi
call fcn.0047103c
mov ebx, eax
test ebx, ebx
jne 0x4718c7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4719bb
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404588
lea eax, [ebp - 4]
call fcn.00404564
ret

Function at 0x4719c4
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
add esp, 0xfffffe28
mov ebx, eax
lea eax, [esp + 0x48]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebx
call fcn.00404564
push 0x40
lea eax, [esp + 0xc]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 8]
push eax
call sub.wsock32.dll_gethostbyname
mov dword [esp], eax
cmp dword [esp], 0
je 0x471a29
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], eax
xor esi, esi
mov eax, dword [esp + 4]
mov eax, dword [eax + esi*4]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, ebx
call fcn.00409590
call sub.wsock32.dll_WSACleanup
add esp, 0x1d8
pop esi
pop ebx
ret

Function at 0x471a34
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x471a60
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x10
call fcn.004047d4
add esp, 0x14
pop ebx
ret
Function at 0xeea464
Capabilities:
Encode data using xor

Disassembly:
jmp 0xeea46e
pushal
call 0xeea474
pop ebp
sub ebp, 0x10
sub ebp, 0xaea464
jmp 0xeea48a
invalid
mov eax, 0xaea464
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ab
mov edx, 0x7ca1cdaa
xor byte [eax], dl
inc eax
dec ecx
jne 0xeea4a1
jmp 0xeea4b4
and dword [edi + 0x21], esp
and edx, dword [esi + 0x2baaaaaa]
imul edx, dword [edx - 0x56], 0xffffffaa
stosb byte es:[edi], al
test eax, 0xaaac1267
stosb byte es:[edi], al
stosb byte es:[edi], al
adc byte [edx + 0x5daaaaaa], al
dec eax
test eax, 0xa62b2162
stosb byte es:[edi], al
stosb byte es:[edi], al
stosb byte es:[edi], al
test eax, 0xc2fafa6f
push esi
mov ch, 0x88
stosb byte es:[edi], al
ret 0x2ecf
Function at 0x406f74
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
add ecx, eax
push edi
mov edi, dword [ecx]
add eax, 4
mov dword [esi], eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044daa6
mov ecx, dword [esi]
add ecx, dword [ebp + 8]
lea ebx, [edi + edi]
push ebx
push ecx
push eax
mov dword [ebp - 4], eax
call fcn.0044fd80
mov eax, dword [ebp - 4]
add dword [esi], ebx
xor ecx, ecx
add esp, 0x10
cmp edi, ecx
mov word [ebx + eax], cx
jle 0x406fd0
xor word [eax + ecx*2], di
inc ecx
cmp ecx, edi
jl 0x406fc7
push eax
or eax, 0xffffffff
call fcn.0040dc42
push dword [ebp - 4]
mov esi, eax
call fcn.0044db10
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4

Function at 0x407cdb
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push edi
push 5
pop eax
mov dword [0x47e7f0], eax
mov dword [0x47e7f4], eax
mov al, byte [0x47e90d]
xor ebx, ebx
neg al
push ebx
push 0x5b
mov dword [0x47e938], ebx
mov byte [0x47e7f8], 1
mov byte [0x47e7f9], bl
mov dword [0x47e7fc], ebx
sbb eax, eax
and eax, 0xffffff70
add eax, 0xa0
mov dword [0x47e948], eax
call esi
push ebx
push 0x10
mov byte [0x47e945], al
call esi
push ebx
push dword [0x47e948]
mov byte [0x47e942], al
call esi
push ebx
push 0xa1
mov byte [0x47e943], al
call esi
push ebx
push 0x11
mov byte [0x47e944], al
call esi
push ebx
push 0x12
mov byte [0x47e940], al
call esi
mov byte [0x47e941], al
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
xor edi, edi
inc edi
lea esi, [edi + 0x473820]
movzx eax, byte [esi]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
cmp ax, 0xffff
jne 0x407d93
mov byte [esi], 0x20
inc edi
cmp edi, 7
jle 0x407d7a
lea eax, [ebp - 8]
push str.0409
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
pop edi
pop esi
pop ebx
jne 0x407ddb
push 4
lea eax, [ebp - 0xc]
push str.0002
push eax
call fcn.0044e07f
add esp, 0xc
test eax, eax
mov byte [0x473822], 0x20
mov byte [0x473825], 0x20
je 0x407e6d
jmp 0x407e58
lea eax, [ebp - 8]
push str.0809
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
jne 0x407df8
mov byte [0x473822], 0x20
jmp 0x407e51
lea eax, [ebp - 6]
push 0x46a8e0
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
jne 0x407e15
mov byte [0x473825], 0x20
jmp 0x407e66
lea eax, [ebp - 6]
push 0x46a8e4
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
je 0x407def
lea eax, [ebp - 6]
push 0x46a8e8
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
je 0x407e66
lea eax, [ebp - 6]
push 0x46a8ec
push eax
call fcn.0044dfd0
test eax, eax
pop ecx
pop ecx
jne 0x407e6d
mov byte [0x473825], 0x20
mov byte [0x473826], 0x20
mov byte [0x473823], 0x20
mov byte [0x473824], 0x20
leave
ret
Function at 0x40934d
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
test edi, edi
push esi
jl 0x4093e1
jne 0x409365
push 0
jmp 0x4093db
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x11d]
neg al
sbb eax, eax
and eax, 0x28
add eax, 0xf
cmp edi, eax
jae 0x4093da
mov esi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
test eax, eax
je 0x4093da
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [esp + 8]
push eax
call esi
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sbb ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
fild qword [esp + 0x18]
fild qword [esp + 0x20]
fdivp st(1)
fmul qword [0x46d9d0]
call fcn.00463f06
cmp eax, edi
jb 0x409398
jmp 0x4093e1
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4093e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [eax], bl
push esi
mov esi, ecx
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], ebx
jne 0x409406
xor al, al
jmp 0x409520
push eax
call fcn.0040d437
mov ecx, dword [ebp + 0x10]
mov byte [ecx], bl
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x10], eax
mov byte [edi], bl
mov byte [esi], bl
mov byte [ecx], bl
call fcn.0044e140
inc eax
push eax
call fcn.0044daa6
add esp, 0xc
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + ebx]
cmp al, 0x2b
je 0x40944a
cmp al, 0x5e
je 0x409446
cmp al, 0x21
je 0x409446
cmp al, 0x23
jne 0x40946e
cmp al, 0x2b
jne 0x40944f
mov eax, dword [ebp + 0xc]
jmp 0x40945f
cmp al, 0x5e
jne 0x409458
mov byte [esi], 1
jmp 0x40946b
cmp al, 0x21
jne 0x409464
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x40946b
cmp al, 0x23
jne 0x40946b
mov byte [edi], 1
inc ebx
jmp 0x409430
mov al, byte [ecx + ebx]
inc ebx
cmp al, 0x7b
mov byte [ebp - 0x18], al
mov dword [ebp - 0x14], ebx
jne 0x4094d0
mov ebx, dword [ebp - 8]
lea edx, [ebp - 0x14]
mov esi, ecx
add al, 2
call fcn.00409310
test eax, eax
jne 0x4094bc
mov esi, dword [ebp - 0xc]
push ebx
push dword [esi*4 + 0x4734a8]
call fcn.0044d8f4
test eax, eax
pop ecx
pop ecx
je 0x4094ae
inc esi
cmp esi, 0x62
mov dword [ebp - 0xc], esi
jl 0x40948f
cmp esi, 0x62
je 0x4094bc
cmp byte [esi + 0x473630], 0
je 0x4094c2
mov byte [ebp - 1], 0
jmp 0x409502
mov eax, dword [esi*4 + 0x473698]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
jmp 0x409502
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [ebp + 8]
movsx eax, ax
test ax, 0x200
mov dword [ecx], eax
je 0x4094ea
mov byte [esi], 1
test ax, 0x400
je 0x4094f6
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 1
test ax, 0x100
je 0x409502
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
and dword [eax], 0xff
call fcn.0044db10
push dword [ebp - 8]
call fcn.0044db10
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop esi
pop ebx
leave
ret 0xc
Function at 0x405e90
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
xor edx, edx
mov dword [esp], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 4], edx
push esi
fild qword [esp + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 8], edx
push edi
fstp qword [ecx + 0x9190]
fild qword [esp + 8]
lea esi, [eax - 0x280]
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
fstp qword [ecx + 0x9198]
fild qword [esp + 8]
lea edi, [eax - 0x190]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edi
fst qword [ecx + 0x91a8]
fild qword [esp + 8]
fst qword [ecx + 0x91b0]
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x405f23
fcom qword [0x4344f8]
fnstsw ax
test ah, 0x40
je 0x405f17
fstp st(0)
jmp 0x405f50
fxch st(1)
fdiv st(1)
fstp qword [ecx + 0x91a8]
jmp 0x405f34
fld st(1)
fcomp qword [0x4344f8]
fnstsw ax
test ah, 0x40
je 0x405f48
fstp st(0)
mov dword [ecx + 0x91b0], edx
mov dword [ecx + 0x91b4], 0x3ff00000
fstp st(0)
jmp 0x405f62
fdiv st(1)
fstp qword [ecx + 0x91b0]
mov dword [ecx + 0x91a8], edx
mov dword [ecx + 0x91ac], 0x3ff00000
fstp st(0)
fld qword [ecx + 0x91a8]
mov eax, dword [esp + 0x24]
mov dword [ecx + 0x91b8], esi
fadd st(0), st(0)
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov dword [ecx + 0x91a0], eax
or eax, 0xffffffff
mov dword [ecx + 0x91c4], edx
mov dword [ecx + 0x91c8], eax
mov dword [ecx + 0x91cc], eax
fstp qword [ecx + 0x91a8]
fld qword [ecx + 0x91b0]
fadd st(0), st(0)
mov eax, 1
mov dword [ecx + 0x91bc], edi
push eax
mov dword [ecx + 0x91c0], eax
mov dword [ecx + 0x91d0], eax
fstp qword [ecx + 0x91b0]
call esi
push 2
call esi
push 0xd
call esi
push 0x20
call esi
push 0x1b
call esi
push 0x11
call esi
pop edi
pop esi
add esp, 8
ret 0x14