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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007557d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10094128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebx]
push 0
push 0
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebx]
mov edx, dword [eax + 4]
lea eax, [edx - 0x18]
mov dword [edx + ebx - 4], eax
mov eax, dword [ebx]
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov edi, dword [eax + 4]
add edi, ebx
mov ecx, edi
mov dword [edi + 0x30], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.10009720
push 8
call fcn.100533df
add esp, 4
mov esi, eax
push 1
mov dword [ebp - 4], 1
call fcn.10050bb6
mov dword [esi + 4], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [edi + 0x30], esi
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov esi, dword [esi + 4]
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 2
push eax
call fcn.1000cec0
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov edx, dword [edx + 0x20]
call edx
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [esi]
mov byte [ebp + 0xb], al
call dword [edx + 8]
test eax, eax
je 0x1000c6d0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [edi + 0x38], 0
mov al, byte [ebp + 0xb]
mov byte [edi + 0x40], al
jne 0x1000c6ec
mov eax, dword [edi + 0xc]
mov ecx, edi
push 0
or eax, 4
push eax
call fcn.10009720
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 0xc

Function at 0x1000cc90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100755c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10094128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100533df
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10050bb6
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x1000d030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000d076
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000d080
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov bl, byte [esi]
test eax, eax
je 0x1000d0c7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000e150
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov edx, esp
mov dword [ebp - 4], ecx
mov dword [edx], eax
call fcn.1000a000
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe9
test eax, eax
je 0x1000e1aa
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 0xc]
inc esi
push eax
push 0x40
push 4
sub edi, esi
mov dword [ebp - 0x14], 4
push esi
sub edi, 4
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
test eax, eax
je 0x1000e1ea
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000e200
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push ecx
mov edx, esp
mov dword [ebp - 4], ecx
mov dword [edx], eax
call fcn.1000a000
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe8
test eax, eax
je 0x1000e25a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 0xc]
inc esi
push eax
push 0x40
push 4
sub edi, esi
mov dword [ebp - 0x14], 4
push esi
sub edi, 4
mov dword [ebp - 0x18], esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
test eax, eax
je 0x1000e29a
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10010e80
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
push 0xffffffffffffffff
push 0x10075b05
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x10094128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 0xc]
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
imul eax, ecx, 0x1000193
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.10011fb0
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x10010f13
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x10011062
cmp dword [0x100bfcc8], 0x71c71c7
je 0x10011078
mov dword [ebp - 0x24], 0x100bfcc4
mov dword [ebp - 4], 0
push 0x24
mov dword [ebp - 0x20], 0
call fcn.100533df
mov ecx, dword [edi]
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0xf
mov dword [ebp - 4], 3
mov ecx, dword [0x100bfcc8]
mov edi, dword [0x100bfcdc]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008b7b0]
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm3, xmm0
movd xmm0, edi
cvtdq2pd xmm0, xmm0
movaps xmm2, xmm3
addsd xmm0, qword [eax*8 + 0x1008b7b0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [0x100bfcc0]
divss xmm2, xmm1
comiss xmm2, xmm0
jbe 0x1001100d
divss xmm3, xmm0
movaps xmm0, xmm3
call fcn.1000e110
call fcn.10075030
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x10010fed
cmp edi, 0x200
jae 0x10010feb
shl edi, 3
cmp edi, ecx
jae 0x10010fed
mov edi, ecx
push edi
call fcn.10011c20
push dword [ebp - 0x14]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10011fb0
mov ecx, dword [0x100bfcc8]
mov edx, dword [eax]
jmp 0x10011010
mov edx, dword [ebp - 0x1c]
mov edi, dword [edx + 4]
inc ecx
mov dword [0x100bfcc8], ecx
mov dword [esi], edx
mov dword [esi + 4], edi
mov dword [edi], esi
mov dword [edx + 4], esi
mov eax, dword [0x100bfcd8]
and eax, dword [ebp - 0x14]
mov ecx, dword [0x100bfccc]
mov esi, dword [ecx + eax*8]
cmp esi, dword [0x100bfcc4]
mov esi, dword [ebp - 0x20]
jne 0x10011045
mov dword [ecx + eax*8], esi
jmp 0x10011055
cmp dword [ecx + eax*8], edx
jne 0x1001104f
mov dword [ecx + eax*8], esi
jmp 0x10011059
cmp dword [ecx + eax*8 + 4], edi
jne 0x10011059
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.100509bf
int3
Function at 0x10011c20
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, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x10011dc1
lea eax, [ecx - 1]
mov esi, dword [0x100bfcc4]
or eax, edi
mov dword [ebp - 4], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100bfccc
lea eax, [edi + edi]
push eax
call fcn.10010910
mov ecx, dword [0x100bfcc4]
lea eax, [edi - 1]
mov dword [0x100bfcd8], eax
mov dword [0x100bfcdc], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10011d8b
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
mov eax, dword [0x100bfccc]
imul edi, edi, 0x1000193
and edi, dword [0x100bfcd8]
lea eax, [eax + edi*8]
mov edi, dword [eax]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
cmp edi, esi
jne 0x10011cf9
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10011d81
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10011d3c
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x10011d34
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], ecx
jmp 0x10011d81
mov edi, eax
cmp dword [ebp - 8], eax
je 0x10011d55
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
je 0x10011d96
cmp dword [ebp - 8], eax
jne 0x10011d43
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov dword [eax], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], esi
mov esi, dword [ebp - 8]
mov dword [edx + 4], esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov esi, dword [ebp - 4]
mov ecx, edx
cmp edx, esi
jne 0x10011ca0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x10011d7e
push str.invalid_hash_bucket_count
call fcn.100509bf
int3
Function at 0x10011dd0
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, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x10011f71
lea eax, [ecx - 1]
mov esi, dword [0x100bfce4]
or eax, edi
mov dword [ebp - 4], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x100bfcec
lea eax, [edi + edi]
push eax
call fcn.10010910
mov ecx, dword [0x100bfce4]
lea eax, [edi - 1]
mov dword [0x100bfcf8], eax
mov dword [0x100bfcfc], edi
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x10011f3b
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
mov eax, dword [0x100bfcec]
imul edi, edi, 0x1000193
and edi, dword [0x100bfcf8]
lea eax, [eax + edi*8]
mov edi, dword [eax]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
cmp edi, esi
jne 0x10011ea9
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x10011f31
mov eax, dword [eax + 4]
mov edi, dword [ecx + 8]
cmp edi, dword [eax + 8]
jne 0x10011eec
mov eax, dword [eax]
mov dword [ebp - 8], eax
cmp eax, ecx
je 0x10011ee4
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], ecx
jmp 0x10011f31
mov edi, eax
cmp dword [ebp - 8], eax
je 0x10011f05
mov eax, dword [eax + 4]
mov edi, eax
mov esi, dword [ecx + 8]
cmp esi, dword [eax + 8]
je 0x10011f46
cmp dword [ebp - 8], eax
jne 0x10011ef3
mov eax, dword [ecx + 4]
mov dword [ebp - 8], eax
mov dword [eax], edx
mov eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0x10]
mov dword [eax], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], esi
mov esi, dword [ebp - 8]
mov dword [edx + 4], esi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], ecx
mov esi, dword [ebp - 4]
mov ecx, edx
cmp edx, esi
jne 0x10011e50
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 8]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x10011f2e
push str.invalid_hash_bucket_count
call fcn.100509bf
int3
Function at 0x10015060
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x10094b90], 0xffffffff
push esi
je 0x100150ec
mov ecx, dword [0x100bfd00]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov edx, 0x1869f
call fcn.10015020
mov edx, dword [0x100bfd00]
add esp, 8
mov ecx, edx
mov dword [ebp - 4], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100150a0
push 0
lea eax, [ebp - 4]
sub ecx, esi
push eax
push ecx
push edx
push dword [0x10094b90]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100150ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100150ec
mov ecx, dword [0x100bfd00]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100150d7
sub ecx, edx
cmp ecx, dword [ebp - 4]
jne 0x100150ec
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10015100
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [0x10094b90], 0xffffffff
push esi
je 0x100151e1
lea eax, [ebp + 8]
mov ecx, 0x100bfbf0
push eax
lea eax, [esp + 0x10]
push eax
call fcn.100111d0
mov ecx, dword [eax + 8]
cmp byte [ecx + 0xd], 0
jne 0x1001513f
mov eax, dword [ebp + 8]
cmp eax, dword [ecx + 0x10]
jae 0x100151e1
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push 0x1869f
push dword [0x100bfd00]
call fcn.10008af0
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.1005ab6a
mov edx, dword [0x100bfd00]
add esp, 0x1c
mov ecx, edx
mov dword [esp + 8], 0
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015180
push 0
lea eax, [esp + 0xc]
sub ecx, esi
push eax
push ecx
push edx
push dword [0x10094b90]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100151af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x100151e1
mov edx, dword [0x100bfd00]
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100151b8
sub edx, esi
cmp edx, dword [esp + 8]
jne 0x100151e1
lea eax, [ebp + 8]
mov ecx, 0x100bfbf0
push eax
lea eax, [esp + 0x10]
push eax
call fcn.10015280
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100154b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x14], 0
sub edi, esi
jne 0x100154cf
mov byte [ebp - 8], 0
jmp 0x100154e9
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
push 0x40
push edi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 8]
push edi
push 0x90
push esi
call fcn.100552a0
add esp, 0xc
cmp byte [ebp - 8], 0
je 0x10015515
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100166b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
push esi
push edi
mov edi, ecx
movzx ecx, dx
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], ecx
cmp edx, 0x190
jge 0x100166d7
mov word [esp + 0xc], cx
jmp 0x1001674b
mov esi, dword [0x100bfbfc]
movzx eax, cx
mov dword [esp + 0x10], eax
movzx eax, cl
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
mov eax, dword [esp + 0xc]
movzx eax, ax
shr eax, 8
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x15ae8]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.1001ee60
mov eax, dword [eax + 4]
test eax, eax
jne 0x10016727
mov eax, dword [esi + 0x15aec]
cmp eax, dword [esi + 0x15aec]
je 0x10016742
add eax, 0xc
mov ecx, edi
push eax
call fcn.1001a310
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov word [esp + 0xc], ax
lea ecx, [esp + 0xc]
push ecx
lea eax, [esp + 0x12]
push eax
push ecx
mov ecx, edi
call fcn.1001a380
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100192e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x10094128]
xor eax, esp
mov dword [esp + 0x1c], eax
push str.ModelVariations_Peds.ini
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10019330
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x10019330
push str.ModelVariations_Peds.ini
push str._n_s_not_found__n_n
call fcn.10015060
add esp, 8
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100531e7
mov esp, ebp
pop ebp
ret
sub esp, 8
lea ecx, [esp + 0xc]
mov eax, esp
mov dword [eax], str.ModelVariations_Peds.ini
mov dword [eax + 4], 0x18
call fcn.10015c30
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x10019356
mov eax, dword [eax]
push eax
push str._n_ModelVariations_Peds.ini__n_n_s_n
call fcn.10015060
mov edx, dword [esp + 0x20]
add esp, 8
cmp edx, 0x10
jb 0x10019396
mov ecx, dword [esp + 4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001938c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100193a5
push edx
push ecx
call fcn.10053414
add esp, 8
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100531e7
mov esp, ebp
pop ebp
ret
call fcn.1005eb2f
int3
Function at 0x10019ed0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100763e5
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10094128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
xor edx, eax
imul eax, edx, 0x1000193
push eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.1001ee60
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x1001a02d
cmp dword [edi + 8], 0xaaaaaaa
je 0x1001a044
lea eax, [edi + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], esi
push 0x18
mov dword [ebp - 0x1c], esi
call fcn.100533df
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
movzx ecx, word [ebx]
mov word [esi + 8], cx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov ecx, dword [edi + 8]
lea eax, [ecx + 1]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008b7b0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008b7b0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
jbe 0x10019fe6
mov ecx, edi
call fcn.1001e330
push dword [ebp + 8]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.1001ee60
mov ecx, dword [edi + 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x10019fe9
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 4]
lea eax, [ecx + 1]
mov dword [edi + 8], eax
mov dword [esi + 4], ebx
mov dword [esi], edx
mov dword [ebx], esi
mov dword [edx + 4], esi
mov eax, dword [edi + 0x18]
and eax, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov edi, dword [ecx + eax*8]
cmp edi, dword [ebx]
mov ebx, dword [ebp - 0x14]
jne 0x1001a01a
mov dword [ecx + eax*8], esi
jmp 0x1001a029
cmp edi, edx
jne 0x1001a023
mov dword [ecx + eax*8], esi
jmp 0x1001a02d
cmp dword [ecx + eax*8 + 4], ebx
jne 0x1001a02d
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
push str.unordered_map_set_too_long
call fcn.100509bf
int3