joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005b5c0
Capabilities:
Hash data using md4
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1005b606
mov edx, dword [esp + 4]
lea ecx, [esp + 8]
push ecx
push 0
push 0
push 0x8002
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.1001c090
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push 0
lea eax, [esp + 8]
push eax
push 0
push 2
push ecx
mov dword [esp + 0x18], 0
call esi
cmp dword [esp + 4], 0x10
jne 0x1005b663
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
push 0
lea edx, [esp + 8]
push edx
push eax
push 2
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
test eax, eax
je 0x1005b673
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [esp + 4]
test eax, eax
je 0x1005b684
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
add esp, 0xc
ret
Function at 0x1005c2a0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 8
push 0xf0000040
push 0x18
push 0
push 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x1005c2d5
mov edx, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0
push 0
push 0x800c
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov eax, dword [esp + 0x14]
push eax
call fcn.1001c090
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
add esp, 4
push 0
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov ecx, dword [esp + 0xc]
lea eax, [esp]
push eax
push ecx
call fcn.1005c230
xor eax, eax
add esp, 0x10
ret

Function at 0x1005c310
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [section..data]
mov edi, eax
add esp, 4
test edi, edi
jne 0x1005c335
pop edi
pop esi
pop ecx
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
push ebx
add edx, eax
push ebp
mov ebp, dword [esp + 0x20]
mov dword [edi + 8], edx
cmp ebp, dword [esi + 0x10]
jbe 0x1005c37c
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebp
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov ebp, dword [esi + 0x14]
add esp, 0x18
jmp 0x1005c380
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 4]
mov ecx, dword [esi]
push eax
call ecx
mov edx, dword [edi + 8]
mov eax, dword [esi]
push edx
call eax
add esp, 8
mov dword [esp + 0x10], 0
test ebp, ebp
je 0x1005c3dc
mov dword [esp + 0x10], ebp
mov cl, byte [ebx]
xor cl, 0x36
mov byte [esp + 0x18], cl
mov eax, dword [edi + 4]
mov ecx, dword [esi + 4]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
call ecx
mov dl, byte [ebx]
xor dl, 0x5c
mov byte [esp + 0x24], dl
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
lea eax, [esp + 0x28]
push eax
push ecx
inc ebx
call edx
add esp, 0x18
dec ebp
jne 0x1005c3a3
mov eax, dword [esp + 0x10]
pop ebp
pop ebx
cmp eax, dword [esi + 0x10]
jae 0x1005c418
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
push 0x1008d44c
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi + 4]
push 1
push 0x1008d44d
push eax
call ecx
mov eax, dword [esp + 0x20]
inc eax
add esp, 0x18
mov dword [esp + 8], eax
cmp eax, dword [esi + 0x10]
jb 0x1005c3e7
mov eax, edi
pop edi
pop esi
pop ecx
ret

Function at 0x1005cc54
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100a3428]
jne 0x1005cc5e
repz ret
jmp fcn.1005d669
Function at 0x1005daa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100605a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb4
mov eax, dword [0x100a3428]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xac], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0x94
push 0
lea eax, [ebp - 0xa8]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0xa8], 0x94
lea ecx, [ebp - 0xa8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x98], 2
jne 0x10060671
cmp dword [ebp - 0xac], 0
jne 0x10060621
mov ecx, dword [ebp - 0xb4]
call fcn.10060180
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x1006063b
mov ecx, dword [ebp - 0xb4]
call fcn.1005f960
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x10060655
mov ecx, dword [ebp - 0xb4]
call fcn.1005fd60
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x1006066f
mov ecx, dword [ebp - 0xb4]
call fcn.100603b0
mov dword [ebp - 0xac], eax
jmp 0x100606bb
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xb0], 0
jmp 0x10060696
mov edx, dword [ebp - 0xb0]
add edx, 1
mov dword [ebp - 0xb0], edx
cmp dword [ebp - 0xb0], 0xa
jge 0x100606bb
cmp dword [ebp - 0xac], 0
jne 0x100606bb
mov ecx, dword [ebp - 0xb4]
call fcn.1005fbc0
mov dword [ebp - 0xac], eax
jmp 0x10060687
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1005cc54
mov esp, ebp
pop ebp
ret

Function at 0x10062dd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
add eax, 5
push eax
call dword [sym.imp.MSVCR100.dll_malloc]
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 4]
push ecx
push 0x40
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 8]
add ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov byte [edx], 0xe9
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x10]
sub eax, dword [ebp - 8]
sub eax, 5
mov ecx, dword [ebp - 8]
mov dword [ecx + 1], eax
mov edx, dword [ebp + 8]
mov byte [edx], 0xe9
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sub eax, 5
mov ecx, dword [ebp + 8]
mov dword [ecx + 1], eax
mov dword [ebp - 0xc], 5
jmp 0x10062e59
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0x10]
jge 0x10062e6c
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0xc]
mov byte [ecx], 0x90
jmp 0x10062e50
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
sub eax, dword [ebp + 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10062e90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x100a3428]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0xf
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], 0x128
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32First]
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
je 0x10062f19
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10062efd
mov eax, dword [ebp - 0x128]
jmp 0x10062f28
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x138], eax
jmp 0x10062ed7
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cc54
mov esp, ebp
pop ebp
ret
Function at 0x10063730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x100a3428]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x280], ecx
mov dword [ebp - 0x64], 0
xor eax, eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
push 0x3d713a10
lea ecx, [ebp - 0x10]
call fcn.10006fc0
mov dword [ebp - 0x284], eax
mov ecx, dword [ebp - 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x279], al
lea ecx, [ebp - 0x10]
call fcn.10004a90
movzx edx, byte [ebp - 0x279]
test edx, edx
je 0x100637f6
push 0x104
lea eax, [ebp - 0x170]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0x91891964
push ecx
lea ecx, [ebp - 0x28]
call fcn.10007040
mov dword [ebp - 0x288], eax
lea edx, [ebp - 0x170]
push edx
mov eax, dword [ebp - 0x288]
push eax
lea ecx, [ebp - 0x278]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.10004ac0
lea edx, [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x54], eax
jmp 0x10063821
push 0x3d713a34
lea ecx, [ebp - 0x34]
call fcn.10006fc0
mov dword [ebp - 0x28c], eax
mov eax, dword [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x34]
call fcn.10004a90
cmp dword [ebp - 0x54], 0
jne 0x10063840
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x64]
mov dword [ecx], edx
mov eax, dword [ebp - 0x60]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x5c]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x100638a7
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x50], eax
push 0x4be556b9
lea ecx, [ebp - 0x4c]
call fcn.100070c0
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
push ecx
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x4c]
call fcn.10004af0
push 0xc
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x58]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x64]
mov dword [edx], eax
mov ecx, dword [ebp - 0x60]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x5c]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005cc54
mov esp, ebp
pop ebp
ret 8
Function at 0x100639a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ecx, dword [ebp + 0x10]
shl ecx, 2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
lea ecx, [eax + ecx*4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax + ecx*4]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ecx + edx*4], eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 8]
push edx
push 4
mov eax, dword [ebp + 0x10]
shl eax, 2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [edx + eax*4]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10063c70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x10063c9a
mov ecx, dword [ebp - 4]
and ecx, 0x10
je 0x10063c9a
mov dword [ebp - 8], 1
jmp 0x10063ca1
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x10064090
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x10064d00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
test edx, edx
je 0x10064d7e
mov eax, dword [ebp + 8]
movzx ecx, byte [eax*8 + 0x100c8830]
test ecx, ecx
je 0x10064d54
mov edx, dword [ebp + 8]
cmp dword [edx*8 + 0x100c8834], 0
je 0x10064d7c
mov eax, dword [ebp + 8]
mov esi, dword [eax*8 + 0x100c8834]
add esi, dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, eax
ja 0x10064d7c
mov ecx, dword [ebp + 8]
mov byte [ecx*8 + 0x100c8830], 1
cmp dword [ebp + 0xc], 0
jbe 0x10064d75
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp + 8]
mov dword [edx*8 + 0x100c8834], eax
mov eax, 1
jmp 0x10064d8b
jmp 0x10064d89
mov eax, dword [ebp + 8]
mov byte [eax*8 + 0x100c8830], 0
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10064fe0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x100a3428]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push eax
call fcn.10062e90
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10065108
push 0x128
push 0
lea ecx, [ebp - 0x138]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x138], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10065108
mov dword [ebp - 0x13c], 1
cmp dword [ebp - 0x13c], 0
je 0x100650c8
mov ecx, dword [ebp - 0x120]
cmp ecx, dword [ebp - 4]
jne 0x100650af
mov edx, dword [ebp - 0x130]
push edx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x100650af
push 1
mov eax, dword [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x144]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea edx, [ebp - 0x138]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [ebp - 0x13c], eax
jmp 0x1006505c
mov ecx, dword [ebp - 4]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x10065108
push 1
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1006510a
xor al, al
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1005cc54
mov esp, ebp
pop ebp
ret
Function at 0x10065880
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
mov eax, dword [0x100a3428]
xor eax, ebp
mov dword [ebp - 8], eax
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.100029e0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100658b3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp + 8], ecx
mov dword [ebp - 0x130], 0x128
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x100658dd
xor eax, eax
jmp 0x10065a74
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_Process32First]
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax]
mov byte [ebp - 0x13d], cl
mov edx, dword [ebp - 0x138]
cmp cl, byte [edx]
jne 0x10065964
cmp byte [ebp - 0x13d], 0
je 0x10065958
mov eax, dword [ebp - 0x13c]
mov cl, byte [eax + 1]
mov byte [ebp - 0x13e], cl
mov edx, dword [ebp - 0x138]
cmp cl, byte [edx + 1]
jne 0x10065964
add dword [ebp - 0x13c], 2
add dword [ebp - 0x138], 2
cmp byte [ebp - 0x13e], 0
jne 0x10065906
mov dword [ebp - 0x144], 0
jmp 0x1006596f
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x148], ecx
cmp dword [ebp - 0x148], 0
jne 0x1006599c
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x128]
jmp 0x10065a74
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x10065a65
lea edx, [ebp - 0x10c]
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
mov dl, byte [ecx]
mov byte [ebp - 0x151], dl
mov eax, dword [ebp - 0x14c]
cmp dl, byte [eax]
jne 0x10065a2b
cmp byte [ebp - 0x151], 0
je 0x10065a1f
mov ecx, dword [ebp - 0x150]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x152], dl
mov eax, dword [ebp - 0x14c]
cmp dl, byte [eax + 1]
jne 0x10065a2b
add dword [ebp - 0x150], 2
add dword [ebp - 0x14c], 2
cmp byte [ebp - 0x152], 0
jne 0x100659cd
mov dword [ebp - 0x158], 0
jmp 0x10065a36
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x158], ecx
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x15c], edx
cmp dword [ebp - 0x15c], 0
jne 0x10065a60
mov eax, dword [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x128]
jmp 0x10065a74
jmp 0x1006599c
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1005cc54
mov esp, ebp
pop ebp
ret
Function at 0x10068790
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007df7c
mov eax, dword fs:[0]
push eax
mov eax, 0x13f8
call fcn.1005d480
mov eax, dword [0x100a3428]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1404], 0
push 0x1008e5b1
lea ecx, [ebp - 0x1400]
call fcn.100011e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1400]
push eax
lea ecx, [ebp - 0x13dd]
call fcn.10003790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1400]
call fcn.100012f0
push 0x6c078965
push 0xffffffffffffffff
lea ecx, [ebp - 0x13dd]
call fcn.100037b0
push eax
lea ecx, [ebp - 0x13dc]
call fcn.10004eb0
push 0x7a
push 0x61
lea ecx, [ebp - 0x50]
call fcn.10004ee0
lea ecx, [ebp - 0x48]
call fcn.100011b0
mov dword [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10003ad0
mov dword [ebp - 0x13e4], 0
jmp 0x10068864
mov edx, dword [ebp - 0x13e4]
add edx, 1
mov dword [ebp - 0x13e4], edx
mov eax, dword [ebp - 0x13e4]
cmp eax, dword [ebp + 0xc]
jge 0x10068889
lea ecx, [ebp - 0x13dc]
push ecx
lea ecx, [ebp - 0x50]
call fcn.10007aa0
push eax
lea ecx, [ebp - 0x48]
call fcn.10001310
jmp 0x10068855
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp + 8]
call fcn.10001260
mov eax, dword [ebp - 0x1404]
or eax, 1
mov dword [ebp - 0x1404], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.100012f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005cc54
mov esp, ebp
pop ebp
ret

