joyce8/EMBER2024-capa huggingface dataset:
Function at 0x527d5c
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x527e8a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
lea eax, [ebp - 8]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00405248
mov eax, dword [ebp - 8]
mov edx, dword [0x5944f0]
call fcn.004053e4
je 0x527dd3
push 1
mov eax, dword [0x5944f0]
call fcn.00405498
mov edx, eax
lea eax, [ebp - 0x108]
call fcn.0040c384
push eax
call sub.user32.dll_LoadKeyboardLayoutA
mov eax, dword [ebp - 4]
call fcn.00405298
mov esi, eax
test esi, esi
jle 0x527e1c
mov ebx, 1
push 0
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
add eax, 0xc0000001
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
push eax
push 0x102
mov eax, dword [0x598d78]
push eax
call sub.user32.dll_PostMessageA
inc ebx
dec esi
jne 0x527de6
mov eax, dword [0x594144]
mov eax, dword [eax + 0xf00]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x527e47
push 0
push 0xd
push 0x102
mov eax, dword [0x598d78]
push eax
call sub.user32.dll_PostMessageA
mov eax, dword [ebp - 8]
mov edx, dword [0x5944f0]
call fcn.004053e4
je 0x527e6f
push 1
mov edx, 0x527e98
lea eax, [ebp - 0x108]
call fcn.0040c384
push eax
call sub.user32.dll_LoadKeyboardLayoutA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527e91
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ffc
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x527fa9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x527f93
mov eax, dword [ebp - 4]
mov edx, 0x527fc0
call fcn.004053e4
je 0x527f93
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x527f0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b6e8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x527f7b
mov eax, dword [0x59051c]
mov eax, dword [eax]
call fcn.00483044
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 8]
cmp ebx, eax
ja 0x527f7b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527fb0
lea eax, [ebp - 4]
call fcn.00404fd8
ret
Function at 0x52af3c
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
xor eax, eax
push ebp
push 0x52b0f3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [eax - 8], 0x50000
lea eax, [ebp - 0x18]
call fcn.00404fd8
lea eax, [ebp - 0x14]
mov edx, 0x52b10c
call fcn.00405070
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x52b0c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00405498
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x52afd8
call fcn.00404a3c
jmp 0x52b0d0
xor eax, eax
push ebp
push 0x52b0ab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405298
push eax
mov eax, dword [ebp - 0x18]
call fcn.00405498
push eax
mov eax, dword [ebp - 4]
call fcn.00405498
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x52b026
call fcn.00404a3c
call fcn.00404a3c
jmp 0x52b0d0
mov eax, ebx
call fcn.00404fd8
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x52b055
call fcn.00404a3c
call fcn.00404a3c
jmp 0x52b0d0
mov eax, dword [ebp + 8]
mov esi, dword [eax - 0xc]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.004051d0
mov eax, dword [ebp - 0x20]
mov ecx, dword [edi]
mov edx, 1
call fcn.004054f8
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.004052a0
cmp dword [edi], 0
jne 0x52b02d
mov eax, dword [ebx]
call fcn.00405298
mov dword [edi], eax
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b0b2
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52b0fa
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404ffc
lea eax, [ebp - 4]
call fcn.00404fd8
ret

