joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003f680
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], esi
test ecx, ecx
jg 0x1003f6aa
jl 0x1003f69e
test eax, eax
jne 0x1003f6aa
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x1003f6c3
push ecx
push eax
push esi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char___long_long___int64__]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push edi
mov ecx, ebx
mov edi, eax
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const]
mov ecx, eax
test ecx, ecx
je 0x1003f702
mov esi, dword [ebp + 0xc]
cmp ecx, esi
cmovb esi, ecx
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
push esi
push eax
push dword [ebp - 4]
call sub.VCRUNTIME140.dll_memcpy
add dword [ebp - 4], esi
add esp, 0xc
mov ecx, ebx
sub edi, esi
push esi
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int_]
mov esi, dword [ebp - 4]
cmp dword [ebx + 0x4c], 0
je 0x1003f76e
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const]
lea ecx, [ebx + 0x3c]
cmp eax, ecx
jne 0x1003f727
push dword [ebx + 0x54]
mov eax, dword [ebx + 0x50]
mov ecx, ebx
push eax
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char___char___char__]
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov ecx, edi
cmp edi, 0xfff
jbe 0x1003f75c
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call eax
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x1003f76e
cmp edi, eax
mov eax, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
ja 0x1003f736
test ecx, ecx
je 0x1003f76e
push dword [ebx + 0x4c]
push edi
push 1
push esi
call eax
add esp, 0x10
sub edi, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1003f790
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x1003f7b5
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
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
call dword [sym.imp.MSVCP140.dll_protected:_long_long___int64____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const]
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x1003f820
jg 0x1003f7db
test esi, esi
je 0x1003f820
test ecx, ecx
jl 0x1003f85a
jg 0x1003f7e5
test eax, eax
je 0x1003f85a
cmp edi, ecx
jg 0x1003f7f5
jl 0x1003f7ef
cmp esi, eax
jae 0x1003f7f5
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
mov ecx, ebx
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp + 0x10]
add esp, 0xc
add dword [ebp + 8], eax
mov ecx, ebx
sub esi, eax
sbb edi, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int_]
mov eax, dword [ebp + 8]
test edi, edi
jl 0x1003f847
jg 0x1003f82d
test esi, esi
je 0x1003f847
mov ecx, dword [ebx + 0x4c]
test ecx, ecx
je 0x1003f847
push ecx
push esi
push 1
push eax
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 - 8]
mov edx, dword [ebp - 0xc]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
jmp 0x1003f82d
Function at 0x10045020
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006c8c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100a407a], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x100451b3
cmp byte [0x100a407b], 0
jne 0x100451b3
cmp byte [0x100a407c], 0
jne 0x100451b3
cmp byte [0x100a407d], 0
jne 0x100451b3
mov ecx, dword [0x100a2d60]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100a3cc8]
cmp eax, 2
je 0x100451b3
cmp eax, 4
je 0x100451b3
cmp eax, 3
je 0x100451b3
cmp eax, 6
je 0x100451b3
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1006c51c]
movss xmm2, dword [0x1006c518]
test ax, ax
jns 0x10045153
cmp byte [0x100a3bf0], 0
je 0x10045153
mov eax, dword [edi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10045153
add eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10045153
mov eax, dword [esi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10045153
add eax, dword [ebp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10045153
cmp byte [0x100a4079], 0
mov byte [0x100a4078], 1
jne 0x1004515c
movd xmm0, dword [edi]
movaps xmm3, xmm2
cvtdq2ps xmm0, xmm0
movaps xmm4, xmm1
subss xmm3, xmm0
movss dword [0x1006c520], xmm3
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mov byte [0x100a4079], 1
subss xmm4, xmm0
movss dword [0x1006c524], xmm4
jmp 0x1004516c
cmp byte [0x100a4078], 0
je 0x1004519c
movss xmm4, dword [0x1006c524]
movss xmm3, dword [0x1006c520]
subss xmm2, xmm3
subss xmm1, xmm4
cvttss2si edx, xmm2
cvttss2si ecx, xmm1
test edx, edx
js 0x1004518c
mov eax, dword [ebp + 0x10]
add eax, edx
cmp eax, dword [ebp - 8]
jge 0x1004518c
mov dword [edi], edx
test ecx, ecx
js 0x1004519c
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0xc]
jge 0x1004519c
mov dword [esi], ecx
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x100451b3
mov byte [0x100a4078], al
mov byte [0x100a4079], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004ea63
mov esp, ebp
pop ebp
ret

Function at 0x10045ab0
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 + 0x100a4088]
push esi
mov byte [esi + 0x100a4188], al
call edi
test ax, ax
setne al
mov byte [esi + 0x100a4088], al
inc esi
cmp esi, 0x100
jl 0x10045ac0
pop edi
pop esi
ret
Function at 0x100461f0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006c8c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100a4078], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x10046369
cmp byte [0x100a4079], 0
jne 0x10046369
mov ecx, dword [0x100a2d60]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100a3cc8]
cmp eax, 2
je 0x10046369
cmp eax, 4
je 0x10046369
cmp eax, 3
je 0x10046369
cmp eax, 6
je 0x10046369
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1006c51c]
movss xmm2, dword [0x1006c518]
test ax, ax
jns 0x10046309
cmp byte [0x100a3bf0], 0
je 0x10046309
mov eax, dword [edi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10046309
add eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10046309
mov eax, dword [esi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10046309
add eax, dword [ebp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10046309
cmp byte [0x100a407b], 0
mov byte [0x100a407a], 1
jne 0x10046312
movd xmm0, dword [edi]
movaps xmm3, xmm2
cvtdq2ps xmm0, xmm0
movaps xmm4, xmm1
subss xmm3, xmm0
movss dword [0x1006c520], xmm3
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mov byte [0x100a407b], 1
subss xmm4, xmm0
movss dword [0x1006c524], xmm4
jmp 0x10046322
cmp byte [0x100a407a], 0
je 0x10046352
movss xmm4, dword [0x1006c524]
movss xmm3, dword [0x1006c520]
subss xmm2, xmm3
subss xmm1, xmm4
cvttss2si edx, xmm2
cvttss2si ecx, xmm1
test edx, edx
js 0x10046342
mov eax, dword [ebp + 0x10]
add eax, edx
cmp eax, dword [ebp - 8]
jg 0x10046342
mov dword [edi], edx
test ecx, ecx
js 0x10046352
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0xc]
jg 0x10046352
mov dword [esi], ecx
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10046369
mov byte [0x100a407a], al
mov byte [0x100a407b], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004ea63
mov esp, ebp
pop ebp
ret
Function at 0x10046e40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006c8c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100a4078], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
jne 0x10046fb9
cmp byte [0x100a4079], 0
jne 0x10046fb9
mov ecx, dword [0x100a2d60]
lea edx, [ebp - 0xc]
push edx
lea edx, [ebp - 8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
mov eax, dword [0x100a3cc8]
cmp eax, 2
je 0x10046fb9
cmp eax, 4
je 0x10046fb9
cmp eax, 3
je 0x10046fb9
cmp eax, 6
je 0x10046fb9
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movss xmm1, dword [0x1006c51c]
movss xmm2, dword [0x1006c518]
test ax, ax
jns 0x10046f59
cmp byte [0x100a3bf0], 0
je 0x10046f59
mov eax, dword [edi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm2, xmm0
jbe 0x10046f59
add eax, dword [ebp + 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x10046f59
mov eax, dword [esi]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jbe 0x10046f59
add eax, dword [ebp + 0x14]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10046f59
cmp byte [0x100a407d], 0
mov byte [0x100a407c], 1
jne 0x10046f62
movd xmm0, dword [edi]
movaps xmm3, xmm2
cvtdq2ps xmm0, xmm0
movaps xmm4, xmm1
subss xmm3, xmm0
movss dword [0x1006c520], xmm3
movd xmm0, dword [esi]
cvtdq2ps xmm0, xmm0
mov byte [0x100a407d], 1
subss xmm4, xmm0
movss dword [0x1006c524], xmm4
jmp 0x10046f72
cmp byte [0x100a407c], 0
je 0x10046fa2
movss xmm4, dword [0x1006c524]
movss xmm3, dword [0x1006c520]
subss xmm2, xmm3
subss xmm1, xmm4
cvttss2si edx, xmm2
cvttss2si ecx, xmm1
test edx, edx
js 0x10046f92
mov eax, dword [ebp + 0x10]
add eax, edx
cmp eax, dword [ebp - 8]
jg 0x10046f92
mov dword [edi], edx
test ecx, ecx
js 0x10046fa2
mov eax, dword [ebp + 0x14]
add eax, ecx
cmp eax, dword [ebp - 0xc]
jg 0x10046fa2
mov dword [esi], ecx
push 2
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jne 0x10046fb9
mov byte [0x100a407c], al
mov byte [0x100a407d], al
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004ea63
mov esp, ebp
pop ebp
ret

Function at 0x10046fd0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x100a471c]
test eax, eax
je 0x10046fec
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x10047042
mov eax, dword [eax]
test eax, eax
jne 0x10046fe0
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1004703f
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 0x10047015
mov ecx, dword [0x100a471c]
mov dword [eax], ecx
mov dword [0x100a471c], eax
pop edi
pop esi
test eax, eax
jne 0x10047042
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 0x10047a50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1006c8c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
imul esi, eax, 0x2c
push edi
add esi, dword [0x100a4710]
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 0x10047ab0
pop edi
mov eax, 0xa
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004ea63
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x10047ad5
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 0x10047af6
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10047af6
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10047af0
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10047af6
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, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
mov byte [esi + 0x14], bl
xor ecx, ebp
pop ebx
pop edi
pop esi
call fcn.1004ea63
mov esp, ebp
pop ebp
ret
Function at 0x10047be0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x1006c8c0]
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 0x10047cd8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x10047cd1
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
nop dword [eax]
cmp dword [ebp - 0x20], 0x10
jb 0x10047cb8
call ebx
cmp dword [ebp - 0x14], eax
jne 0x10047cb8
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x10047cb8
mov edx, dword [esi]
test edx, edx
jne 0x10047c81
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x100a42bc]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10047cd1
jmp 0x10047cac
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10047cac
shl eax, 3
push eax
push edx
push 0
push dword [0x100a42bc]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10047cd1
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 0x10047c40
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10047d1c
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x10047d1c
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 0x10047d16
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.10048050
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x10047ce4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004ea63
mov esp, ebp
pop ebp
ret

Function at 0x100481c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x10048210
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x100481ff
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 0x100481f8
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 0x100481d5
pop ebx
push dword [edi]
push 0
push dword [0x100a42bc]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x1004a910
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053875
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1006c8c0]
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 - 0x18], edx
mov dword [ebp - 0x20], 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 - 0x14]
push edx
push eax
call fcn.1004a860
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1004a99a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x1004aae1
cmp dword [ebx + 8], 0xfffffff
je 0x1004aaf7
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.1004e62b
mov ecx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
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]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10058e70]
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 + 0x10058e70]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1004aa94
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.1004ecf0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1004aa76
cmp eax, 0x200
jae 0x1004aa74
shl eax, 3
cmp eax, ecx
jae 0x1004aa76
mov eax, ecx
push eax
mov ecx, ebx
call fcn.1004b330
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1004a860
mov edx, dword [eax]
jmp 0x1004aa97
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
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 - 0x18], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x1004aac2
mov dword [ecx + eax*8], esi
jmp 0x1004aad4
cmp ebx, edx
jne 0x1004aacb
mov dword [ecx + eax*8], esi
jmp 0x1004aad8
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1004aad8
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
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 0x1004b330
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 - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1004b48a
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], 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.1004b260
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 0x1004b45d
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]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x1004b3e3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1004b453
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1004b41d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1004b415
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1004b450
cmp edi, edx
je 0x1004b42d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1004b466
cmp edi, edx
jne 0x1004b421
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 - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1004b392
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 - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1004b450
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3