joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10013e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x100
push 0
push 0x112831a0
mov ebx, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
nop
mov cl, byte [eax + 0x1001f070]
sub cl, 0x1b
xor cl, 0xc
mov byte [eax + 0x112831a0], cl
inc eax
cmp eax, 0x100
jb 0x10013e90
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push 1
push eax
push 0x112831a0
push 0
mov ecx, 0x10125568
call fcn.1000aff0
mov eax, dword [0x1012f41c]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x14
test eax, eax
je 0x10013f02
push 0
push 0
push 0x10
push eax
call esi
mov ecx, dword [0x11282a24]
mov edx, dword [0x1012f434]
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
push ecx
push edx
mov dword [0x1012f41c], 0
call edi
jmp 0x10013f08
mov edi, dword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, dword [0x1012f544]
test eax, eax
je 0x10013f33
push 0
push 0
push 0x10
push eax
call esi
mov eax, dword [0x11282a24]
mov ecx, dword [0x1012f55c]
push eax
push ecx
mov dword [0x1012f544], 0
call edi
mov eax, dword [0x1012f66c]
test eax, eax
je 0x10013f5e
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x11282a24]
mov eax, dword [0x1012f684]
push edx
push eax
mov dword [0x1012f66c], 0
call edi
mov eax, dword [ebp + 8]
sub eax, 0
je 0x10013f82
dec eax
je 0x10013f76
dec eax
jne 0x10013f8e
lea ecx, [eax + 0x6a]
mov eax, 0x2b2bb9
jmp 0x10013f94
mov ecx, 0x69
mov eax, 0x116896
jmp 0x10013f94
mov ecx, 0x67
mov eax, 0x9ca476
jmp 0x10013f94
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push eax
push edx
call fcn.10012a50
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
mov ecx, ebx
mov edi, 0x10013dd0
mov dword [ebx + 8], eax
call fcn.10015a60
mov eax, dword [ebx + 8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10014006
push 0
push 0
push 0x10
push eax
call esi
mov edx, dword [0x11282a24]
mov eax, dword [ebx + 0x1c]
push edx
push eax
mov dword [ebx + 4], 0
call dword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.10015a20
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x10015770
Capabilities:
Encode data using xor

Disassembly:
push esi
push 0x100
push 0
push 0x112831a0
mov esi, eax
call sub.MSVCR100.dll_memset
add esp, 0xc
xor eax, eax
shl esi, 8
lea ecx, [esi + 0x1001c670]
pop esi
mov dl, byte [ecx + eax]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x112831a0], dl
inc eax
cmp eax, 0x100
jb 0x10015793
mov eax, 0x112831a0
ret

Function at 0x10015a60
Capabilities:
Allocate or change rwx memory
Create thread
Encode data using xor
Encrypt data using rc4 ksa
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x10025018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x2f4], eax
push esi
mov ecx, 0xd6
xor eax, eax
mov dl, byte [eax + 0x10020738]
xor dl, cl
inc ecx
mov byte [ebp + eax - 0x18], dl
inc eax
and ecx, 0xff
cmp eax, 0x12
jb 0x10015a87
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x3f668bdf
lea eax, [ebp - 0x24]
mov byte [ebp - 6], 0
call fcn.10016480
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call dword [sym.imp.MSVCR100.dll_rand]
cdq
mov ecx, 0x3e8
idiv ecx
lea esi, [edx + 0x49a551]
lea edx, [ebp - 0x2f8]
push edx
push 0x40
push 0x100
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x2f4]
push eax
push 0
push ebx
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea ecx, [ebp - 0x2f0]
push ecx
mov ebx, 0x10002
push esi
mov dword [ebp - 0x2f0], ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
lea edx, [ebp - 0x2f0]
push edx
push esi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x2f0], ebx
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018e16
mov esp, ebp
pop ebp
ret 4
Function at 0x10015b60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
nop
nop
nop
nop
nop
mov dword [ebp - 4], 0
nop
nop
nop
nop
nop
pushal
pushfd
nop
nop
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp + 8]
jne 0x10015ba8
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10015bac
cmp edx, esi
jne 0x10015b91
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp + 8]
jne 0x10015bcc
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10015bd0
cmp edx, esi
jne 0x10015bb5
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp + 8]
jne 0x10015bf0
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x10015bf4
cmp edx, esi
jne 0x10015bd9
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10016be0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x1012553c]
push edi
cmp esi, dword [0x10125540]
je 0x10016cae
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
nop
cmp byte [esi], 2
jne 0x10016c1e
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 1]
push ecx
xor ebx, ebx
push closesocket
mov dword [ebp - 4], ebx
call edi
cmp dword [ebp - 4], ebx
jne 0x10016c33
add esi, 0x105
cmp esi, dword [0x10125540]
jne 0x10016c00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x10125540]
mov esi, dword [0x1012553c]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10016c96
xor edi, edi
cmp byte [edi + esi], 2
jne 0x10016c72
lea ecx, [edi + esi + 1]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov esi, dword [0x1012553c]
mov ecx, dword [0x10125540]
sub ecx, esi
mov eax, 0x7d8c42b3
imul ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
inc ebx
add eax, edx
add edi, 0x105
cmp ebx, eax
jb 0x10016c56
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 6
xor ecx, ecx
call fcn.10002f20
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10016ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10017080
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10016fa4
cmp dword [ebp - 4], 0x50000000
jb 0x10016f21
cmp dword [ebp - 4], 0x80000000
ja 0x10016f21
mov dword [ebp - 4], 0x4fff0000
jmp 0x10016efa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10016f47
jmp 0x10016fa4
cmp dword [ebp - 0x14], 0x10000
jne 0x10016f8a
cmp dword [ebp - 0x18], 0x10000
jb 0x10016f8a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10016f7d
mov eax, dword [ebp - 8]
jmp 0x10016fa6
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10016f9f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10017080
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10016efa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10016fb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100170b0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1001706c
cmp dword [ebp - 4], 0x50000000
jb 0x10016fec
cmp dword [ebp - 4], 0x80000000
ja 0x10016fec
mov dword [ebp - 4], 0x80010000
jmp 0x10016fc5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10017012
jmp 0x1001706c
cmp dword [ebp - 0x14], 0x10000
jne 0x10017055
cmp dword [ebp - 0x18], 0x10000
jb 0x10017055
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10017048
mov eax, dword [ebp - 8]
jmp 0x1001706e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10017067
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100170b0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10016fc5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100177e0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100177f5
xor eax, eax
jmp 0x1001786a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x10017822
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10017865
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10017863
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x1001785f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10017863
xor eax, eax
jmp 0x1001786a
jmp 0x10017819
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10017a30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1012fab8]
mov dword [ebp - 4], eax
jmp 0x10017a49
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10017a66
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10017a40
mov esp, ebp
pop ebp
ret
Function at 0x10017eb0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1012fac8], eax
je 0x10017ece
mov eax, 0x10dd
jmp 0x10017faf
mov eax, dword [0x1012fad8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10017f4c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10017f2a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10017f2a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10017550
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10017ed6
mov dword [0x1012fad8], 0
call fcn.10017870
mov ecx, dword [0x1012fad4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10017f99
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10017f64
mov dword [0x1012fad4], 0
mov dword [0x1012fac8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100184b0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1012facc], 0
je 0x100184c9
mov eax, dword [0x1012facc]
jmp 0x10018569
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x100184db
xor eax, eax
jmp 0x10018569
push 8
call fcn.10018f2a
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10018531
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1001851a
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1012facc], eax
mov dword [0x1012fad0], 0
mov eax, dword [ebp - 8]
jmp 0x10018569
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1001854b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100184fb
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1012fad4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1012fad4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10018e16
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10025018]
jne 0x10018e20
repz ret
jmp fcn.10019359
Function at 0x10004610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008e758
push 0x10074aac
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10093400]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ebx, edx
mov esi, ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 8]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 5
mov byte [esi], 0xe9
mov dword [esi + 1], ebx
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x10004680
mov byte [esi + eax], 0x90
inc eax
jmp 0x10004672
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000469a
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10074adb
mov esp, ebp
pop ebp
ret

Function at 0x10005a30
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10093400]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov edi, edx
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], eax
push ecx
push 0x40
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
push 1
call esi
push dword [ebp + 8]
push edi
mov edi, dword [ebp - 0xc]
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
push 1
call esi
push 1
call esi
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10074adb
mov esp, ebp
pop ebp
ret
Function at 0x100076c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
mov eax, dword [0x10093400]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10007752
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0x128
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10007752
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
nop
push dword [ebp - 0x138]
lea eax, [ebp - 0x10c]
push eax
call edi
add esp, 8
test eax, eax
je 0x10007746
lea eax, [ebp - 0x130]
push eax
push esi
call ebx
test eax, eax
jne 0x10007720
jmp 0x10007752
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x134], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x134]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10074adb
mov esp, ebp
pop ebp
ret
Function at 0x10007e00
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10093400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10094a70]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [0x10094cc4], eax
lea edi, [eax + 0x10]
cmp edi, 0x1000
jbe 0x10007e53
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x3c]
cmp edi, 0x1000
jbe 0x10007e80
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x40]
cmp edi, 0x1000
jbe 0x10007ead
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x44]
cmp edi, 0x1000
jbe 0x10007eda
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x48]
cmp edi, 0x1000
jbe 0x10007f07
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x4c]
cmp edi, 0x1000
jbe 0x10007f34
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x50]
cmp edi, 0x1000
jbe 0x10007f61
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x54]
cmp edi, 0x1000
jbe 0x10007f8e
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
lea edi, [eax + 0x58]
cmp edi, 0x1000
jbe 0x10007fbb
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], fcn.10007df0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
mov eax, dword [0x10094cc4]
cmp dword [0x10094bb4], 0
jne 0x10007ffa
lea edi, [eax + 0x34]
push ebx
cmp edi, 0x1000
jbe 0x10007ff1
mov ebx, dword [edi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push edi
call esi
lea eax, [ebp - 0xc]
mov dword [edi], 0x10007dc0
push eax
push dword [ebp - 8]
push 4
push edi
call esi
jmp 0x10007ff3
xor ebx, ebx
mov dword [0x10094bb4], ebx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10074adb
mov esp, ebp
pop ebp
ret
Function at 0x1000ae20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10093400]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [0x1008dbb4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
or esi, 0xffffffff
movss dword [ebp - 8], xmm0
xor ebx, ebx
nop dword [eax + eax]
mov ecx, ebx
call fcn.10008040
test eax, eax
jle 0x1000afce
mov ecx, dword [0x10094b2c]
sub ecx, dword [0x10096b54]
add ecx, dword [0x10096c80]
mov eax, dword [0x10096d28]
mov cl, byte [ecx + eax]
mov al, bl
not cl
not al
xor cl, al
test cl, 1
je 0x1000afce
mov eax, dword [0x10094dfc]
lea ecx, [ebp - 0x14]
mov edx, ebx
push dword [eax*4 + 0x10089a2c]
call fcn.100080d0
add esp, 4
test al, al
je 0x1000afce
movq xmm0, qword [ebp - 0x14]
sub esp, 0xc
mov eax, dword [ebp - 0xc]
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0x20]
call fcn.100081b0
add esp, 0xc
test al, al
je 0x1000afce
mov eax, dword [0x10094b94]
cvttss2si edx, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
cvttss2si ecx, dword [ebp - 0x20]
addsd xmm0, qword [eax*8 + 0x1008dbc0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008dae0]
cvttss2si eax, xmm0
push eax
mov eax, dword [0x10094b90]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008dbc0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x1008dae0]
cvttss2si eax, xmm0
push eax
call fcn.1000ac50
movss xmm1, dword [ebp - 8]
add esp, 8
cvtps2pd xmm1, xmm1
comisd xmm1, xmm0
jbe 0x1000afce
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movd xmm0, dword [0x10094d40]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm1
comiss xmm0, xmm1
jbe 0x1000afce
mov ecx, dword [0x100949a4]
lea eax, [ecx - 1]
cmp eax, 3
ja case.default.0x1000af74
jmp dword [eax*4 + 0x1000aff8]
mov eax, 1
mov dword [0x10094cb4], eax
jmp 0x1000afb0
mov eax, 2
mov dword [0x10094cb4], eax
jmp 0x1000afb0
mov eax, 0x11
mov dword [0x10094cb4], eax
jmp 0x1000afb0
mov eax, 0x10
mov dword [0x10094cb4], eax
jmp 0x1000afb0
mov eax, dword [0x10094cb4]
test ecx, ecx
je 0x1000afc5
push eax
call edi
test ax, ax
js 0x1000afc5
cmp dword [0x100949a4], 0
jne 0x1000afce
mov esi, ebx
mov byte [0x10094ac3], 1
inc ebx
cmp ebx, 0xf
jle 0x1000ae50
mov eax, esi
cmp esi, 0xffffffff
jne 0x1000afe6
mov byte [0x10094ac3], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10074adb
mov esp, ebp
pop ebp
ret

Function at 0x1000b010
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 0x10
test eax, eax
je 0x1000b06a
cmp byte [edi*8 + 0x100976a0], 0
lea esi, [edi*8 + 0x100976a4]
je 0x1000b04f
cmp dword [esi], 0
je 0x1000b072
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
add ecx, dword [ebp - 4]
cmp ecx, eax
ja 0x1000b072
mov byte [edi*8 + 0x100976a0], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi], eax
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov byte [edi*8 + 0x100976a0], 0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret