joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499fac
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49a18c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
mov edx, 0x24
call fcn.0049cea4
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x525b68], eax
mov eax, dword [ebp - 0xc]
mov dword [0x525b6c], eax
mov eax, dword [ebp - 0x24]
mov dword [0x525b70], eax
mov eax, dword [0x5343f0]
cmp dword [eax], 2
sete byte [0x525320]
push 0x49a198
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0049c914
xor eax, eax
mov dword [ebp - 0x2c], eax
cmp byte [0x525320], 0
jne 0x49a03b
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0049ca58
test al, al
je 0x49a03b
mov eax, dword [ebp - 0x4c]
mov dword [0x53654c], eax
jmp 0x49a042
xor eax, eax
mov dword [0x53654c], eax
call fcn.00499ce4
and eax, 0x7f
cmp eax, 0x12
ja case.0x49a053.0
jmp dword [eax*4 + 0x49a05a]
mov byte [0x52530c], 1
jmp case.0x49a053.0
mov byte [0x525310], 1
jmp case.0x49a053.0
mov byte [0x525314], 1
jmp case.0x49a053.0
mov byte [0x525318], 1
jmp case.0x49a053.0
mov byte [0x52531c], 1
jmp case.0x49a053.0
mov byte [0x525324], 1
mov byte [0x525328], 1
jmp case.0x49a053.0
mov byte [0x525324], 1
mov byte [0x52532c], 1
jmp case.0x49a053.0
mov byte [0x525324], 1
mov byte [0x52532c], 1
mov byte [0x525330], 1
jmp case.0x49a053.0
mov byte [0x525334], 1
jmp case.0x49a053.0
mov byte [0x525338], 1
jmp case.0x49a053.0
mov byte [0x52533c], 1
jmp case.0x49a053.0
mov byte [0x525340], 1
jmp case.0x49a053.0
mov byte [0x525344], 1
jmp case.0x49a053.0
mov byte [0x525348], 1
jmp case.0x49a053.0
mov byte [0x52534c], 1
jmp case.0x49a053.0
mov byte [0x525350], 1
jmp case.0x49a053.0
mov byte [0x525354], 1
jmp case.0x49a053.0
mov byte [0x525358], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a193
lea eax, [ebp - 4]
call fcn.00404554
ret

Function at 0x49c050
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x49c0b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047d4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409bd4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c0bb
lea eax, [ebp - 0xc]
call fcn.00404554
ret
Function at 0x49ca58
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x49cb0e
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a24
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x49caf8
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404bb0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404a24
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x49caf8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x49cb20
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x49caf8
cmp dword [ebp - 8], 0x34
jne 0x49caf8
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cb15
lea eax, [ebp - 0x10]
call fcn.00404554
ret

Function at 0x49da60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x49da75
add esp, 0xfffffff0
call fcn.00403a40
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor edx, edx
mov eax, ebx
call fcn.00403698
lea eax, [ebx + 0xc]
mov edx, esi
call fcn.004045a8
mov eax, esi
call fcn.00404a24
push eax
xor eax, eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateMutexA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
jne 0x49daca
mov ecx, dword [0x53426c]
mov dl, 1
mov eax, dword [0x49d844]
call fcn.0049739c
call fcn.00403ea8
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
sete al
mov byte [ebx + 4], al
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x49daf1
call fcn.00403a98
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x49e424
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0049e3e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49e498
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [0x537eac], eax
mov ebx, 0x49e36c
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x49e498
xor eax, eax
push ebp
push 0x49e491
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e498
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49e4a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
call fcn.0049e3e0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49e50b
mov ebx, dword [0x537eac]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x49e50b
xor eax, eax
push ebp
push 0x49e504
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e50b
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_VirtualProtect
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49f11c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49f286
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x533cac]
cmp byte [eax], 0
jne 0x49f177
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004047ec
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov eax, ebx
call fcn.0043b178
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00404e48
jmp 0x49f25e
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x49f1a9
mov eax, esi
call fcn.00404c70
jmp 0x49f25e
mov eax, dword [ebp - 4]
dec eax
sub eax, 2
jb 0x49f1e0
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0xf
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x1c]
mov eax, dword [0x533ebc]
call fcn.00406a58
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040de64
call fcn.00403ea8
cmp dword [ebp - 8], 1
jne 0x49f1ed
mov dword [ebp - 8], 2
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, esi
call fcn.0040523c
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
call fcn.00404ec4
push eax
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.00404ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x49f24e
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], 0xf
lea eax, [ebp - 0x18]
push eax
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x534410]
call fcn.00406a58
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040de64
call fcn.00403ea8
mov eax, dword [esi]
call fcn.00404ec4
mov edx, eax
mov eax, esi
call fcn.00404dd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f28d
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00404578
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404578
ret
Function at 0x49f294
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x49f3bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
dec eax
sub eax, 2
jb 0x49f2de
mov ecx, 0x7d
mov edx, 0x49f3d4
mov eax, 0x49f42c
call fcn.004044b0
mov eax, dword [0x533cac]
cmp byte [eax], 0
jne 0x49f33c
cmp esi, 1
jne 0x49f316
lea eax, [ebp - 8]
mov edx, edi
call fcn.004047ec
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004047ec
mov edx, dword [ebp - 0xc]
mov eax, ebx
pop ecx
call fcn.0043b120
jmp 0x49f399
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004047ec
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004047ec
mov edx, dword [ebp - 0x14]
mov eax, ebx
pop ecx
call fcn.0043b14c
jmp 0x49f399
mov eax, edi
call fcn.00404ed4
inc eax
add eax, eax
push eax
mov eax, edi
call fcn.00404ec4
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404ec4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
test eax, eax
je 0x49f399
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xf
lea eax, [ebp - 0x1c]
push eax
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x53401c]
call fcn.00406a58
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x43ad20]
call fcn.0040de64
call fcn.00403ea8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f3c3
lea eax, [ebp - 0x20]
call fcn.00404554
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404578
ret

