joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1005a0f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x101075c0]
push edi
cmp byte [esi + 0x2e2c], 0
je 0x1005a18f
cmp dword [esi + 0x2e34], 0
lea edi, [esi + 0x2e38]
je 0x1005a181
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1005a139
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1005b7b0
lea eax, [ebp + 0xc]
mov dword [edi], 0
push eax
push dword [ebp + 8]
mov ecx, edi
call fcn.1004be90
mov edx, dword [edi]
mov ecx, 0x101075b8
push dword [esi + 0x2e34]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2e40]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.1004be90
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1005a680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [0x101075c0]
mov eax, ecx
mov dword [ebp - 8], eax
push edi
mov dword [esi + 0x2e04], 0
test eax, eax
je 0x1005a76f
lea edi, [esi + 0x2e08]
mov dword [esi + 0x2e04], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x1005a6d5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1005b7b0
mov dword [edi], 0
cmp dword [edi + 4], 0
jne 0x1005a6ea
push 8
mov ecx, edi
call fcn.1005b7b0
mov eax, dword [edi]
mov ecx, dword [edi + 8]
mov dword [ebp - 4], 0
mov byte [ecx + eax], 0
inc dword [edi]
cmp dword [esi + 0x2e14], 0
jle 0x1005a72c
xor ebx, ebx
mov eax, dword [esi + 0x2e1c]
add eax, ebx
push edi
push eax
push esi
mov eax, dword [eax + 0x1c]
call eax
mov eax, dword [ebp - 4]
add esp, 0xc
inc eax
add ebx, 0x24
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x2e14]
jl 0x1005a707
mov edi, dword [edi]
mov ebx, 0x101075b8
mov ecx, dword [ebp - 8]
mov edx, 0x100fa4f4
lea eax, [edi - 1]
neg edi
sbb edi, edi
and edi, eax
mov eax, dword [esi + 0x2e10]
test eax, eax
cmovne ebx, eax
call fcn.1004b6d0
mov esi, eax
test esi, esi
je 0x1005a76f
push esi
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007ffb0
Capabilities:
Encode data using xor
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010502c]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100ffcb0]
xor ecx, ecx
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x1a501917
mov dword [ebp - 0xc], 0xa1f
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x15
jb 0x1007ffe2
push 0x100faa90
lea eax, [ebp - 0x1f]
mov word [ebp - 0xa], 0x100
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x1008001f
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8a78
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
push 1
push 0x5d4
push str._EC
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov al, 1
call fcn.100d8a78
mov esp, ebp
pop ebp
ret

Function at 0x10080050
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1010502c]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x100ffdc0]
xor ecx, ecx
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x2a602927
mov dword [ebp - 0xc], 0x3a2f
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x15
jb 0x10080082
push 0x100e7ca4
lea eax, [ebp - 0x1f]
mov word [ebp - 0xa], 0x100
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x100800bf
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8a78
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
push 1
push 0x5d4
push str._EC
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [ebp - 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov al, 1
call fcn.100d8a78
mov esp, ebp
pop ebp
ret
Function at 0x1008c000
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, dword [esi + 4]
je 0x1008c06d
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x1008c064
cmp eax, edx
je 0x1008c06d
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x1008c058
pop edi
add eax, 0xc
pop esi
pop ebp
ret 4
push str.invalid_unordered_map_K__T__key
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__]
int3
Function at 0x1008c770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x1008c7a1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1008c140
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1008c8ac
nop word [eax + eax]
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
mov edx, dword [ebx + 0xc]
imul edi, edi, 0x1000193
and edi, dword [ebx + 0x18]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x1008c830
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1008c89f
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1008c86a
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1008c862
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
jmp 0x1008c89f
cmp ebx, edx
je 0x1008c87c
nop
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1008c8b5
cmp ebx, edx
jne 0x1008c870
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 0x10]
mov eax, ecx
cmp ecx, esi
jne 0x1008c7e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1008c89f
Function at 0x1008d3a0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1010502c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1008d49a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1008d493
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x1008d479
call ebx
cmp dword [ebp - 0x14], eax
jne 0x1008d479
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1008d479
mov edx, dword [esi]
test edx, edx
jne 0x1008d442
push 0x200
push edx
push dword [0x101075d0]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1008d493
jmp 0x1008d46d
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1008d46d
shl eax, 3
push eax
push edx
push 0
push dword [0x101075d0]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1008d493
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1008d401
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1008d4df
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1008d4df
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1008d4d9
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.1008d230
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1008d4a6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8a78
mov esp, ebp
pop ebp
ret
Function at 0x1008d4f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1010502c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
push edi
add esi, dword [0x11376270]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebx, [eax*2 + 5]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1008d54c
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d8a78
mov esp, ebp
pop ebp
ret
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1008d567
mov eax, dword [esi]
mov word [eax], 0xf9eb
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [esi + 0x14], 6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d8a78
mov esp, ebp
pop ebp
ret

Function at 0x1008d5a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x11376278]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x1008d67d
mov eax, dword [0x11376270]
add eax, 0x14
test byte [eax], 2
je 0x1008d5da
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x1008d5c5
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x1008d67d
push edi
push 1
or edx, 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1008d3a0
mov ecx, dword [0x11376278]
add esp, 4
cmp esi, ecx
jae 0x1008d62b
imul edi, esi, 0x2c
mov eax, dword [0x11376270]
test byte [edi + eax + 0x14], 2
jne 0x1008d620
mov ecx, esi
call fcn.1008d4f0
mov ebx, eax
test ebx, ebx
jne 0x1008d628
mov ecx, dword [0x11376278]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x1008d601
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1008d67c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1008d66d
mov ebx, eax
nop dword [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1008d661
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x1008d640
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x101075d0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008eb00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push edi
test esi, esi
je 0x1008ed1f
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10106354]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10106390]
cmp eax, dword [ecx + 4]
jle 0x1008eb71
push 0x10106390
call fcn.100d8ed3
add esp, 4
cmp dword [0x10106390], 0xffffffff
jne 0x1008eb71
push str.client.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x151a0
push 0x10106390
mov dword [0x10106394], eax
call fcn.100d8e89
add esp, 4
mov eax, dword [0x10106394]
mov ecx, esi
call eax
push str.weapon_boomer_claw
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.10007b20
lea edx, [esi + 6]
mov ecx, eax
call fcn.10007000
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 5], al
cmp ecx, 0x10
jb 0x1008ebcf
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008ebc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008ebc2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d8ffc
mov al, byte [ebp - 5]
add esp, 8
test al, al
je 0x1008ed1f
mov eax, dword [0x10107740]
mov edi, dword [0x1010555c]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
push edi
test eax, eax
jne 0x1008ecad
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1008ecd3
mov al, byte [0x10107808]
mov edx, 1
test al, al
movzx ecx, al
cmove ecx, edx
mov byte [0x10107808], cl
mov esi, dword [ebp - 0xc]
mov eax, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x101058cc]
call fcn.100d97f0
mov dword [esi], eax
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x48]
mov eax, dword [esi + 0x4a44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x101058cc]
call fcn.100d97f0
cmp byte [0x10105cc8], 0
mov dword [esi + 0x4a44], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
je 0x1008ece6
call esi
add eax, 0x7d0
mov byte [0x10105cc8], 0
or dword [ebx + 0x24], 9
mov dword [0x10107804], eax
jmp 0x1008ece6
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
jne 0x1008ec08
cmp byte [0x10107808], 0
jne 0x1008ec20
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
test edx, edx
jb 0x1008ed1f
ja 0x1008ecf6
cmp eax, dword [0x10107804]
jbe 0x1008ed1f
cmp byte [0x10105cc8], 0
mov byte [0x10107808], 0
jne 0x1008ed1f
mov eax, dword [0x10107740]
mov byte [0x10105cc8], 1
mov eax, dword [eax + 0x48]
mov dword [eax + 0x4a44], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008f050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push edi
test esi, esi
je 0x1008f25e
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10106354]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10106390]
cmp eax, dword [ecx + 4]
jle 0x1008f0c1
push 0x10106390
call fcn.100d8ed3
add esp, 4
cmp dword [0x10106390], 0xffffffff
jne 0x1008f0c1
push str.client.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x151a0
push 0x10106390
mov dword [0x10106394], eax
call fcn.100d8e89
add esp, 4
mov eax, dword [0x10106394]
mov ecx, esi
call eax
push str.Huge_Claws
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.10007b20
lea edx, [esi + 0x56]
mov ecx, eax
call fcn.10007000
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 5], al
cmp ecx, 0x10
jb 0x1008f11f
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f112
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008f112
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d8ffc
mov al, byte [ebp - 5]
add esp, 8
test al, al
je 0x1008f25e
mov eax, dword [0x10107740]
mov edi, dword [0x10105554]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
push edi
test eax, eax
jne 0x1008f150
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x1008f170
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
je 0x1008f1eb
cmp byte [0x10105cc6], 0
je 0x1008f186
or dword [ebx + 0x24], 9
mov byte [0x10105cc6], 0
mov esi, dword [ebp - 0xc]
mov eax, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x100ff494]
call fcn.100d97f0
mov dword [esi], eax
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x48]
mov eax, dword [esi + 0x4a44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x100ff494]
call fcn.100d97f0
mov dword [esi + 0x4a44], eax
mov eax, dword [0x10107740]
mov edi, dword [0x10105554]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
push edi
test eax, eax
jne 0x1008f214
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jmp 0x1008f234
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
je 0x1008f23c
test byte [ebx + 0x24], 4
je 0x1008f25e
cmp byte [0x10105cc6], 0
jne 0x1008f25e
mov eax, dword [0x10107740]
mov byte [0x10105cc6], 1
mov eax, dword [eax + 0x48]
mov dword [eax + 0x4a44], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1008f270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push edi
test esi, esi
je 0x1008f48e
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10106354]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10106390]
cmp eax, dword [ecx + 4]
jle 0x1008f2e1
push 0x10106390
call fcn.100d8ed3
add esp, 4
cmp dword [0x10106390], 0xffffffff
jne 0x1008f2e1
push str.client.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0x151a0
push 0x10106390
mov dword [0x10106394], eax
call fcn.100d8e89
add esp, 4
mov eax, dword [0x10106394]
mov ecx, esi
call eax
push str.Claws
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.10007b20
lea edx, [esi + 0x56]
mov ecx, eax
call fcn.10007000
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 5], al
cmp ecx, 0x10
jb 0x1008f33f
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008f332
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1008f332
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d8ffc
mov al, byte [ebp - 5]
add esp, 8
test al, al
je 0x1008f48e
mov eax, dword [0x10107740]
mov edi, dword [0x10105550]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
test eax, eax
jne 0x1008f378
call esi
test ax, ax
je 0x1008f41c
jmp 0x1008f39a
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
je 0x1008f416
cmp byte [0x10105cc5], 0
je 0x1008f3b1
or dword [ebx + 0x24], 0x808
mov byte [0x10105cc5], 0
mov esi, dword [ebp - 0xc]
mov eax, dword [esi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x100ff494]
call fcn.100d97f0
mov dword [esi], eax
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x48]
mov eax, dword [esi + 0x4a44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101003a0]
cvtpd2ps xmm0, xmm0
addss xmm0, dword [0x100ff494]
call fcn.100d97f0
mov dword [esi + 0x4a44], eax
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov eax, dword [0x10107740]
mov edi, dword [0x10105550]
push edi
mov ecx, dword [eax + 0x60]
mov eax, dword [ecx]
mov eax, dword [eax + 0x80]
call eax
push edi
test eax, eax
jne 0x1008f44a
call esi
test ax, ax
je 0x1008f46c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [0x10107740]
mov esi, dword [eax + 0x60]
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x80]
call eax
mov ecx, dword [esi]
push eax
mov edx, dword [ecx + 0x2c]
mov ecx, esi
call edx
test al, al
jne 0x1008f48e
cmp byte [0x10105cc5], 0
jne 0x1008f48e
mov eax, dword [0x10107740]
mov byte [0x10105cc5], 1
mov eax, dword [eax + 0x48]
mov dword [eax + 0x4a44], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc