joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100226f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009ff25
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x100bd364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x10], ecx
push 0x748
call fcn.1009dc42
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
lea edi, [eax + 0xc]
xorps xmm0, xmm0
mov dword [ebp - 0x1c], edi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x100abdd0
mov eax, dword [esi]
mov dword [edi + 0xc], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x6c4], 0
mov dword [edi + 0x6c8], 0
mov dword [edi + 0x6cc], 0
mov byte [edi + 0x6d8], 0
mov dword [edi + 0x6dc], 0
mov byte [edi + 0x6e0], 0
mov dword [edi + 0x6e4], 0
mov dword [edi + 0x6e8], 0
mov dword [edi + 0x6ec], 0
mov dword [edi + 0x6f0], 0
mov dword [edi + 0x6f4], 0
mov dword [edi + 0x6f8], 0
mov word [edi + 0x708], 0
movups xmmword [edi + 0x718], xmm0
mov dword [edi + 0x728], 0
mov dword [edi + 0x72c], 0xf
mov byte [edi + 0x718], 0
mov byte [ebp - 4], 1
mov ecx, edi
mov word [edi + 0x731], 0
mov byte [edi + 0x733], 0
push eax
mov dword [edi + 0x730], 0
call fcn.1001b9e0
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x14]
movq qword [ecx], xmm0
mov dword [ecx + 4], 0
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1002a2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x100bd364]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1002a36c
cmp byte [esi + 0x3d], 0
je 0x1002a36c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1002a35a
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_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x1002a321
sub eax, 1
je 0x1002a325
sub eax, 2
jne 0x1002a35a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009dc26
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x1002a343
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 0x1002a35a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009dc26
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009dc26
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.1009dc26
mov esp, ebp
pop ebp
ret
Function at 0x1002d240
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [0x1015a754]
push ebx
push esi
push edi
test al, 1
jne 0x1002d2a8
or eax, 1
mov dword [0x1015a754], eax
mov ecx, dword [0x10154b2c]
mov ecx, dword [ecx + 0x30]
jmp 0x1002d29c
mov edi, dword [ecx + 0xc]
mov ebx, 0x811c9dc5
xor edx, edx
nop word [eax + eax]
inc edx
cmp byte [edx + edi], 0
jne 0x1002d270
xor esi, esi
test edx, edx
je 0x1002d299
nop dword [eax]
movsx eax, byte [esi + edi]
inc esi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp esi, edx
jb 0x1002d280
cmp ebx, 0xe6a08fc9
je 0x1002d2a0
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1002d260
mov dword [0x1015a758], ecx
jmp 0x1002d2ae
mov ecx, dword [0x1015a758]
cmp byte [0x100cd39c], 0
je case.default.0x1002d2c9
mov eax, dword [0x100cd450]
cmp eax, 0x12
ja case.default.0x1002d2c9
jmp dword [eax*4 + 0x1002d400]
mov eax, dword [ecx]
push str.cs_tibet
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.embassy
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.italy
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_cs15_daylight01_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_cloudy01
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_night02
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_night02b
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_csgo_night_flat
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_day02_05_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_day02_05
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_l4d_rural02_ldr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vertigo_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vertigoblue_hdr
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vertigo
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.vietnam
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.sky_dust
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.jungle
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.nukeblank
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
mov eax, dword [ecx]
push str.office
mov eax, dword [eax + 0x38]
call eax
pop edi
pop esi
pop ebx
ret
Function at 0x1002d450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp byte [0x100cd6e4], 0
push ebx
push esi
push edi
je 0x1002d5de
mov ecx, dword [0x10154b30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1002d5de
mov ecx, dword [0x10154bb4]
xor ebx, ebx
mov dword [ebp - 4], ecx
mov eax, dword [ecx + 0x28]
mov dword [ebp - 8], eax
test eax, eax
je 0x1002d5de
mov eax, dword [ecx + 0x1c]
mov ecx, dword [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002d4b0
xor edx, edx
test ecx, ecx
je 0x1002d4d9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002d4c0
cmp edi, 0x5ff56dc5
je 0x1002d4e8
inc ebx
cmp ebx, dword [ebp - 8]
jae 0x1002d5de
mov ecx, dword [ebp - 4]
jmp 0x1002d494
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
mov edi, dword [eax + ebx*4]
test edi, edi
je 0x1002d5de
mov edx, dword [edi + 0x88]
test edx, edx
je 0x1002d5de
movss xmm1, dword [0x100b2140]
xor ebx, ebx
cmp edx, 4
jl 0x1002d5ab
mov ecx, dword [edi + 0x7c]
lea esi, [edx - 4]
shr esi, 2
add ecx, 0x1078
inc esi
lea ebx, [esi*4]
movss xmm0, dword [ecx - 0xc60]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002d54c
mov dword [ecx - 0xc60], 0x7f7fffff
movss xmm0, dword [ecx - 0x840]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002d567
mov dword [ecx - 0x840], 0x7f7fffff
movss xmm0, dword [ecx - 0x420]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002d582
mov dword [ecx - 0x420], 0x7f7fffff
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002d595
mov dword [ecx], 0x7f7fffff
add ecx, 0x1080
sub esi, 1
jne 0x1002d531
cmp ebx, edx
jl 0x1002d5af
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edx, edx
jle 0x1002d5de
imul ecx, ebx, 0x420
add ecx, 0x418
add ecx, dword [edi + 0x7c]
sub edx, ebx
movss xmm0, dword [ecx]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1002d5d3
mov dword [ecx], 0x7f7fffff
add ecx, 0x420
sub edx, 1
jne 0x1002d5c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002d5f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [0x10154b30]
sub esp, 0xc
mov eax, dword [ecx]
push ebx
push esi
push edi
mov eax, dword [eax + 0x14]
push 0x100bd7f0
push 0x100bd7ec
call eax
mov eax, dword [0x10154f7c]
mov dword [0x1015a770], eax
call fcn.10092380
call fcn.10073e50
call fcn.1002bbb0
call fcn.1002c010
mov edx, dword [0x10154b2c]
test edx, edx
je 0x1002d771
cvttss2si eax, dword [0x100cd2e4]
mov ecx, dword [0x1015a774]
mov dword [esp + 0x14], eax
test cl, 1
jne 0x1002d6e2
or ecx, 1
mov dword [0x1015a774], ecx
mov ebx, dword [edx + 0x30]
mov dword [esp + 0x10], ebx
test ebx, ebx
je 0x1002d6c0
nop
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002d680
xor edx, edx
test ecx, ecx
je 0x1002d6a9
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002d690
cmp edi, 0x7ac0d5a
je 0x1002d6ce
mov ebx, dword [ebx + 4]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1002d670
mov ecx, dword [0x1015a774]
mov edx, dword [0x10154b2c]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [0x1015a75c], ebx
jmp 0x1002d6eb
mov ecx, dword [0x1015a774]
mov edx, dword [0x10154b2c]
mov dword [0x1015a75c], ebx
jmp 0x1002d6eb
mov eax, dword [0x1015a75c]
mov dword [esp + 0x10], eax
test cl, 2
jne 0x1002d746
or ecx, 2
mov dword [0x1015a774], ecx
mov ebx, dword [edx + 0x30]
jmp 0x1002d73c
mov esi, dword [ebx + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1002d710
xor edx, edx
test ecx, ecx
je 0x1002d739
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x1002d720
cmp edi, 0xa0f6f854
je 0x1002d740
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1002d700
mov dword [0x1015a40c], ebx
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
test esi, esi
jle 0x1002d75e
push 1
call eax
push esi
jmp 0x1002d764
push 0
call eax
push 0
mov ecx, dword [0x1015a40c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
call eax
call fcn.100910f0
call fcn.1002d450
mov ecx, 0x10154f60
call fcn.100758f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002f850
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0735
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100bd364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x14]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.10030b30
mov esi, dword [ebp - 0x10]
test esi, esi
jne 0x1002f9c0
cmp dword [0x1015a308], 0xfffffff
jne 0x1002f8da
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x1c], 0x1015a304
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x18], 0
call fcn.1009dc42
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1015a308]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b23e0]
mov eax, dword [0x1015a31c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b23e0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x1015a300]
jbe 0x1002f979
call fcn.10030940
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10030b30
mov ecx, dword [0x1015a308]
mov edx, dword [eax]
jmp 0x1002f97c
mov edx, dword [ebp - 0x14]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x1015a308], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x1015a318]
mov ecx, dword [0x1015a30c]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1015a304]
jne 0x1002f9ad
mov dword [ecx + eax*8], esi
jmp 0x1002f9bc
cmp ebx, edx
jne 0x1002f9b6
mov dword [ecx + eax*8], esi
jmp 0x1002f9c0
cmp dword [ecx + eax*8 + 4], edi
jne 0x1002f9c0
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1002fb80
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x18
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp edx, eax
je 0x1002fcd6
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
push esi
push edi
mov edi, dword [ebx + 0xc]
mov esi, edx
xor ecx, eax
mov dword [ebp - 0x18], edi
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.1009e0a1
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [ebp - 0x10]
je 0x1002fc39
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x1002fbf7
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x1002fccc
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
pop edi
mov dword [edx], esi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x1002fc4d
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov dword [edx], eax
jmp 0x1002fc50
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], ecx
cmp esi, eax
je 0x1002fccc
nop word [eax + eax]
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x10
push eax
call fcn.1009e0a1
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp - 0x10]
je 0x1002fcdd
cmp esi, eax
jne 0x1002fca7
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, eax
jne 0x1002fc60
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100309c0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push ebx
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
jbe 0x100309ec
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 [0x1015a304]
or eax, 1
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1015a30c
lea eax, [edi + edi]
push eax
call fcn.1002fd10
mov eax, dword [0x1015a304]
lea ebx, [edi - 1]
mov dword [0x1015a318], ebx
mov dword [0x1015a31c], edi
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x10030b26
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 [0x1015a30c]
imul edi, edi, 0x1000193
and edi, ebx
mov ebx, dword [edx + edi*8]
lea edx, [edx + edi*8]
mov dword [ebp - 0xc], edx
cmp ebx, esi
jne 0x10030a84
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x10030af1
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x10030abe
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x10030ab6
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 0x10030af1
cmp ebx, edx
je 0x10030ace
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x10030b02
cmp ebx, edx
jne 0x10030ac2
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 eax, ecx
cmp ecx, esi
je 0x10030b26
mov ebx, dword [0x1015a318]
jmp 0x10030a32
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 0x10030af1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003be80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100bd364]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword fs:[0x30]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x1003beb3
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009dc26
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebx + 0xc]
add ebx, 0x14
mov esi, dword [ebx]
cmp esi, ebx
je 0x1003bf20
mov ecx, 0x5a4d
lea edx, [esi - 8]
test edx, edx
je 0x1003bf1a
mov eax, dword [edx + 0x18]
test eax, eax
je 0x1003bf1a
cmp word [eax], cx
jne 0x1003bf1a
mov ecx, dword [eax + 0x3c]
add ecx, eax
je 0x1003bf15
cmp dword [ecx], 0x4550
jne 0x1003bf15
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 0x10], edx
mov dword [ebp - 8], ecx
cmp eax, dword [edi + 8]
je 0x1003bf09
movq xmm0, qword [ebp - 0x10]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
add dword [edi + 4], 0xc
jmp 0x1003bf15
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.100230e0
mov ecx, 0x5a4d
mov esi, dword [esi]
cmp esi, ebx
jne 0x1003bec4
mov eax, dword [edi]
cmp eax, dword [edi + 4]
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.1009dc26
mov esp, ebp
pop ebp
ret
Function at 0x1003cfc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, edx
push edi
mov dword [ebp - 4], eax
mov ebx, ecx
cmp dword [esi + 0x14], 0x10
mov edi, dword [esi + 0x10]
jb 0x1003cfdc
mov esi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1003cffb
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1003cfe7
mov eax, dword [ebp - 4]
push edx
mov edx, eax
mov ecx, ebx
call fcn.1003c910
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100430d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a1ea5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100bd364]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor ecx, eax
movzx eax, byte [edi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
lea eax, [ebp - 0x18]
imul ebx, ecx, 0x1000193
push ebx
push edi
push eax
call fcn.10030b30
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x10043240
cmp dword [0x1015a308], 0xfffffff
jne 0x1004315a
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov dword [ebp - 0x20], 0x1015a304
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x1c], 0
call fcn.1009dc42
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 1
mov ecx, dword [0x1015a308]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b23e0]
mov eax, dword [0x1015a31c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100b23e0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x1015a300]
jbe 0x100431f9
call fcn.10030940
push ebx
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10030b30
mov ecx, dword [0x1015a308]
mov edx, dword [eax]
jmp 0x100431fc
mov edx, dword [ebp - 0x18]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x1015a308], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x1015a318]
mov ecx, dword [0x1015a30c]
and eax, ebx
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [0x1015a304]
jne 0x1004322d
mov dword [ecx + eax*8], esi
jmp 0x1004323c
cmp ebx, edx
jne 0x10043236
mov dword [ecx + eax*8], esi
jmp 0x10043240
cmp dword [ecx + eax*8 + 4], edi
jne 0x10043240
mov dword [ecx + eax*8 + 4], esi
lea eax, [esi + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4