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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1004c605
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const___long_long___int64__]
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ecx, dword [eax]
lea eax, [ebx + 0x30]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x1004c62b
mov eax, dword [eax]
mov ecx, dword [eax]
jmp 0x1004c630
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, ecx
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1004c690
jg 0x1004c645
test esi, esi
je 0x1004c690
test ecx, ecx
jl 0x1004c68b
jg 0x1004c64f
test eax, eax
je 0x1004c68b
cmp edi, ecx
jg 0x1004c661
jl 0x1004c659
cmp esi, eax
jae 0x1004c661
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 0xc]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 8]
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add ecx, edx
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [ebp - 4]
sub dword [eax], edx
mov eax, dword [ebx + 0x20]
add dword [eax], edx
jmp 0x1004c693
mov ecx, dword [ebp + 8]
jmp 0x1004c69d
mov ecx, dword [ebp + 8]
test edi, edi
jl 0x1004c6b7
jg 0x1004c69d
test esi, esi
je 0x1004c6b7
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x1004c6b7
push eax
push esi
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10053400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007ea30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100b64a2], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x10053589
cmp byte [0x100b64a3], 0
jne 0x10053589
cmp byte [0x100b64a4], 0
jne 0x10053589
cmp byte [0x100b64a5], 0
jne 0x10053589
mov ecx, dword [0x1007f6c0]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100b60f0]
cmp eax, 2
je 0x10053589
cmp eax, 5
je 0x10053589
cmp eax, 4
je 0x10053589
cmp eax, 7
je 0x10053589
cmp eax, 3
je 0x10053589
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1007e42c]
test ax, ax
jns 0x10053541
cmp byte [0x100b5f58], 0
je 0x10053541
mov ecx, dword [edi]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10053541
mov eax, dword [ebp + 0x10]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10053541
mov ecx, dword [ebx]
movss xmm2, dword [0x1007e430]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10053541
mov eax, dword [ebp + 0x14]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10053541
cmp byte [0x100b64a1], 0
mov byte [0x100b64a0], 1
jne 0x1005354a
movd xmm0, dword [edi]
movaps xmm3, xmm1
cvtdq2ps xmm0, xmm0
subss xmm3, xmm0
movss dword [0x1007e434], xmm3
movd xmm0, dword [ebx]
cvtdq2ps xmm0, xmm0
mov byte [0x100b64a1], 1
subss xmm2, xmm0
movss dword [0x1007e438], xmm2
jmp 0x10053552
cmp byte [0x100b64a0], 0
je 0x10053572
movss xmm3, dword [0x1007e434]
subss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [edi], eax
movss xmm0, dword [0x1007e430]
subss xmm0, dword [0x1007e438]
cvttss2si eax, xmm0
mov dword [ebx], eax
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10053589
mov byte [0x100b64a0], al
mov byte [0x100b64a1], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1005e305
mov esp, ebp
pop ebp
ret
Function at 0x10054e20
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
xor esi, esi
nop word [eax + eax]
mov al, byte [esi + 0x100b64b0]
push esi
mov byte [esi + 0x100b65b0], al
call edi
test ax, ax
setne al
mov byte [esi + 0x100b64b0], al
inc esi
cmp esi, 0x100
jl 0x10054e30
pop edi
pop esi
ret
Function at 0x10055650
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007ea30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100b64a0], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x100557bf
cmp byte [0x100b64a1], 0
jne 0x100557bf
mov ecx, dword [0x1007f6c0]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100b60f0]
cmp eax, 2
je 0x100557bf
cmp eax, 5
je 0x100557bf
cmp eax, 4
je 0x100557bf
cmp eax, 7
je 0x100557bf
cmp eax, 3
je 0x100557bf
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1007e42c]
test ax, ax
jns 0x10055777
cmp byte [0x100b5f58], 0
je 0x10055777
mov ecx, dword [edi]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10055777
mov eax, dword [ebp + 0x10]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10055777
mov ecx, dword [ebx]
movss xmm2, dword [0x1007e430]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10055777
mov eax, dword [ebp + 0x14]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10055777
cmp byte [0x100b64a3], 0
mov byte [0x100b64a2], 1
jne 0x10055780
movd xmm0, dword [edi]
movaps xmm3, xmm1
cvtdq2ps xmm0, xmm0
subss xmm3, xmm0
movss dword [0x1007e434], xmm3
movd xmm0, dword [ebx]
cvtdq2ps xmm0, xmm0
mov byte [0x100b64a3], 1
subss xmm2, xmm0
movss dword [0x1007e438], xmm2
jmp 0x10055788
cmp byte [0x100b64a2], 0
je 0x100557a8
movss xmm3, dword [0x1007e434]
subss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [edi], eax
movss xmm0, dword [0x1007e430]
subss xmm0, dword [0x1007e438]
cvttss2si eax, xmm0
mov dword [ebx], eax
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x100557bf
mov byte [0x100b64a2], al
mov byte [0x100b64a3], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1005e305
mov esp, ebp
pop ebp
ret
Function at 0x10056260
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007ea30]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100b64a0], 0
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x100563cf
cmp byte [0x100b64a1], 0
jne 0x100563cf
mov ecx, dword [0x1007f6c0]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100b60f0]
cmp eax, 2
je 0x100563cf
cmp eax, 5
je 0x100563cf
cmp eax, 4
je 0x100563cf
cmp eax, 7
je 0x100563cf
cmp eax, 3
je 0x100563cf
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1007e42c]
test ax, ax
jns 0x10056387
cmp byte [0x100b5f58], 0
je 0x10056387
mov ecx, dword [edi]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10056387
mov eax, dword [ebp + 0x10]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10056387
mov ecx, dword [ebx]
movss xmm2, dword [0x1007e430]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10056387
mov eax, dword [ebp + 0x14]
add eax, ecx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10056387
cmp byte [0x100b64a5], 0
mov byte [0x100b64a4], 1
jne 0x10056390
movd xmm0, dword [edi]
movaps xmm3, xmm1
cvtdq2ps xmm0, xmm0
subss xmm3, xmm0
movss dword [0x1007e434], xmm3
movd xmm0, dword [ebx]
cvtdq2ps xmm0, xmm0
mov byte [0x100b64a5], 1
subss xmm2, xmm0
movss dword [0x1007e438], xmm2
jmp 0x10056398
cmp byte [0x100b64a4], 0
je 0x100563b8
movss xmm3, dword [0x1007e434]
subss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [edi], eax
movss xmm0, dword [0x1007e430]
subss xmm0, dword [0x1007e438]
cvttss2si eax, xmm0
mov dword [ebx], eax
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x100563cf
mov byte [0x100b64a4], al
mov byte [0x100b64a5], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1005e305
mov esp, ebp
pop ebp
ret

Function at 0x100563e0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100b6b9c]
test eax, eax
je 0x100563fc
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10056452
mov eax, dword [eax]
test eax, eax
jne 0x100563f0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1005644f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x10056425
mov ecx, dword [0x100b6b9c]
mov dword [eax], ecx
mov dword [0x100b6b9c], eax
pop edi
pop esi
test eax, eax
jne 0x10056452
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x10056e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007ea30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
imul esi, eax, 0x2c
push edi
add esi, dword [0x100b6b90]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10056eb0
pop edi
mov eax, 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1005e305
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10056ed5
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 0x10056ef6
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10056ef6
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10056ef0
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10056ef6
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
and cl, 0xfd
mov al, bl
add al, al
shl bl, 2
or cl, al
xor eax, eax
and cl, 0xfb
or cl, bl
mov byte [esi + 0x14], cl
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.1005e305
mov esp, ebp
pop ebp
ret
Function at 0x10056fe0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1007ea30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x100570d8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100570d1
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x100570b8
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100570b8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100570b8
mov edx, dword [esi]
test edx, edx
jne 0x10057081
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x100b6710]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100570d1
jmp 0x100570ac
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100570ac
shl eax, 3
push eax
push edx
push 0
push dword [0x100b6710]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100570d1
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 sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x10057040
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1005711c
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1005711c
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10057116
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10057440
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x100570e4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005e305
mov esp, ebp
pop ebp
ret

Function at 0x100575b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10057600
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100575ef
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100575e8
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x100575c5
pop ebx
push dword [edi]
push 0
push dword [0x100b6710]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x10059f80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063c95
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x1007ea30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x24], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push edx
push eax
call fcn.10059ed0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1005a00a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1005a154
cmp dword [ebx + 8], 0xfffffff
je 0x1005a16a
lea eax, [ebx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
call fcn.1005dda4
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10069170]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10069170]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1005a107
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x18], xmm0
fld qword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x18]
movsd xmm0, qword [ebp - 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1005e4b0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1005a0e9
cmp eax, 0x200
jae 0x1005a0e7
shl eax, 3
cmp eax, ecx
jae 0x1005a0e9
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1005a940
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10059ed0
mov edx, dword [eax]
jmp 0x1005a10a
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1005a135
mov dword [ecx + eax*8], esi
jmp 0x1005a147
cmp ebx, edx
jne 0x1005a13e
mov dword [ecx + eax*8], esi
jmp 0x1005a14b
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1005a14b
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x24]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x1005a940
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
ja 0x1005aa9b
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
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.1005a870
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 0x1005aa6e
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
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x1005a9f4
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1005aa61
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1005aa2e
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1005aa26
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 0x1005aa61
cmp ebx, edx
je 0x1005aa3e
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1005aa77
cmp ebx, edx
jne 0x1005aa32
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 0x1005a9a2
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 0x1005aa61
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x1005aab0
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
ja 0x1005ac09
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
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.1005a870
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 0x1005abdc
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 0x1005ab62
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1005abcf
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1005ab9c
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1005ab94
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 0x1005abcf
cmp ebx, edx
je 0x1005abac
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1005abe5
cmp ebx, edx
jne 0x1005aba0
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 0x1005ab12
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 0x1005abcf
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3
Function at 0x1005cee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1005ceee
mov al, 1
pop ebp
ret
cmp eax, 1
jne 0x1005cf04
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
pop ebp
ret
cmp eax, 2
jne 0x1005cf18
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
setne al
pop ebp
ret

Function at 0x1005d590
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x1005d5cf
sub eax, 1
jne 0x1005d5e0
push eax
push eax
push dword [ebp + 8]
push 0x1005d340
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1005d5e0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
call fcn.10033a90
call fcn.1005d2e0
mov ecx, eax
call fcn.10009960
mov eax, 1
pop ebp
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx