Function at 0x1001cd10
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 0x10078241
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x10099128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 8
mov dword [ebp - 0x98], 0
mov eax, esp
mov ecx, 0x10099bc4
mov dword [eax], str.ModelVariations_PedWeapons.ini
mov dword [eax + 4], 0x1e
call fcn.100125e0
push str._nReading_ped_weapon_data..._n
call fcn.10012000
mov eax, dword [0x10099bdc]
add esp, 4
mov dword [ebp - 0x9c], eax
mov edi, dword [eax]
cmp edi, eax
je 0x1001d6c8
nop dword [eax]
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
jb 0x1001cdac
mov eax, dword [edi + 0x10]
push eax
push 0x1008a0e8
call fcn.10012000
mov esi, dword [edi + 0x20]
lea eax, [edi + 0x10]
xor edx, edx
mov dword [ebp - 0x80], eax
add esp, 8
mov dword [ebp - 0x7c], edx
cmp dword [eax + 0x14], 0x10
mov ecx, eax
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], edx
jb 0x1001cde4
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
cmp esi, 0x10
jae 0x1001cdf9
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x4c], 0xf
movups xmmword [ebp - 0x60], xmm0
jmp 0x1001ce78
mov eax, esi
mov ecx, 0x7fffffff
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x8c], eax
inc eax
cmp eax, 0x1000
jb 0x1001ce40
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1001d6f8
push ecx
call fcn.10055073
add esp, 4
test eax, eax
je 0x1001d6f3
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1001ce53
test eax, eax
je 0x1001ce51
push eax
call fcn.10055073
add esp, 4
mov ecx, eax
jmp 0x1001ce53
xor ecx, ecx
lea eax, [esi + 1]
mov dword [ebp - 0x60], ecx
push eax
push dword [ebp - 0x80]
push ecx
call fcn.100568e0
mov eax, dword [ebp - 0x8c]
add esp, 0xc
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x50], esi
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
mov ecx, dword [ebp - 0x60]
cmovae eax, ecx
setae byte [ebp - 0x81]
cmp byte [eax], 0x30
jl 0x1001cead
cmp byte [ebp - 0x81], 0
lea eax, [ebp - 0x60]
cmovne eax, ecx
cmp byte [eax], 0x39
jle 0x1001ced9
cmp byte [ebp - 0x81], 0
lea ecx, [ebp - 0x94]
lea eax, [ebp - 0x60]
cmovne eax, dword [ebp - 0x60]
push ecx
push eax
mov eax, 0x4c5940
call eax
mov edx, dword [ebp - 0x94]
add esp, 8
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x7c], edx
test edx, edx
jle 0x1001d1e6
cmp dword [ebp - 0x4c], 0x10
lea eax, [ebp - 0x60]
mov word [ebp - 0x30], dx
cmovae eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x8c], eax
cmp esi, 0x10
jae 0x1001cf21
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1c], esi
mov esi, 0xf
movups xmmword [ebp - 0x2c], xmm0
jmp 0x1001cf98
mov eax, esi
mov ecx, 0x7fffffff
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x80], eax
inc eax
cmp eax, 0x1000
jb 0x1001cf65
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1001d6f8
push ecx
call fcn.10055073
add esp, 4
test eax, eax
je 0x1001d6f3
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1001cf78
test eax, eax
je 0x1001cf76
push eax
call fcn.10055073
add esp, 4
mov ecx, eax
jmp 0x1001cf78
xor ecx, ecx
lea eax, [esi + 1]
mov dword [ebp - 0x2c], ecx
push eax
push dword [ebp - 0x8c]
push ecx
call fcn.100568e0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
add esp, 0xc
mov esi, dword [ebp - 0x80]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
movzx eax, byte [ebp - 0x30]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x2f]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x100cd950
push eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1001c4c0
cmp dword [ebp - 0xa0], 0
jne 0x1001d1b1
cmp dword [0x100cd958], 0x71c71c7
je 0x1001d6fd
mov dword [ebp - 0xbc], 0x100cd954
mov byte [ebp - 4], 2
push 0x24
mov dword [ebp - 0xb8], 0
call fcn.10055073
movups xmm0, xmmword [ebp - 0x70]
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x7c]
lea edx, [ecx + 8]
mov word [edx], ax
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
movups xmmword [edx + 4], xmm0
mov dword [ebp - 0x88], ecx
movq xmm0, qword [ebp - 0x1c]
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0x90], edx
movq qword [edx + 0x14], xmm0
mov esi, 0xf
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 7
mov eax, dword [0x100cd958]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008e370]
mov eax, dword [0x100cd96c]
mov dword [ebp - 0x8c], eax
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x1008e370]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100cd950]
comiss xmm1, xmm0
seta al
test al, al
je 0x1001d137
divss xmm2, xmm0
movaps xmm0, xmm2
call fcn.10012310
call fcn.10076b30
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x8c]
cmp eax, ecx
jae 0x1001d0f9
cmp eax, 0x200
jae 0x1001d0f7
shl eax, 3
cmp eax, ecx
jae 0x1001d0f9
mov eax, ecx
push eax
mov ecx, 0x100cd950
call fcn.1001bb30
push dword [ebp - 0x80]
lea eax, [ebp - 0xc4]
mov ecx, 0x100cd950
push dword [ebp - 0x90]
push eax
call fcn.1001c4c0
mov ecx, dword [ebp - 0x88]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xa4], edx
mov dword [ebp - 0xa0], eax
jmp 0x1001d13d
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
inc dword [0x100cd958]
mov dword [ecx + 4], eax
mov dword [ecx], edx
mov dword [eax], ecx
mov dword [edx + 4], ecx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
and eax, dword [0x100cd968]
mov dword [ebp - 0x7c], edx
mov edx, dword [0x100cd95c]
mov dword [ebp - 0xb8], 0
mov ecx, dword [edx + eax*8]
cmp ecx, dword [0x100cd954]
mov ecx, dword [ebp - 0x88]
jne 0x1001d188
mov dword [edx + eax*8], ecx
jmp 0x1001d1ad
mov ecx, dword [edx + eax*8]
cmp ecx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x88]
jne 0x1001d19b
mov dword [edx + eax*8], ecx
jmp 0x1001d1b1
mov ecx, dword [ebp - 0x90]
cmp dword [edx + eax*8 + 4], ecx
mov ecx, dword [ebp - 0x88]
jne 0x1001d1b1
mov dword [edx + eax*8 + 4], ecx
mov byte [ebp - 4], 0
cmp esi, 0x10
jb 0x1001d1e6
mov ecx, dword [ebp - 0x2c]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x1001d1dc
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d6f3
push esi
push ecx
call fcn.100550a8
add esp, 8
mov esi, dword [edi + 0x28]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x1001d646
nop word [eax + eax]
lea eax, [esi + 0x10]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov edx, dword [eax + 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x80], edx
cmp edx, 0x10
jb 0x1001d247
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x88]
cmp ecx, 6
jb 0x1001d367
mov ecx, dword [ebp - 0x8c]
mov edx, str.WANTED
push 6
call fcn.1000e250
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x7c]
jne 0x1001d35e
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x1001d27a
mov ecx, dword [eax]
mov edx, dword [ebp - 0x88]
push 1
push 0x1008a644
push 0
call fcn.10010430
add esp, 0xc
lea edx, [eax + 1]
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x90], edx
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x1001d2a7
mov ecx, dword [eax]
push 1
push 0x1008a644
push edx
mov edx, dword [ebp - 0x88]
call fcn.10010430
add esp, 0xc
mov dword [ebp - 0x78], 0
mov ecx, eax
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 4], 9
cmp eax, edx
jb 0x1001d707
sub eax, edx
sub ecx, edx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x80], 0x10
mov eax, dword [ebp - 0x7c]
jb 0x1001d300
mov eax, dword [eax]
push ecx
add eax, edx
lea ecx, [ebp - 0x78]
push eax
call fcn.1000d320
or dword [ebp - 0x98], 1
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1001d347
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d33d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d6f3
push edx
push ecx
call fcn.100550a8
add esp, 8
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x38], xmm0
jmp 0x1001d41b
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
cmp edx, 0x10
jb 0x1001d376
mov eax, dword [eax]
jmp 0x1001d37c
mov eax, dword [ebp - 0x90]
push 1
push 0x1008a644
mov edx, ecx
mov ecx, eax
push 0
call fcn.10010430
add esp, 0xc
mov dword [ebp - 0x78], 0
mov ecx, eax
cmp dword [ebp - 0x88], ecx
mov byte [ebp - 4], 9
cmovb ecx, dword [ebp - 0x88]
cmp dword [ebp - 0x80], 0x10
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
jb 0x1001d3c4
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.1000d320
or dword [ebp - 0x98], 2
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1001d409
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d3ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d6f3
push edx
push ecx
call fcn.100550a8
add esp, 8
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x38], xmm0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x94]
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push ecx
cmovae eax, dword [ebp - 0x48]
push eax
mov eax, 0x4c5940
call eax
add esp, 8
test eax, eax
je 0x1001d5b4
mov ax, word [ebp - 0x94]
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x48]
push eax
call fcn.1000cc60
mov byte [ebp - 4], 0x10
movzx eax, byte [ebp - 0x30]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebp - 0x2f]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, 0x100cd970
push eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1001c4c0
cmp dword [ebp - 0xa8], 0
jne 0x1001d5ac
cmp dword [0x100cd978], 0x71c71c7
je 0x1001d6fd
mov dword [ebp - 0xb4], 0x100cd974
mov byte [ebp - 4], 0x11
push 0x24
mov dword [ebp - 0xb0], 0
call fcn.10055073
add esp, 4
mov dword [ebp - 0x80], eax
mov dword [ebp - 0xb0], eax
lea ecx, [ebp - 0x30]
add eax, 8
mov dword [ebp - 0x90], eax
push ecx
mov ecx, eax
call fcn.1001c940
mov byte [ebp - 4], 0x12
mov eax, dword [0x100cd978]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008e370]
mov eax, dword [0x100cd98c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008e370]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x100cd970]
seta al
test al, al
je 0x1001d57d
mov ecx, 0x100cd970
call fcn.1001b930
push dword [ebp - 0x8c]
lea eax, [ebp - 0xcc]
mov ecx, 0x100cd970
push dword [ebp - 0x90]
push eax
call fcn.1001c4c0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], eax
jmp 0x1001d583
mov ecx, dword [ebp - 0xac]
push dword [ebp - 0x80]
mov dword [ebp - 0xb0], 0
push ecx
push dword [ebp - 0x8c]
mov ecx, 0x100cd970
call fcn.1001b990
lea ecx, [ebp - 0xb4]
call fcn.1001b6e0
lea ecx, [ebp - 0x2c]
call fcn.1000c980
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1001d5ec
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d5e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d6f3
push edx
push ecx
call fcn.100550a8
add esp, 8
mov eax, dword [esi + 8]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp byte [eax + 0xd], 0
je 0x1001d624
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001d620
cmp esi, dword [eax + 8]
jne 0x1001d620
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001d610
mov esi, eax
jmp 0x1001d63c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001d63c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001d630
cmp byte [esi + 0xd], 0
je 0x1001d200
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1001d67f
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x60]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d675
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d6f3
push edx
push ecx
call fcn.100550a8
add esp, 8
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x1001d6a5
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001d6a1
cmp edi, dword [eax + 8]
jne 0x1001d6a1
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001d691
mov edi, eax
jmp 0x1001d6bc
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x1001d6bc
nop
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001d6b0
cmp edi, dword [ebp - 0x9c]
jne 0x1001cda0
push 0x1008a240
call fcn.10012000
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10054e57
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1006065f
call fcn.100097d0
push str.unordered_map_set_too_long
call fcn.10052920
call fcn.1000dab0
int3