Function at 0x100688d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], 0
lea eax, [ebp - 8]
push eax
call fcn.10064df0
add esp, 4
lea ecx, [ebp - 8]
push ecx
call fcn.10064e10
add esp, 4
mov dword [ebp - 0x10], eax
push 0xff
push 0x100c1258
push 0x100c57e4
push 0x100ca59c
push 0x100c138c
push 0xff
push 0x100c56e0
push 0x1009cb0c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
push 0x100
call fcn.1005cc37
add esp, 4
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
mov eax, dword [0x100c138c]
push eax
push 0x1009cb10
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp + 8]
call fcn.100011e0
mov eax, dword [ebp - 0x18]
or eax, 1
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x1006d3a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
movzx eax, byte [0x100c1357]
test eax, eax
jne 0x1006d3f7
push 0x100c9500
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.d3dx9_43.dll_D3DXCreateLine]
mov edx, dword [ebp + 8]
push edx
push 0x2bc
push 0xd
push 0x1009c940
call fcn.10064dc0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0x2bc
push 0xd
push str.Tahoma
call fcn.10064d90
add esp, 0x10
mov byte [0x100c1357], 1
cmp dword [0x100c0e50], 0
je 0x1006d409
cmp dword [0x100c94f4], 0
jne 0x1006d414
mov ecx, dword [0x100c57e0]
call fcn.10003500
cmp dword [0x100c0e50], 0
jne 0x1006d432
mov ecx, dword [0x100c0e50]
mov edx, dword [ecx]
mov eax, dword [0x100c0e50]
push eax
mov ecx, dword [edx + 0x40]
call ecx
jmp 0x1006d469
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 1
je 0x1006d455
movzx eax, byte [0x100cbe79]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x100cbe79], al
movzx ecx, byte [0x100cbe79]
test ecx, ecx
je 0x1006d469
mov edx, dword [ebp + 8]
push edx
call fcn.1006afb0
popal
mov eax, dword [ebp + 8]
push eax
call dword [0x100cbe70]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x1006d600
Capabilities:
Log keystrokes via polling
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
pushal
movzx eax, byte [0x100c1357]
test eax, eax
je 0x1006d61e
cmp dword [0x100c179c], 0
jne 0x1006d66e
push 0x100c9500
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.d3dx9_43.dll_D3DXCreateLine]
mov edx, dword [ebp + 8]
push edx
push 0x2bc
push 0xd
push 0x1009c49c
call fcn.10064dc0
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
push 0x2bc
push 0xd
push 0x1009c4a4
call fcn.10064d90
add esp, 0x10
mov byte [0x100c1357], 1
mov dword [0x100c179c], 1
cmp dword [0x100c0e50], 0
je 0x1006d680
cmp dword [0x100c94f4], 0
jne 0x1006d68b
mov ecx, dword [0x100c57e0]
call fcn.10003500
cmp dword [0x100c0e50], 0
jne 0x1006d6ac
mov ecx, dword [0x100c0e50]
mov edx, dword [ecx]
mov eax, dword [0x100c0e50]
push eax
mov ecx, dword [edx + 0x40]
call ecx
jmp 0x1006d768
cmp dword [0x100c6a88], 0
jne 0x1006d6ee
push 0x2d
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
and edx, 1
je 0x1006d6d8
movzx eax, byte [0x100a364d]
neg eax
sbb eax, eax
add eax, 1
mov byte [0x100a364d], al
movzx ecx, byte [0x100a364d]
test ecx, ecx
je 0x1006d6ec
mov edx, dword [ebp + 8]
push edx
call fcn.1006afb0
jmp 0x1006d768
mov eax, dword [ebp + 8]
push eax
call fcn.10068590
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
mov ecx, 0x100c6ac8
call fcn.10068b50
mov edx, dword [ebp + 8]
push edx
call fcn.10065870
add esp, 4
push 0x100ca5d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 0xc0]
call eax
mov ecx, dword [0x100ca5d8]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
fild qword [ebp - 8]
fdiv qword [0x1009df70]
fstp dword [0x100cbe68]
mov edx, dword [0x100ca5dc]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], 0
fild qword [ebp - 0x10]
fdiv qword [0x1009df70]
fstp dword [0x100cbe6c]
popal
mov eax, dword [ebp + 8]
push eax
call dword [0x100cbe70]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4