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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005af75
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x1008d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x1002a91e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
add eax, eax
je 0x1002a944
mov edx, eax
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x1002a930
mov edx, dword [ebp - 0x1c]
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.1002ae90
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002a961
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x1002aacd
cmp dword [0x10090640], 0x71c71c7
jne 0x1002a978
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x24], 0x1009063c
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.100574fc
add esp, 4
mov edi, eax
mov dword [ebp - 0x20], edi
push dword [ebp - 0x1c]
lea ecx, [edi + 8]
call fcn.10006b50
mov dword [edi + 0x20], 0
mov dword [ebp - 4], 1
mov edx, dword [0x10090640]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10084750]
mov eax, dword [0x10090654]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10084750]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x10090638]
comiss xmm1, xmm0
jbe 0x1002aa7c
divss xmm2, xmm0
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.10057de0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x10090654]
cmp eax, ecx
jae 0x1002aa58
cmp eax, 0x200
jae 0x1002aa56
shl eax, 3
cmp eax, ecx
jae 0x1002aa58
mov eax, ecx
push eax
call fcn.1002ac10
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1002ae90
mov edx, dword [0x10090640]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x1002aa7f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
inc edx
mov dword [0x10090640], edx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
and esi, dword [0x10090650]
mov dword [ebp - 0x14], eax
mov eax, dword [0x10090644]
mov edx, dword [eax + esi*8]
cmp edx, dword [0x1009063c]
jne 0x1002aab1
mov dword [eax + esi*8], edi
jmp 0x1002aac3
cmp edx, ecx
jne 0x1002aaba
mov dword [eax + esi*8], edi
jmp 0x1002aac7
mov ecx, dword [ebp - 0x14]
cmp dword [eax + esi*8 + 4], ecx
jne 0x1002aac7
mov dword [eax + esi*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
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
Function at 0x1002b060
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x1009065c], 0
push ebx
push esi
push edi
jne 0x1002b230
push 0x13
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push str.GUIVerySmallDenFont
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0
movups xmmword [ebp - 0x24], xmm0
call fcn.100044b0
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x24]
cmp dword [ebp - 0x10], 7
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x24]
cmova esi, edi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x1002b0d3
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002b0c2
push edx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1002ae90
mov ecx, dword [0x1009063c]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [ecx + 0x20]
cmp eax, 7
jbe 0x1002b12b
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1002b121
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b121
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.100574cb
add esp, 8
mov ecx, dword [esi + 0x48]
test ecx, ecx
je 0x1002b230
mov eax, dword [0x10090658]
sub esp, 0x18
mov ecx, dword [ecx]
xorps xmm0, xmm0
mov dword [eax + 0x1e8], ecx
mov ecx, esp
push 0x16
push str.
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
call fcn.1002b2a0
mov edx, esp
mov ecx, str.SCCT_Versus_Reloaded_vI
xorps xmm0, xmm0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
lea esi, [ecx + 2]
mov dword [edx + 0x14], 0
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002b190
sub ecx, esi
sar ecx, 1
push ecx
push str.SCCT_Versus_Reloaded_vI
mov ecx, edx
call fcn.100044b0
call fcn.1002b2a0
mov ecx, esp
xorps xmm0, xmm0
push 0x16
push str.
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
call fcn.1002b2a0
mov ecx, esp
xorps xmm0, xmm0
push 1
push 0x1007c61c
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
call fcn.1002b2a0
mov ecx, esp
xorps xmm0, xmm0
push 0x24
push str.Type_help_to_view_the_command_list
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.100044b0
call fcn.1002b2a0
add esp, 0x18
mov byte [0x1009065c], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100574bd
mov esp, ebp
pop ebp
ret
Function at 0x1002b2a0
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005afad
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1008d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [0x10090660], 0
je 0x1002b2f5
cmp dword [ebp + 0x1c], 7
lea eax, [ebp + 8]
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pushal
push dword [ebp - 0x10]
mov ebx, dword [0x10090660]
call dword [0x1008d0fc]
popal
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x1002b331
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1002b327
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1002b327
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100574cb
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002cce0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005b290
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, 0x1002cbb0
sub eax, 0x10a66d8d
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push 0x10a66d88
call esi
mov edi, dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
test eax, eax
je 0x1002cd6c
mov eax, dword [ebp - 0x24]
mov byte [0x10a66d88], 0xe9
mov dword [0x10a66d89], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push 0x10a66d88
call esi
test eax, eax
je 0x1002cd6c
push 5
push 0x10a66d88
call ebx
push eax
call edi
mov edx, 0x1002ccc0
mov ecx, 0x10c02858
call fcn.10004260
mov eax, 0x1002ca10
sub eax, 0x10b0f63e
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push 5
push 0x10b0f639
call esi
test eax, eax
je 0x1002cdca
mov eax, dword [ebp - 0x24]
mov byte [0x10b0f639], 0xe9
mov dword [0x10b0f63a], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push 5
push 0x10b0f639
call esi
test eax, eax
je 0x1002cdca
push 5
push 0x10b0f639
call ebx
push eax
call edi
mov eax, 0x1002b280
sub eax, 0x10b0f163
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
push eax
push 0x40
push 5
push 0x10b0f15e
call esi
test eax, eax
je 0x1002ce19
mov eax, dword [ebp - 0x24]
mov byte [0x10b0f15e], 0xe9
mov dword [0x10b0f15f], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x1c]
push 5
push 0x10b0f15e
call esi
test eax, eax
je 0x1002ce19
push 5
push 0x10b0f15e
call ebx
push eax
call edi
mov eax, 0x1002b260
sub eax, 0x109ab590
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 5
push 0x109ab58b
call esi
test eax, eax
je 0x1002ce68
mov eax, dword [ebp - 0x24]
mov byte [0x109ab58b], 0xe9
mov dword [0x109ab58c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push 5
push 0x109ab58b
call esi
test eax, eax
je 0x1002ce68
push 5
push 0x109ab58b
call ebx
push eax
call edi
mov edx, 0x1002b250
mov ecx, 0x10c07768
call fcn.10004260
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret
Function at 0x1003bda0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0xffff
movzx eax, bx
mov dword [ebp - 0x34], eax
mov esi, ecx
cmp di, bx
jne 0x1003bddd
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003be17
mov edx, dword [esi + 0x30]
mov eax, dword [edx]
lea eax, [ecx + eax*2]
cmp ecx, eax
jae 0x1003be17
dec dword [edx]
mov ax, bx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x1003bee7
mov ecx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ecx], eax
jne 0x1003be44
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1003be77
push dword [esi + 0x4c]
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
add esp, 8
movzx ecx, bx
cmp ax, di
cmove ecx, edi
pop edi
pop esi
mov ax, cx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret 4
movzx eax, bx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet___wchar_t_const___wchar_t_const___wchar_t_const____char___char___char___const]
sub eax, 0
je 0x1003beb6
sub eax, 1
je 0x1003beb6
sub eax, 2
jne 0x1003bee7
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1003be4f
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x1003bed4
push dword [esi + 0x4c]
push ebx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebx, eax
jne 0x1003bee7
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x30], ecx
movzx eax, ax
mov byte [esi + 0x3e], 1
cmovne edi, eax
mov ecx, dword [ebp - 4]
mov ax, di
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100574bd
mov esp, ebp
pop ebp
ret 4
Function at 0x1003c110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1003c1d4
cmp byte [esi + 0x3e], 0
je 0x1003c1d4
mov eax, dword [esi]
push edi
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x1003c1c2
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1003c189
sub eax, 1
je 0x1003c18d
sub eax, 2
jne 0x1003c1c2
mov byte [esi + 0x3e], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1003c1ab
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1003c1c2
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100574bd
mov esp, ebp
pop ebp
ret
Function at 0x1003cb10
Capabilities:
Initialize winsock library

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bd86
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x1bc
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100905f8
call dword [sym.imp.KERNEL32.dll_InitOnceBeginInitialize]
test eax, eax
jne 0x1003cb6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [ebp - 0x18], 0
je 0x1003cc3f
mov dword [ebp - 0x1c8], 0x100905f8
mov dword [ebp - 0x1c4], 4
push 1
mov dword [ebp - 4], 0
call fcn.100419c0
add esp, 4
test eax, eax
je 0x1003cc21
push 0x19
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
push str.ares_library_init_failed.
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 0
movups xmmword [ebp - 0x1c0], xmm0
call fcn.10009150
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 1
call fcn.1003ae50
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x1003cc21
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003cc17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003cc17
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100574cb
add esp, 8
push 0
push 0
push 0x100905f8
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_InitOnceComplete]
test eax, eax
je 0x1003ccf2
lea eax, [ebp - 0x1a8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1003ccd3
push 0x12
xorps xmm0, xmm0
mov dword [ebp - 0x1b0], 0
push str.WSAStartup_failed.
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 0
movups xmmword [ebp - 0x1c0], xmm0
call fcn.10009150
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 4], 2
call fcn.1003ae50
mov ecx, dword [ebp - 0x1ac]
cmp ecx, 0xf
jbe 0x1003ccd3
mov edx, dword [ebp - 0x1c0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003ccc9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1003ccc9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100574cb
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
int3
Function at 0x1003d830
Capabilities:
Create thread
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005bed4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x1008d1d4], 0xf
mov esi, 0x1008d1c0
mov ebx, dword [0x1008d1d0]
mov edx, 0x811c9dc5
cmova esi, dword [0x1008d1c0]
xor ecx, ecx
test ebx, ebx
je 0x1003d892
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1003d881
push edx
push 0x1008d1c0
lea eax, [ebp - 0x1c]
push eax
call fcn.10040dc0
mov ecx, dword [0x100906e4]
mov eax, dword [eax + 4]
test eax, eax
cmovne ecx, eax
cmp ecx, dword [0x100906e4]
je 0x1003d8dd
push 0x1008d1c0
call fcn.10040310
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 4], eax
mov dword [edi], ecx
movzx eax, ax
test ecx, ecx
je 0x1003d8e9
test ax, ax
jne 0x1003d96a
jmp 0x1003d8e9
xor eax, eax
mov dword [edi], 0
mov word [edi + 4], ax
push 0x1c
call fcn.100574fc
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push 0x1008d1c0
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.10018a20
mov dword [esi + 0x18], fcn.1003e270
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 1
push eax
push 0
push esi
push 0x10041530
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1003d990
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.10041230
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1003d988
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
jne 0x1003d988
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push 6
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10040510
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c2ed
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1008d040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 4
call fcn.100574fc
mov ecx, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x10041790
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x10040592
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100574bd
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x100405b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005c335
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1008d040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov edi, edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
cmp dword [edx + 0x14], 0xf
jbe 0x100405eb
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x10040609
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100405f7
push esi
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.10040dc0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10040626
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x10040792
cmp dword [0x100906e8], 0x6666666
jne 0x1004063d
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x100906e4
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x1c], 0
call fcn.100574fc
add esp, 4
mov edi, eax
mov dword [ebp - 0x1c], edi
push dword [ebp - 0x10]
lea ecx, [edi + 8]
call fcn.10018a20
xor ecx, ecx
mov dword [edi + 0x20], 0
mov word [edi + 0x24], cx
mov dword [ebp - 4], 1
mov edx, dword [0x100906e8]
lea eax, [edx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10084750]
mov eax, dword [0x100906fc]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10084750]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100906e0]
comiss xmm1, xmm0
jbe 0x10040741
divss xmm2, xmm0
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.10057de0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [0x100906fc]
cmp eax, ecx
jae 0x10040723
cmp eax, 0x200
jae 0x10040721
shl eax, 3
cmp eax, ecx
jae 0x10040723
mov eax, ecx
push eax
call fcn.100408e0
push esi
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10040dc0
mov edx, dword [0x100906e8]
mov ecx, dword [eax]
jmp 0x10040744
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 4]
inc edx
mov dword [0x100906e8], edx
mov dword [edi], ecx
mov dword [edi + 4], eax
mov dword [eax], edi
mov dword [ecx + 4], edi
and esi, dword [0x100906f8]
mov dword [ebp - 0x10], eax
mov eax, dword [0x100906ec]
mov edx, dword [eax + esi*8]
cmp edx, dword [0x100906e4]
jne 0x10040776
mov dword [eax + esi*8], edi
jmp 0x10040788
cmp edx, ecx
jne 0x1004077f
mov dword [eax + esi*8], edi
jmp 0x1004078c
mov ecx, dword [ebp - 0x10]
cmp dword [eax + esi*8 + 4], ecx
jne 0x1004078c
mov dword [eax + esi*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
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