Function at 0x52dac4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
dec ecx
test ecx, ecx
jb 0x52dae9
inc ecx
xor esi, esi
xor ebx, ebx
mov bl, byte [edx + esi]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x598d94]
inc esi
dec ecx
jne 0x52dace
pop esi
pop ebx
ret
Function at 0x52dc34
Capabilities:
Create service
Delete service
Query service status
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
mov eax, dword [ebp - 8]
call fcn.00405488
xor eax, eax
push ebp
push 0x52de65
push dword fs:[eax]
mov dword fs:[eax], esp
push 3
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [0x59919c], eax
cmp dword [0x59919c], 0
jbe 0x52de28
cmp dword [0x5991a0], 0
je 0x52dcd5
cmp dword [0x5991c0], 0
jbe 0x52dca6
mov eax, dword [0x5991c0]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov dword [0x5991c0], eax
push 0x5991a4
push 1
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_ControlService
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_DeleteService
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [0x5991a0], eax
push 0xf01ff
mov eax, dword [ebp - 4]
call fcn.00405498
mov ebx, eax
push ebx
mov eax, dword [0x59919c]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [0x5991a0], eax
cmp dword [0x5991a0], 0
ja 0x52dd6b
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_CloseServiceHandle
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00402f74
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040c03c
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0x52de7c
push dword [ebp - 8]
push 0x52de90
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00405358
mov eax, dword [ebp - 0x18]
call fcn.00405498
push eax
push 0
push 3
push 1
push 0xf01ff
push ebx
push ebx
mov eax, dword [0x59919c]
push eax
call sub.advapi32.dll_CreateServiceA
mov dword [0x5991a0], eax
cmp dword [0x5991a0], 0
jbe 0x52de0f
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_StartServiceA
push 0x5991a4
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_QueryServiceStatus
test eax, eax
je 0x52de08
mov ebx, dword [0x5991a8]
cmp ebx, 4
jne 0x52de01
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, 0x52dea0
call fcn.004052e4
mov eax, dword [ebp - 0x1c]
call fcn.00405498
push eax
call sub.KERNEL32.DLL_CreateFileA
mov dword [0x5991c0], eax
cmp dword [0x5991c0], 0xffffffff
jne 0x52de2b
mov eax, dword [0x5991c0]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov dword [0x5991c0], eax
mov ebx, 0xfffffffb
jmp 0x52de2b
mov ebx, 0xfffffffc
jmp 0x52de2b
mov ebx, 0xfffffffd
jmp 0x52de2b
mov ebx, 0xfffffffe
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [0x5991a0], eax
jmp 0x52de2b
or ebx, 0xffffffff
mov eax, dword [0x59919c]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [0x59919c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52de6c
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00404ffc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ffc
ret
Function at 0x52dea8
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x52df9a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [0x5991c0], 0
jbe 0x52dee3
mov eax, dword [0x5991c0]
push eax
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov dword [0x5991c0], eax
cmp dword [0x5991a0], 0
jbe 0x52df1f
push 0x5991a4
push 1
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_ControlService
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_DeleteService
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [0x5991a0], eax
mov bl, 1
jmp 0x52df84
push 1
push 0
push 0
call sub.advapi32.dll_OpenSCManagerA
mov dword [0x59919c], eax
cmp dword [0x59919c], 0
jbe 0x52df72
push 0x24
mov eax, dword [ebp - 4]
call fcn.00405498
push eax
mov eax, dword [0x59919c]
push eax
call sub.advapi32.dll_OpenServiceA
mov dword [0x5991a0], eax
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_DeleteService
mov eax, dword [0x5991a0]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [0x5991a0], eax
mov bl, 1
mov eax, dword [0x59919c]
push eax
call sub.advapi32.dll_CloseServiceHandle
xor eax, eax
mov dword [0x59919c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52dfa1
lea eax, [ebp - 4]
call fcn.00404fd8
ret
Function at 0x52e06c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x52e1d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov byte [ebp - 0x11], 0
mov esi, 0x66
mov ebx, dword [0x5900d0]
mov edi, dword [0x5904d4]
lea edx, [ebp - 0x1c]
mov eax, dword [ebx]
call fcn.0040b05c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0040afb0
test eax, eax
jne 0x52e0d5
mov al, byte [edi]
mov byte [ebp - 0x11], al
jmp 0x52e0dc
inc edi
add ebx, 4
dec esi
jne 0x52e0b5
cmp byte [ebp - 0x11], 0
je 0x52e0e9
mov eax, 1
jmp 0x52e0f1
mov eax, dword [ebp - 4]
call fcn.00405298
test eax, eax
jle 0x52e1b0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
mov esi, 0x66
mov ebx, dword [0x5900d0]
mov edi, dword [0x5904d4]
lea edx, [ebp - 0x20]
mov eax, dword [ebx]
call fcn.0040b05c
mov eax, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx - 1]
call fcn.004051c0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040b05c
mov eax, dword [ebp - 0x24]
pop edx
call fcn.0040afb0
test eax, eax
jne 0x52e153
mov al, byte [edi]
mov byte [ebp - 0x11], al
jmp 0x52e15a
inc edi
add ebx, 4
dec esi
jne 0x52e114
cmp byte [ebp - 0x11], 0
je 0x52e1a4
push 0
xor eax, eax
mov al, byte [ebp - 0x11]
push eax
call sub.user32.dll_MapVirtualKeyA
mov esi, eax
mov eax, esi
mov byte [ebp - 6], al
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 7]
push eax
push 1
lea eax, [ebp - 6]
push eax
push 0x22e000
mov eax, dword [0x5991c0]
push eax
call sub.KERNEL32.DLL_DeviceIoControl
test eax, eax
je 0x52e1a0
mov byte [ebp - 5], 1
jmp 0x52e1a4
mov byte [ebp - 5], 0
inc dword [ebp - 0x10]
dec dword [ebp - 0x18]
jne 0x52e103
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52e1da
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00404ffc
lea eax, [ebp - 4]
call fcn.00404fd8
ret
Function at 0x534b58
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push ecx
mov ebx, eax
mov eax, dword [0x590504]
mov eax, dword [eax]
mov eax, dword [eax + 0x41c]
add eax, 0x80
lea edx, [ebx + 0x9c]
call fcn.0040523c
mov eax, dword [0x590504]
mov eax, dword [eax]
mov edx, dword [eax + 0x41c]
mov eax, dword [0x590504]
mov eax, dword [eax]
call fcn.00517c14
mov dword [esp], eax
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
mov eax, dword [0x59051c]
mov eax, dword [eax]
call fcn.00483044
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0xbb8
jb 0x534b9c
mov edx, esp
mov eax, dword [0x590504]
mov eax, dword [eax]
call fcn.00517cf0
pop edx
pop ebx
ret