Function at 0x49fde0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x49fe0d
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x49fdfe
and ecx, 3
je 0x49fe25
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x49fe12
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x49fe30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x49fe69
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x49fe51
pop esi
and esi, 3
je 0x49fe8e
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x49fe6f
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x49fe98
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x49fec4
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x49feb5
and ecx, 3
je 0x49fedc
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x49fec9
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x49fee4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x49fef0
pop edi
pop ebx
ret
Function at 0x4a080c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.004a0464
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a094b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x4a08ba
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402d40
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049fee4
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.00402d40
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049fee4
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x4a0867
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x4a0908
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.00402d40
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0049fee4
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402d40
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x4a0932
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x4a0932
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x4a0922
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0952
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004a0600
ret

Function at 0x4af114
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x4af168
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x5266d8]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x526ad8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x526ed8]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x5272d8]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x4af123
pop edi
pop esi
pop ebx
ret
Function at 0x4b71c8
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x30]
push esp
call sub.kernel32.dll_QueryPerformanceCounter_1
push 0
push 8
lea edx, [esp + 8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
push 0x2c
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea edx, [esi + 4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x24]
inc dword [esi + 0x2c]
cmp dword [esi + 0x30], 1
jbe 0x4b72f6
push 1
call sub.kernel32.dll_Sleep
jmp 0x4b72fd
push 0
call sub.kernel32.dll_Sleep
inc dword [edi]
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4cab00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4cad60
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4cab63
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004ca7a8
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040e834
cmp al, 1
jne 0x4cab63
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004caa70
test al, al
je 0x4cacef
cmp dword [ebp - 8], 0
jge 0x4cab81
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004ca7a8
mov eax, dword [ebp - 0x210]
call fcn.00404824
cmp ebx, eax
jge 0x4cabcb
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004ca7a8
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x5343e4]
and eax, 0xff
bt dword [edx], eax
jae 0x4cabcb
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4cabdf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004caadc
cmp ebx, dword [ebp - 8]
je 0x4cace1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4cac0b
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x52c6d8]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4cacce
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x52c6d8]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004623f0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004038d0
and eax, 0x7f
movzx eax, word [eax*2 + 0x52c6d8]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004623f0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cacd5
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4cad42
cmp dword [ebp - 8], 0
jge 0x4cacfa
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004ca7a8
mov eax, dword [ebp - 0x218]
call fcn.00404824
cmp eax, dword [ebp - 8]
jg 0x4cad34
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004ca7a8
mov eax, dword [ebp - 0x21c]
call fcn.00404824
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004caadc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cad67
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404578
ret
Function at 0x4cf5a4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4cf5d2
mov eax, ebx
call fcn.004d0058
cmp dword [ebx + 0x40], 0
je 0x4cf5cb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4cf643
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4cf635
cmp dword [ebx + 8], 0
je 0x4cf5f4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4cf606
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4cf635
cmp dword [ebx + 8], 0
je 0x4cf5e7
cmp eax, 3
je 0x4cf619
dec eax
jne 0x4cf5e7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4cf5e7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4cf5e7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4cf661
cmp dword [ebx + 0x14], 0xcc
je 0x4cf661
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004cf66c
pop ebx
ret