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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44d99e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0044bfbc
xor eax, eax
push ebp
push 0x44d974
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044c56c
test al, al
je 0x44d958
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406a74
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x44d958
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.004069c4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044bf1c
test al, al
je 0x44d94c
mov eax, dword [ebp - 4]
call fcn.004069c4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00406ae4
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044d068
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44d94c
xor eax, eax
push ebp
push 0x44d945
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0xc]
call fcn.0044bfbc
xor eax, eax
push ebp
push 0x44d927
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004069c4
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00406ae4
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044bfc0
mov eax, dword [ebp - 4]
call fcn.004069c4
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00406ae4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044d068
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44d904
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044d618
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044d750
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d90b
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x14]
dec dword [ebp - 0x28]
jne 0x44d7db
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d97b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0044bfbc
ret
Function at 0x45382c
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 0x453832
ret
Function at 0x45f140
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45f2fd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x30], 0
jne 0x45f2d9
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x45f2d9
mov eax, dword [ebp - 0xc]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x28
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x28]
add ebx, ebx
add ebx, ebx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
imul ebx
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x45f10c]
call fcn.00408260
add esp, 4
lea eax, [ebp - 4]
call fcn.004095f8
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [0x51e900]
push eax
call fcn.00447a04
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00408098
push eax
push ebx
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x2c
call fcn.004047e4
mov dword [ebp - 0x38], 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
neg eax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x2c], 1
mov word [ebp - 0x2a], 0x20
mov dl, 1
mov eax, dword [0x45216c]
call fcn.0045bb34
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], ebx
xor ecx, ecx
push ebp
push 0x45f2b7
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, ebx
mov dl, 7
call fcn.0045d748
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax]
call dword [ebx + 0x6c]
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0x70]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
call fcn.0045c454
call fcn.0045681c
push eax
call sub.gdi32.dll_SetDIBits
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x30]
mov dl, 1
call fcn.0045c758
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45f2d9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f304
lea eax, [ebp - 8]
mov edx, dword [0x45f10c]
call fcn.0040826c
lea eax, [ebp - 4]
call fcn.004095f8
ret
Function at 0x48d524
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40c574]
call fcn.004075b0
xor eax, eax
push ebp
push 0x48d66e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51ddc8], 0
jne 0x48d578
mov ecx, dword [0x51e710]
mov dl, 1
mov eax, dword [0x40d61c]
call fcn.0041866c
call fcn.004058f8
lea eax, [ebp - 0x24]
xor ecx, ecx
mov edx, 0x10
call fcn.004047e4
mov eax, ebx
call fcn.00406788
mov dword [ebp - 0x20], eax
push esi
mov esi, 0x48d67c
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x34]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004095f8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
test eax, eax
je 0x48d5bf
sub eax, 4
mov eax, dword [eax]
shr eax, 1
test eax, eax
jle 0x48d614
mov dword [ebp - 0x14], 0x20
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x54]
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x48d60d
lea eax, [ebp - 0x58]
mov edx, ebx
call fcn.00406b88
mov eax, dword [ebp - 0x58]
push eax
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x54]
mov ecx, 0x10
call fcn.00406b20
mov eax, dword [ebp - 0x5c]
pop edx
call fcn.00412958
test eax, eax
jne 0x48d60d
mov ebx, 0x15
jmp 0x48d619
mov ebx, 0x10
jmp 0x48d619
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x24]
push eax
push ebx
push 0
push esi
call dword [0x51ddc8]
call fcn.0048d390
mov eax, dword [ebp - 4]
call fcn.0048d390
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.00409610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48d675
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00406930
lea eax, [ebp - 0xc]
mov edx, dword [0x40c574]
call fcn.00407688
ret
Function at 0x4918b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x4918cc
add esp, 0xfffffff0
call fcn.00405354
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x4919e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
call fcn.00404218
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x4919d0
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.0048d390
xor eax, eax
push ebp
push 0x4919bd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0048d390
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ebx, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [ebx], eax
lea eax, [ebx + 4]
mov edx, dword [ebp - 4]
call fcn.00406b88
jmp 0x49198e
lea eax, [ebx + 4]
mov ecx, 1
mov edx, 1
call fcn.00407130
mov eax, dword [ebx + 4]
call fcn.00406c90
dec eax
jle 0x4919a2
mov eax, dword [ebx + 4]
cmp word [eax], 0x5f
je 0x49197c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4919c4
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4919ed
lea eax, [ebp - 4]
call fcn.004065bc
ret
Function at 0x4c11ac
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [0x524258]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4c1396
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
cmp dword [edx + eax + 0x18], 0
je 0x4c138a
lea eax, [ebp - 8]
push eax
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
mov eax, dword [edx + eax + 0x18]
push eax
call sub.kernel32.dll_GetExitCodeProcess
cmp dword [ebp - 8], 0x103
je 0x4c12cf
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0xc], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0x10], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0x14], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0x18], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0x1c], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0x20], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0xa2c], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0xa44], ecx
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
xor ecx, ecx
mov dword [edx + eax + 0xa48], ecx
mov edx, dword [ebp - 4]
mov eax, 0x4c13c0
call fcn.004c1128
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
cmp dword [edx + eax + 0x1a4c], 0
jne 0x4c1317
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
mov dword [edx + eax + 0x1a4c], 1
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebp - 4], 0x1a4d
mov ecx, dword [0x524258]
mov dword [ecx + edx + 0x1a50], eax
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebp - 4], 0x1a4d
mov ecx, dword [0x524258]
sub eax, dword [ecx + edx + 0x1a50]
cmp eax, 0x2bf20
jbe 0x4c138a
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
cmp dword [edx + eax + 0xc], 1
jbe 0x4c138a
mov edx, dword [ebp - 4]
mov eax, 0x4c13d4
call fcn.004c1060
push 0
imul eax, dword [ebp - 4], 0x1a4d
mov edx, dword [0x524258]
mov eax, dword [edx + eax + 0x18]
push eax
call sub.kernel32.dll_TerminateProcess
call sub.kernel32.dll_GetTickCount_1
imul edx, dword [ebp - 4], 0x1a4d
mov ecx, dword [0x524258]
mov dword [ecx + edx + 0x1a50], eax
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x4c11ce
push 0
push 2
push 0x4c9
mov eax, dword [0x524254]
call fcn.004df330
push eax
call sub.user32.dll_SendMessageW
mov esp, ebp
pop ebp
ret
Function at 0x4c3234
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406920
mov eax, dword [ebp - 8]
call fcn.00406920
xor eax, eax
push ebp
push 0x4c3328
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 4]
call fcn.00413960
test al, al
je 0x4c3305
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00413c20
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.004047e4
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x10
call fcn.004047e4
mov dword [ebp - 0x5c], 0x44
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004069c4
push eax
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004069c4
push eax
mov eax, dword [ebp - 4]
call fcn.004069c4
push eax
call sub.kernel32.dll_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
je 0x4c3305
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x64]
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x6c]
mov dword [eax], edx
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c332f
lea eax, [ebp - 0x18]
call fcn.00406928
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406930
ret
Function at 0x4c333c
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00406920
xor eax, eax
push ebp
push 0x4c344a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
call fcn.00413960
test al, al
je 0x4c3434
push 0x4c3458
push 0x4c3474
call sub.kernel32.dll_GetModuleHandleW_2
push eax
call fcn.0040b550
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x4c33b0
mov eax, dword [ebp - 0x28]
sub eax, 0xa
cmp word [eax], 2
je 0x4c33b0
lea eax, [ebp - 8]
mov edx, dword [ebp - 8]
call fcn.004062b8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4c33c7
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
inc eax
add eax, eax
mov dword [ebp - 0x18], eax
push 4
push 0x1000
mov eax, dword [ebp - 0x18]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualAllocEx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.004069c4
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteProcessMemory
lea eax, [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateRemoteThread
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4c3434
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3451
lea eax, [ebp - 8]
call fcn.00406928
ret
Function at 0x4d04cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
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 [0x524ac8], 0
je 0x4d0619
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x51ebf4]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x4d0619
mov eax, dword [0x524acc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x524ac8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4d05e8
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x524ac8]
call fcn.00434e1c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4d05dc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x4d05dc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x4d05dc
mov eax, dword [ebp - 0x14]
call fcn.004df330
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d05dc
push ebp
call fcn.004d0480
pop ecx
test al, al
jne 0x4d05dc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.004050ac
test al, al
je 0x4d05dc
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.004050ac
cmp byte [ebp - 1], 0
je 0x4d05dc
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x30]
call fcn.0040a550
test al, al
je 0x4d05dc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x524acc]
call fcn.004cf898
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x4d0538
mov eax, dword [0x524acc]
cmp dword [eax + 8], 0
jle 0x4d0600
mov eax, dword [0x524acc]
call fcn.004cf974
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4d0619
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004d02bc
pop ecx
test al, al
jne 0x4d0619
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4db098
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call sub.user32.dll_GetMessagePos
call fcn.0040a538
mov dword [ebp - 0x1c], eax
movsx eax, word [ebp - 0x1c]
mov dword [ebp - 0x24], eax
movsx eax, word [ebp - 0x1a]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004d3580
cmp dword [ebp - 0xc], 0
jne 0x4db0ee
push 0
push 0
lea edx, [ebp - 0x18]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004daec8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4db1f5
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
je 0x4db120
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x40]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
sub eax, dword [edx + 0x44]
mov dword [ebp - 0x134], eax
jmp 0x4db132
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 8]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0xa]
cmp eax, 0x201
jge 0x4db171
add eax, 0xffffff5f
sub eax, 2
jb 0x4db189
dec eax
sub eax, 2
jb 0x4db19b
dec eax
sub eax, 2
jb 0x4db192
jmp 0x4db1a4
add eax, 0xfffffdff
sub eax, 2
jb 0x4db189
dec eax
sub eax, 2
jb 0x4db19b
dec eax
sub eax, 2
jb 0x4db192
jmp 0x4db1a4
mov byte [ebp - 0x12c], 0
jmp 0x4db1ab
mov byte [ebp - 0x12c], 2
jmp 0x4db1ab
mov byte [ebp - 0x12c], 1
jmp 0x4db1ab
mov byte [ebp - 0x12c], 0
lea eax, [ebp - 0x124]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [ebp - 0x124]
call fcn.00505e98
mov ebx, eax
call fcn.004cee34
or bx, ax
mov word [ebp - 0x12b], bx
lea eax, [ebp - 0x138]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, dword [ebp - 0xc]
call fcn.004d58a0
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
mov byte [ebp - 0xd], 1
jmp 0x4db1f9
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4ebe94
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406938
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4ebedb
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00406b20
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x4f16d8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4f1811
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x44ac6c]
call fcn.0044be70
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4f17e7
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0044bf58
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00406b20
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4f182c
call fcn.00406df4
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0044c1d4
test al, al
je 0x4f17d1
lea ecx, [ebp - 4]
mov edx, 0x4f18a0
mov eax, dword [ebp - 0xc]
call fcn.0044cad0
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0041b214
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4f17ca
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4f18b8
mov eax, dword [ebp - 8]
push eax
call fcn.0040b550
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x51e49c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f17d1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f17ee
mov eax, dword [ebp - 0xc]
call fcn.00404e20
ret

Function at 0x4f191c
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 0x4f1963
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f1946
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4f1957
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4f1963
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret