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

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
cmp edx, ebp
je 0x10042d9f
mov eax, dword [ebx + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x24], 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 [esp + 0x20], 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 [esp + 0x14], ecx
lea eax, [edi + eax*8]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
nop dword [eax]
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.100cd0a2
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x10042cf7
cmp esi, ebp
jne 0x10042cb0
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x28]
jne 0x10042d94
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x10042d0d
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
jmp 0x10042d11
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x10042d94
nop dword [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 [esp + 0x20]
lea eax, [eax + ecx*8]
mov dword [esp + 0x28], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x1c], eax
nop word [eax + eax]
mov eax, esi
mov edi, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.100cd0a2
dec dword [ebx + 8]
add esp, 8
cmp edi, dword [esp + 0x1c]
je 0x10042da9
cmp esi, ebp
jne 0x10042d70
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, ebp
jne 0x10042d20
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x10042de0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edx, dword [esp + 8]
sub esp, 8
cmp dword [edx + 0x14], 0x10
push ebp
push edi
mov ebp, ecx
mov edi, edx
jb 0x10042df5
mov edi, dword [edx]
push ebx
mov ebx, dword [edx + 0x10]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10042e16
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10042e05
push esi
push edx
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
call fcn.10043a90
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x14]
test ecx, ecx
jne 0x10042e34
mov ecx, dword [ebp + 4]
pop edi
mov dword [eax], ecx
pop ebp
add esp, 8
ret 8
Function at 0x10043030
Capabilities:
Hash data using fnv

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
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1016e1d0
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
push edi
mov edi, ecx
cmp dword [edi + 8], 0x9249249
jne 0x10043077
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edi + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x1c], 0
call fcn.100cd0b0
mov ecx, dword [ebx + 0xc]
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
movups xmm0, xmmword [ecx]
movups xmmword [esi + 8], xmm0
mov ecx, dword [ecx + 0x10]
mov dword [esi + 0x18], ecx
mov dword [ebp - 4], 1
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
movss xmm3, dword [edi]
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 [edi + 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a5340]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101a5340]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10043180
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x18], xmm2
fld dword [ebp - 0x18]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x18]
call fcn.1016c380
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x10043178
cmp eax, 0x200
jae 0x10043176
shl eax, 3
cmp eax, ecx
jae 0x10043178
mov eax, ecx
push eax
mov ecx, edi
call fcn.10043690
mov ecx, dword [edi + 0x18]
and ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [eax + ecx*8 + 4]
cmp eax, edx
je 0x100431b0
mov edx, dword [edi + 0xc]
mov edx, dword [edx + ecx*8]
mov ecx, dword [esi + 8]
cmp ecx, dword [eax + 8]
je 0x100431ae
cmp eax, edx
je 0x100431de
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x100431a2
mov edx, dword [eax]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x1c]
jne 0x100431e2
mov dword [ecx + eax*8], esi
jmp 0x100431f4
mov edx, eax
jmp 0x100431b0
cmp edi, edx
jne 0x100431eb
mov dword [ecx + eax*8], esi
jmp 0x100431f8
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100431f8
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [eax], esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x10043690
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push ebp
push esi
push edi
mov edi, 1
mov dword [esp + 0x14], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
jbe 0x100436c1
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, 1
lea ebp, [ebx + 0xc]
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, ebp
lea eax, [edi + edi]
push eax
call fcn.1001c8c0
mov ecx, dword [ebx + 4]
lea eax, [edi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100437cc
nop dword [eax]
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebp]
mov ebx, dword [eax + edi*8]
lea eax, [eax + edi*8]
mov dword [esp + 0x1c], eax
cmp ebx, esi
jne 0x10043752
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100437bb
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10043785
mov eax, dword [eax]
cmp eax, ecx
je 0x1004377c
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x1c]
mov dword [eax + 4], ecx
jmp 0x100437bb
cmp ebx, eax
je 0x1004379c
nop dword [eax]
mov eax, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x100437d6
cmp ebx, eax
jne 0x10043790
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x1c]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ebx, dword [esp + 0x14]
mov ecx, edx
lea ebp, [ebx + 0xc]
cmp edx, esi
jne 0x10043700
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100437bb
Function at 0x10043b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
push 0x24
mov dword [ebp - 0x14], edi
mov eax, dword [ebx]
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 1
call fcn.1001c8c0
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 4]
mov dword [edi + 4], eax
mov eax, dword [ebx + 8]
mov dword [ebx + 4], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 8], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [ebx + 0xc], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x10], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x18], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x1c], 8
mov dword [edi + 0x1c], eax
mov dword [ebp - 4], 2
add edi, 0x20
mov dword [ebp + 8], edi
mov eax, dword [ebx + 0x20]
push 0x30
mov dword [edi], eax
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100cd0b0
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
push eax
push 0x10
lea ecx, [edi + 0xc]
mov byte [ebp - 4], 4
call fcn.1001c8c0
mov ecx, dword [edi + 4]
mov eax, dword [ebx + 0x24]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebx + 0x28], ecx
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x34], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebx + 0x38], 7
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0x3c], 8
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100440a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e268
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
mov esi, dword [ebp + 0x1c]
cmp esi, 0x10
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
cmovae ecx, edi
push 2
push 0x10198870
mov edx, ebx
call fcn.1001d020
add esp, 8
test al, al
jne 0x10044269
cmp esi, 0x10
lea ecx, [ebp + 8]
push 2
cmovae ecx, edi
mov edx, ebx
push 0x10198874
call fcn.1001d020
add esp, 8
test al, al
jne 0x10044269
cmp esi, 0x10
lea ecx, [ebp + 8]
push 2
cmovae ecx, edi
mov edx, ebx
push 0x10198980
call fcn.1001d020
mov ebx, dword [ebp - 0x10]
add esp, 8
test al, al
je 0x1004421f
mov eax, dword [ebx + 4]
mov edx, 0x811c9dc5
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 2
mov byte [ebp - 0x32], 0
mov esi, dword [eax]
mov eax, 0x6640
add esi, 8
mov word [ebp - 0x34], ax
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x34]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 2
jb 0x10044164
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10043a90
mov edi, dword [esi + 4]
mov eax, dword [eax + 4]
test eax, eax
je 0x100441aa
cmp eax, edi
je 0x100441aa
push eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.1004cec0
push 2
push 0x10198870
jmp 0x10044211
mov eax, 0x6240
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 2
mov edx, 0x811c9dc5
mov word [ebp - 0x34], ax
xor ecx, ecx
mov byte [ebp - 0x32], 0
nop dword [eax]
movzx eax, byte [ebp + ecx - 0x34]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 2
jb 0x100441d0
push edx
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10043a90
mov eax, dword [eax + 4]
test eax, eax
je 0x1004420a
cmp eax, edi
je 0x1004420a
push eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.1004cec0
push 2
push 0x10198874
lea ecx, [ebp + 8]
call fcn.1001d4d0
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebx + 4]
lea edx, [ebp + 8]
cmp esi, 0x10
cmovae edx, edi
lea ecx, [eax + 4]
cmp byte [edx], 0x2e
cmovne ecx, eax
mov eax, dword [ebx]
mov ecx, dword [ecx]
push dword [eax + 0x20]
add ecx, 8
lea eax, [ebp + 8]
push eax
lea eax, [ecx + 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.1004cf60
lea ecx, [ebp + 8]
call fcn.1001d290
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x1f
lea ecx, [ebp - 0x1c]
call fcn.1003deb0
push 0x101aac88
lea eax, [ebp - 0x1c]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1004c600
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x94
and dword [esp + 8], 0xfffffff8
and dword [esp + 0x10], 0xfffffff8
and dword [esp + 0x20], 0xfffffff8
and dword [esp + 0x28], 0xfffffff8
push ebx
mov ebx, dword [esp + 0xa4]
push ebp
push esi
movzx eax, bl
mov esi, ecx
push edi
push 2
push dword [esp + 0xb0]
mov eax, dword [eax*4 + 0x1017582c]
lea ecx, [esp + 0x4c]
add eax, eax
mov word [esp + 0x1c], 0
and dword [esp + 0x1c], 0xc000ffff
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x3d0]
mov word [esp + 0x24], 0
and dword [esp + 0x24], 0xc000ffff
mov word [esp + 0x34], 0
mov eax, dword [eax + 0x3e0]
and dword [esp + 0x34], 0xc000ffff
mov word [esp + 0x3c], 0
and dword [esp + 0x3c], 0xc000ffff
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], eax
call fcn.10043d20
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x78]
call fcn.10043ea0
add esp, 4
lea ecx, [esp + 0x8c]
mov edx, eax
call fcn.10043ea0
add esp, 4
lea ecx, [esp + 0x44]
push eax
movzx eax, byte [esi + 0x298]
push eax
push dword [esi + 0x294]
call fcn.10043fa0
mov eax, dword [esp + 0xb4]
sub eax, 0
je 0x1004c841
sub eax, 1
je 0x1004c7dc
sub eax, 1
jne 0x1004c873
lea edx, [esi + 0x1d4]
test bl, bl
jne 0x1004c72b
push dword [esp + 0xa8]
mov ecx, esi
push edx
call fcn.10044fc0
jmp 0x1004c7bc
mov ecx, dword [edx]
add bl, bl
mov eax, ecx
shr eax, 8
mov ebp, eax
and ebp, 2
je 0x1004c743
test ecx, 0x300000
jne 0x1004c74b
test al, 1
je 0x1004c880
mov edi, dword [esp + 0xa8]
mov eax, dword [edi]
test eax, 0x1000
je 0x1004c880
test ebp, ebp
je 0x1004c7a6
and al, 0x7f
cmp al, 0x10
jae 0x1004c7a6
mov eax, dword [esp + 0x14]
and ecx, 0x7f
and dword [esp + 0x18], 0xfffffff8
and eax, 0xc0801000
or ecx, eax
movzx eax, bl
push eax
push 0xc5
push 9
push edi
push dword [esi + 0x174]
or ecx, 0x801000
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, esi
push eax
call fcn.10040090
jmp 0x1004c7bc
movzx eax, bl
mov ecx, esi
push eax
push 0x15
push 0x2002021
push edx
push 0
push edi
call fcn.1003fea0
lea eax, [esi + 0x214]
mov ecx, esi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.100446c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10
lea edi, [esi + 0x1d4]
mov ecx, esi
test bl, bl
jne 0x1004c7f7
push dword [esp + 0xa8]
push edi
call fcn.10044fc0
jmp 0x1004c805
push ebx
push dword [esp + 0xac]
push edi
call fcn.10045540
push 0x30
lea eax, [esp + 0x48]
mov ecx, esi
push eax
push edi
call fcn.100443b0
push 4
push 0x20
push 0xffffff
push edi
mov ecx, esi
call fcn.1003fd40
push 0x30
push edi
lea eax, [esp + 0x4c]
mov ecx, esi
push eax
call fcn.100443b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10
lea eax, [esp + 0x44]
mov ecx, esi
test bl, bl
jne 0x1004c865
push dword [esp + 0xa8]
push eax
call fcn.10044fc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10
push ebx
push dword [esp + 0xac]
push eax
call fcn.10045540
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x94
ret 0x10
push 5
lea ecx, [esp + 0x18]
call fcn.1003deb0
push 0x101aac88
lea eax, [esp + 0x18]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x1004cec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov eax, dword [esp + 8]
push ebp
push esi
push edi
cmp dword [eax + 0x1c], 0x10
lea edi, [eax + 8]
mov ebp, ecx
jb 0x1004ced5
mov edi, dword [eax + 8]
push ebx
mov ebx, dword [eax + 0x18]
xor edx, edx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x1004cef5
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, ebx
jb 0x1004cee4
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
and edx, esi
pop ebx
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x1004cf20
cmp esi, eax
jne 0x1004cf17
mov eax, dword [ebp + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x1004cf29
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x1004cf29
cmp esi, eax
jne 0x1004cf2d
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [esp + 0x14]
mov esi, dword [eax]
dec dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov edx, dword [esp + 0x14]
call fcn.10043a30
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebp
ret 8
Function at 0x1004d280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
mov edx, dword [ebp + 0xc]
push 0xffffffffffffffff
push 0x1016e320
push eax
mov dword fs:[0], esp
sub esp, 0x10
cmp dword [edx + 0x14], 0x10
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
jb 0x1004d2ad
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x1004d2d2
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x1004d2c0
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10043a90
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x1004d302
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x71c71c7
jne 0x1004d316
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x18], 0
call fcn.100cd0b0
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.1001d090
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x18]
mov dword [edi + 0x20], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101a5340]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x101a5340]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x1004d401
divss xmm2, xmm3
sub esp, 8
movss dword [ebp + 0xc], xmm2
fld dword [ebp + 0xc]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp + 0xc]
movss xmm0, dword [ebp + 0xc]
call fcn.1016c380
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x1004d3e5
cmp eax, 0x200
jae 0x1004d3e3
shl eax, 3
cmp eax, ecx
jae 0x1004d3e5
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10043800
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10043a90
mov edx, dword [eax]
jmp 0x1004d404
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx + 8]
mov ecx, dword [edx + 4]
inc eax
mov dword [ebx + 8], eax
mov dword [edi], edx
mov dword [edi + 4], ecx
mov dword [ecx], edi
mov dword [edx + 4], edi
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0xc], ecx
and eax, esi
mov ecx, dword [ebx + 0xc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x1004d430
mov dword [ecx + eax*8], edi
jmp 0x1004d442
cmp esi, edx
jne 0x1004d439
mov dword [ecx + eax*8], edi
jmp 0x1004d446
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x1004d446
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10056f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016e3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
push 0x100023
mov ebx, ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.100cd0b0
add esp, 4
test eax, eax
je 0x10057092
lea esi, [eax + 0x23]
and esi, 0xffffffe0
push 0x100000
push 0
push esi
lea edi, [esi + 0x100000]
mov dword [esi - 4], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], edi
mov ecx, edi
mov dword [ebp - 4], 0
sub ecx, esi
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 8]
mov dword [ebx + 0x24], ecx
lea ecx, [ebx + 0x10]
mov dword [ebx + 0x20], esi
call fcn.10147670
cmp eax, dword [ebp + 0xc]
jne 0x1005703f
sub edi, dword [ebx + 0x24]
mov eax, dword [ebx + 0xc]
sub edi, esi
test eax, eax
je 0x10057031
test edi, edi
je 0x10057031
push eax
push edi
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp eax, edi
je 0x10057031
push str.GSDump:_Error_failed_to_write_data_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1001d650
add esp, 8
cmp dword [ebx + 0x24], 0
mov edi, dword [ebp - 0x14]
jne 0x10057059
mov ecx, dword [ebp - 0x10]
jmp 0x10056fe0
push eax
push str.GSDumpXz:_Error__d_n
push 2
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
add esp, 4
push eax
call fcn.1001d650
add esp, 0xc
sub edi, esi
cmp edi, 0x1000
jb 0x10057075
mov ecx, dword [esi - 4]
add edi, 0x23
sub esi, ecx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x10057092
mov esi, ecx
push edi
push esi
call fcn.100cd0a2
mov ecx, dword [ebp - 0xc]
add esp, 8
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3