Function at 0x534ff4
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [0x594728]
lea edx, [0x535015]
push edx
push edx
mov edx, esp
sysenter
add esp, 0x14
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ecx
pop ebp
ret 0x14
Function at 0x53dd6c
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor eax, eax
mov dword [ebp - 4], eax
call sub.user32.dll_GetForegroundWindow
test eax, eax
je 0x53dde8
push 0
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov dword [ebp - 8], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x53dde8
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_AttachThreadInput
test eax, eax
je 0x53dde8
xor eax, eax
push ebp
push 0x53dde1
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_GetFocus
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53dde8
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_AttachThreadInput
ret
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x553c54
Capabilities:
Get graphical window text
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x553d7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
lea eax, [ebp - 8]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00405248
mov eax, dword [ebp - 8]
mov edx, dword [0x5900b8]
mov edx, dword [edx]
call fcn.004053e4
je 0x553cd2
push 1
mov eax, dword [0x5900b8]
mov eax, dword [eax]
call fcn.00405498
mov edx, eax
lea eax, [ebp - 0x108]
call fcn.0040c384
push eax
call sub.user32.dll_LoadKeyboardLayoutA
mov eax, dword [ebp - 4]
call fcn.00405298
mov esi, eax
test esi, esi
jle 0x553d25
mov ebx, 1
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx - 1]
call fcn.00403040
and eax, 0xff
push 0
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
add eax, 0xc0000001
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
push eax
push 0x102
mov eax, dword [edi + 0x43c4]
push eax
call sub.user32.dll_SendMessageA
inc ebx
dec esi
jne 0x553ce5
push 0
push 0xd
push 0x102
mov eax, dword [edi + 0x43c4]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebp - 8]
mov edx, dword [0x5900b8]
mov edx, dword [edx]
call fcn.004053e4
je 0x553d64
push 1
mov edx, 0x553d90
lea eax, [ebp - 0x108]
call fcn.0040c384
push eax
call sub.user32.dll_LoadKeyboardLayoutA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x553d86
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404ffc
ret

Function at 0x5572cc
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 8]
mov esi, dword [esi + 0x14]
add esi, 0xfffffef4
mov eax, dword [esi]
cmp dword [eax + 0x105e0c], 0
jne 0x5572f8
cmp dword [eax + 0x105e08], 0
jbe 0x557323
jmp 0x5572fa
jle 0x557323
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
je 0x557323
fild qword [ebp - 8]
mov eax, dword [esi]
fild qword [eax + 0x105e08]
fdivp st(1)
fmul dword [0x557388]
call fcn.004030cc
add ebx, eax
jmp 0x55732a
call sub.KERNEL32.DLL_GetTickCount
add ebx, eax
mov eax, dword [esi]
cmp byte [eax + 0x71], 0
jne 0x557381
push 1
call sub.KERNEL32.DLL_Sleep_1
mov eax, dword [esi]
cmp dword [eax + 0x105e0c], 0
jne 0x55734f
cmp dword [eax + 0x105e08], 0
jbe 0x557378
jmp 0x557351
jle 0x557378
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
test eax, eax
je 0x557378
fild qword [ebp - 8]
mov eax, dword [esi]
fild qword [eax + 0x105e08]
fdivp st(1)
fmul dword [0x557388]
call fcn.004030cc
jmp 0x55737d
call sub.KERNEL32.DLL_GetTickCount
cmp ebx, eax
ja 0x55732a
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x57a724
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov edi, 0x5996f8
movzx eax, dx
mov edx, dword [edi]
mov dword [edx + 0x20], eax
push 0
mov esi, ebx
and esi, 0xff
push esi
call sub.user32.dll_MapVirtualKeyA
mov edx, eax
mov eax, ebx
call fcn.0057a70c
movzx eax, ax
mov edx, dword [edi]
mov dword [edx + 0x24], eax
push 0
push esi
call sub.user32.dll_MapVirtualKeyA
mov edx, dword [edi]
mov dword [edx + 0x28], eax
push 0
push 0x14
mov eax, dword [edi]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx]
call fcn.00405fc8
imul eax, eax, 0x32
mov edx, dword [edi]
mov dword [edx + 0x2c], eax
mov eax, dword [edi]
xor edx, edx
mov dword [eax + 0x30], edx
mov eax, dword [edi]
lea edx, [eax + 0x20]
mov eax, dword [edi]
mov eax, dword [eax + 0x38]
mov ecx, 0x14
mov ebx, dword [eax]
call dword [ebx + 0x10]
pop edi
pop esi
pop ebx
ret

Function at 0x57a8d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405488
xor eax, eax
push ebp
push 0x57aa11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5996f8]
mov eax, dword [eax + 0x38]
call fcn.004200d0
mov eax, dword [0x5996f8]
call fcn.0057a6c0
xor edi, edi
mov esi, 1
mov eax, dword [ebp - 4]
mov al, byte [eax + esi - 1]
mov edx, eax
sub dl, 0x40
je 0x57a9bc
sub dl, 0x1e
je 0x57a9c5
sub dl, 0x1d
je 0x57a947
sub dl, 3
je 0x57a9ce
jmp 0x57a9d7
mov byte [ebp - 0xd], 0
inc esi
jmp 0x57a97e
lea eax, [ebp - 0x14]
mov edx, ebx
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xd]
mov cl, 7
call fcn.00403500
inc esi
cmp byte [ebp - 0xd], 0xc
jbe 0x57a97e
mov eax, dword [ebp - 4]
cmp byte [eax + esi - 1], 0x7d
je 0x57a97e
mov edi, 2
jmp 0x57a9f3
mov eax, dword [ebp - 4]
mov bl, byte [eax + esi - 1]
cmp bl, 0x7d
jne 0x57a94e
lea eax, [ebp - 0x18]
lea edx, [ebp - 0xd]
call fcn.0040523c
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 5]
call fcn.00499818
test al, al
jne 0x57a9ab
mov edi, 2
jmp 0x57a9f3
xor edx, edx
mov al, byte [ebp - 5]
call fcn.0057a70c
call fcn.0057a814
jmp 0x57a9e2
mov byte [0x5996fc], 1
jmp 0x57a9e2
mov byte [0x5996fd], 1
jmp 0x57a9e2
mov byte [0x5996fe], 1
jmp 0x57a9e2
push eax
call sub.user32.dll_VkKeyScanA
call fcn.0057a814
inc esi
mov eax, dword [ebp - 4]
call fcn.00405298
cmp esi, eax
jle 0x57a919
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57aa18
lea eax, [ebp - 0x18]
call fcn.00404fd8
lea eax, [ebp - 4]
call fcn.00404fd8
ret
Function at 0x57aefc
Capabilities:
Get number of processors
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, 0x57aaac
call fcn.0040747c
mov ebx, dword [0x590504]
xor eax, eax
push ebp
push 0x57b0d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x590214]
mov byte [eax], 1
mov eax, dword [0x59051c]
mov eax, dword [eax]
xor edx, edx
call fcn.00482d50
mov eax, dword [0x59051c]
mov eax, dword [eax]
call fcn.00483158
mov eax, dword [0x59051c]
mov eax, dword [eax]
call fcn.00483044
mov ecx, dword [0x590368]
mov eax, dword [0x59051c]
mov eax, dword [eax]
mov edx, dword [0x4ec80c]
call fcn.00483170
mov ecx, ebx
mov eax, dword [0x59051c]
mov eax, dword [eax]
mov edx, dword [0x4f181c]
call fcn.00483170
push 0
mov eax, dword [0x59051c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx]
mov eax, dword [eax + 0x12ec]
mov edx, dword [eax]
call dword [edx + 0xc8]
test al, al
je 0x57afc2
mov eax, dword [ebx]
cmp byte [eax + 0x14de], 0
je 0x57afc2
push 0
mov eax, dword [ebx]
call fcn.00469a3c
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx]
mov esi, dword [eax + 0x141c]
test esi, esi
je 0x57b00f
mov eax, dword [ebx]
cmp byte [eax + 0x57], 0
je 0x57b00f
cmp byte [esi + 0x57], 0
je 0x57b00f
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x57b00f
mov eax, dword [ebx]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x26c]
mov edx, dword [ebx]
cmp eax, dword [edx + 0x300]
jne 0x57b00f
mov eax, dword [ebx]
mov eax, dword [eax + 0x141c]
mov edx, dword [eax]
call dword [edx + 0xc4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x41c]
cmp byte [eax + 0x21a], 0
je 0x57b027
mov eax, dword [ebx]
call fcn.00523acc
mov al, byte [0x57b0e4]
push eax
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x57b0f0
mov eax, 0x57b0fc
call fcn.00410c50
mov edx, dword [ebp - 0x14]
mov eax, 0x599704
call fcn.0040502c
mov eax, dword [0x599704]
call fcn.0040b6e8
imul esi, eax, 0x64
mov eax, dword [ebx]
cmp esi, dword [eax + 0x1458]
jle 0x57b077
mov eax, dword [ebx]
xor edx, edx
call fcn.0051a15c
mov eax, dword [ebx]
mov dword [eax + 0x1458], esi
xor eax, eax
push ebp
push 0x57b09b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x59051c]
mov eax, dword [eax]
call fcn.004831f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x57b0bd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57b0da
lea eax, [ebp - 0x14]
call fcn.00404fd8
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219