joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524bc4
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004f9b6c
mov ebx, eax
mov eax, ebx
call fcn.00494280
mov byte [ebp - 0x15], al
mov eax, ebx
call fcn.00494250
mov byte [ebp - 0x16], al
mov eax, ebx
call fcn.00494220
mov byte [ebp - 0x17], al
cmp byte [ebp - 0x15], 0
jne 0x524c14
cmp byte [ebp - 0x16], 0
jne 0x524c14
cmp byte [ebp - 0x17], 0
jne 0x524c14
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x524d54
mov eax, ebx
call fcn.004941b4
mov byte [ebp - 0x18], al
mov eax, ebx
call fcn.0049417c
mov ebx, eax
mov dl, 1
mov eax, dword [0x45ec70]
call fcn.00404db8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x524d4d
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, 1
call fcn.004ca81c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x524d0a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004ce418
mov esi, eax
dec esi
test esi, esi
jl 0x524cef
inc esi
xor edi, edi
push ebp
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
push ebx
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.004ce420
movzx ecx, byte [ebp - 0x16]
movzx edx, byte [ebp - 0x15]
call fcn.00524b2c
pop ecx
test al, al
je 0x524ceb
push 2
push 0
push 0
lea eax, [ebp - 0x14]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov edx, edi
mov eax, dword [ebp - 0xc]
call fcn.004ce420
mov eax, dword [eax + 0xc]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
je 0x524ceb
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SuspendThread
cmp eax, 0xffffffff
je 0x524ce2
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.00461354
jmp 0x524ceb
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
inc edi
dec esi
jne 0x524c72
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524d11
mov ebx, dword [0x66be9c]
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
call ebx
ret
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x524d60
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test eax, eax
je 0x524ddb
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x524dd4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x524db9
inc esi
xor ebx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004614fc
push eax
call sub.kernel32.dll_ResumeThread
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004614fc
push eax
call sub.kernel32.dll_CloseHandle_1
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00461648
inc ebx
dec esi
jne 0x524d89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524ddb
mov ebx, dword [0x66be9c]
mov ebx, dword [ebx]
lea eax, [ebp - 4]
call ebx
ret
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x531408
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53158d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 2], 0
lea edx, [ebp - 1]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x8c]
mov ecx, 1
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp word [eax + 0xc], 0x1f6
jb 0x531465
cmp byte [ebp - 1], 0x80
jb 0x531465
and byte [ebp - 1], 0x7f
mov byte [ebp - 2], 1
movzx edx, byte [ebp - 1]
mov eax, ebx
call fcn.0040650c
cmp byte [ebp - 1], 0
jbe 0x531497
mov eax, ebx
call fcn.004062dc
mov edx, eax
movzx ecx, byte [ebp - 1]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x8c]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp word [eax + 0xc], 0x1f4
jb 0x53153d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov esi, dword [eax + 4]
cmp byte [esi + 0x9c], 0
je 0x5314f3
lea ecx, [ebp - 0x12]
mov eax, dword [ebp + 8]
mov eax, dword [esi + 0x94]
xor edx, edx
call fcn.004bf83c
cmp dword [ebx], 0
je 0x531511
mov edx, dword [ebx]
mov eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x5314e6
sub eax, 4
mov eax, dword [eax]
push eax
mov ecx, edx
lea eax, [ebp - 0x12]
call fcn.004bfb24
jmp 0x531511
cmp dword [ebx], 0
je 0x531511
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
call fcn.0047a478
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, 0x5315a4
call fcn.00406104
cmp byte [ebp - 2], 0
je 0x531572
push dword [ebx]
push 0x5315b0
lea edx, [ebp - 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.005315b4
push dword [ebp - 0x20]
mov eax, ebx
mov edx, 3
call fcn.00406180
jmp 0x531572
mov eax, dword [ebx]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x53154e
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x531572
mov esi, 1
mov eax, ebx
call fcn.004062dc
mov edx, dword [ebx]
movzx edx, byte [edx + esi - 1]
xor dl, 0x62
mov byte [eax + esi - 1], dl
inc esi
dec edi
jne 0x531559
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531594
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00405df4
ret
Function at 0x537b6c
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x537f96
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00538e9c
xor eax, eax
push ebp
push 0x537f5e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x25], 0
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x10], 0
jne 0x537bf9
cmp dword [ebp - 0xc], 0
je 0x537be9
mov eax, dword [0x66b514]
cmp dword [eax], 0
je 0x537be9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x66b514]
mov eax, dword [eax]
call eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x537bf9
mov eax, dword [0x66c22c]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
jne 0x537c71
call sub.kernel32.dll_GetCurrentThreadId_1
cmp eax, dword [ebp - 0x10]
jne 0x537c35
push 2
push 0
push 0
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x537c62
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x537c62
mov eax, dword [0x66bd90]
mov eax, dword [eax]
call fcn.0041f258
test al, al
je 0x537c5b
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0x4a
mov eax, dword [0x66bd90]
mov eax, dword [eax]
call eax
mov dword [ebp - 0xc], eax
jmp 0x537c62
push 0x57
call sub.kernel32.dll_SetLastError
cmp dword [ebp - 0xc], 0
jne 0x537c6d
call fcn.00451724
mov byte [ebp - 0x25], 1
xor eax, eax
push ebp
push 0x537f44
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentThreadId_1
cmp eax, dword [ebp - 0x10]
setne al
xor edx, edx
call fcn.0041c98c
mov byte [ebp - 0x26], 0
lea edx, [ebp - 0x18]
mov eax, 0xcc
call fcn.00422430
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x537f20
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_SuspendThread
xor eax, eax
push ebp
push 0x537d26
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.0040d87c
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x10003
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetThreadContext
test eax, eax
je 0x537d0f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xb8], 0
je 0x537d0f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xc4], 0
je 0x537d0f
mov byte [ebp - 0x26], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x537d2d
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_ResumeThread
ret
Function at 0x53aab4
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x53ab93
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0042d21c
call fcn.0044574c
mov eax, 0x53aba4
call fcn.00433e54
mov eax, 0x53aba4
call fcn.00445f20
test bl, bl
je 0x53ab62
call sub.kernel32.dll_GetCommandLineA_1
mov edx, eax
lea eax, [ebp - 4]
call fcn.00405fc8
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [ebp - 0x58]
xor ecx, ecx
mov edx, 0x10
call fcn.0040d87c
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, edi
call fcn.0040627c
push eax
push 0
push 0x200
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040627c
push eax
lea ecx, [ebp - 0x5c]
mov dl, 1
xor eax, eax
call fcn.00420a9c
mov eax, dword [ebp - 0x5c]
call fcn.0040627c
push eax
call sub.kernel32.dll_CreateProcessA
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
push eax
call sub.kernel32.dll_GetCurrentProcess
pop edx
call fcn.004739b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ab9a
lea eax, [ebp - 0x5c]
call fcn.00405dd0
lea eax, [ebp - 4]
call fcn.00405dd0
ret
Function at 0x543d68
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x544071
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x543fb9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x66b7f4]
push eax
call sub.kernel32.dll_DeleteFileA
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [0x66b7f4]
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x543ec9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x543e7f
lea edx, [ebp - 4]
mov eax, 0x54408c
call fcn.0045212c
cmp dword [ebp - 4], 0
je 0x543e16
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0042102c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00405e68
lea eax, [ebp - 4]
mov edx, 0x54409c
call fcn.004060b8
push 0
push 0
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.0040627c
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x543e7f
lea eax, [ebp - 0xc]
mov edx, 0x5440c0
call fcn.00405e68
mov eax, dword [ebp - 0xc]
call fcn.00411244
call sub.kernel32.dll_GetCurrentProcess
mov edx, 0x80004005
call fcn.004739b0
call fcn.004057d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54403c
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0x543ca0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call fcn.0046c150
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x543ed0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x544078
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00405df4
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00405df4
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405df4
ret
Function at 0x555260
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040626c
xor eax, eax
push ebp
push 0x555395
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x555368
xor edx, edx
push ebp
push 0x555361
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x5552ad
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x555336
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x555325
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5552ec
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0040627c
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004037a8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55532c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x66b684]
mov dl, 1
mov eax, dword [0x4480dc]
call fcn.0044f4a0
call fcn.00405728
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55539c
lea eax, [ebp - 4]
call fcn.00405dd0
ret
Function at 0x5553a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x55555f
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00406570
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x555578
call fcn.00406104
mov eax, ebx
call fcn.00469a3c
mov edi, eax
dec edi
test edi, edi
jl 0x55545c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00469a10
mov edx, dword [0x54e6cc]
call fcn.00404f7c
test al, al
je 0x555458
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00469a10
lea edx, [ebp - 0x14]
call fcn.00564530
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00406570
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00406180
inc esi
dec edi
jne 0x55540a
movzx eax, byte [0x55557c]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x555588
mov eax, dword [ebp - 8]
call fcn.004513b0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405e68
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00564530
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x555578
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.00564530
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x555578
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x555578
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x555594
call fcn.0044b944
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x555566
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00405df4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405df4
lea eax, [ebp - 0x14]
call fcn.00405dd0
lea eax, [ebp - 0x10]
call fcn.00405dd0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405df4
ret
Function at 0x557aa8
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.00405dd0
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x557af6
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.00406040
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x55cbd8
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 0x55cd0b
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 [0x472d30]
call fcn.00472e9c
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x55cce1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00472f78
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00406040
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x55cd20
call fcn.00406104
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00473100
lea ecx, [ebp - 4]
mov edx, 0x55cd5c
mov eax, dword [ebp - 0xc]
call fcn.004734c8
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.004520a4
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x55ccc4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x55cd68
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 [0x667bac]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55cccb
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x55cdb8
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 0x55cdff
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55cde2
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x55cdf3
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x55cdff
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x561ce0
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 [0x77cdc0], 0
je 0x561e29
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x66bd74]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x561e29
mov eax, dword [0x77cdc4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x77cdc0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x561df8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x77cdc0]
call fcn.004614fc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x561df0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x561df0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x561df0
mov eax, dword [ebp - 0x14]
call fcn.0056c6b4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x561df0
push ebp
call fcn.00561c9c
pop ecx
test al, al
jne 0x561df0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404fec
test al, al
je 0x561df0
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.00404fec
cmp byte [ebp - 1], 0
je 0x561df0
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x561df0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x77cdc4]
call fcn.0056140c
inc edi
dec ebx
jne 0x561d45
mov eax, dword [0x77cdc4]
cmp dword [eax + 8], 0
jle 0x561e10
mov eax, dword [0x77cdc4]
call fcn.005614c4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x561e29
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00561b00
pop ecx
test al, al
jne 0x561e29
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 0x5694a8
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.004089c4
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.00564068
test ebx, ebx
jne 0x5694fb
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.005693e4
mov ebx, eax
test ebx, ebx
je 0x5695e6
cmp esi, ebx
je 0x569524
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 0x569539
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 0x569571
add eax, 0xffffff5f
sub eax, 2
jb 0x569589
dec eax
sub eax, 2
jb 0x56959d
dec eax
sub eax, 2
jb 0x569593
jmp 0x5695a7
add eax, 0xfffffdff
sub eax, 2
jb 0x569589
dec eax
sub eax, 2
jb 0x56959d
dec eax
sub eax, 2
jb 0x569593
jmp 0x5695a7
mov byte [esp + 0x120], 0
jmp 0x5695af
mov byte [esp + 0x120], 2
jmp 0x5695af
mov byte [esp + 0x120], 1
jmp 0x5695af
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00578298
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00565814
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x5695e8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret