Function at 0x1001cba0
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 0x1007a6b1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc0
mov eax, dword [0x1009b128]
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, 0x1009bbdc
mov dword [eax], str.ModelVariations_PedWeapons.ini
mov dword [eax + 4], 0x1e
call fcn.10011cd0
push str._nReading_ped_weapon_data..._n
call fcn.100116e0
mov eax, dword [0x1009bbf4]
add esp, 4
mov dword [ebp - 0x9c], eax
mov edi, dword [eax]
cmp edi, eax
je 0x1001d558
nop dword [eax]
cmp dword [edi + 0x24], 0x10
lea eax, [edi + 0x10]
jb 0x1001cc3c
mov eax, dword [edi + 0x10]
push eax
push 0x1008c030
call fcn.100116e0
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 0x1001cc74
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
cmp esi, 0x10
jae 0x1001cc89
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x4c], 0xf
movups xmmword [ebp - 0x60], xmm0
jmp 0x1001cd08
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 0x1001ccd0
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1001d588
push ecx
call fcn.10057514
add esp, 4
test eax, eax
je 0x1001d583
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1001cce3
test eax, eax
je 0x1001cce1
push eax
call fcn.10057514
add esp, 4
mov ecx, eax
jmp 0x1001cce3
xor ecx, ecx
lea eax, [esi + 1]
mov dword [ebp - 0x60], ecx
push eax
push dword [ebp - 0x80]
push ecx
call fcn.10058d80
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 0x1001cd3d
cmp byte [ebp - 0x81], 0
lea eax, [ebp - 0x60]
cmovne eax, ecx
cmp byte [eax], 0x39
jle 0x1001cd69
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 0x1001d076
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 0x1001cdb1
movups xmm0, xmmword [eax]
mov dword [ebp - 0x1c], esi
mov esi, 0xf
movups xmmword [ebp - 0x2c], xmm0
jmp 0x1001ce28
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 0x1001cdf5
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1001d588
push ecx
call fcn.10057514
add esp, 4
test eax, eax
je 0x1001d583
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1001ce08
test eax, eax
je 0x1001ce06
push eax
call fcn.10057514
add esp, 4
mov ecx, eax
jmp 0x1001ce08
xor ecx, ecx
lea eax, [esi + 1]
mov dword [ebp - 0x2c], ecx
push eax
push dword [ebp - 0x8c]
push ecx
call fcn.10058d80
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, 0x100cf970
push eax
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.1001c230
cmp dword [ebp - 0xa0], 0
jne 0x1001d041
cmp dword [0x100cf978], 0x71c71c7
je 0x1001d58d
mov dword [ebp - 0xbc], 0x100cf974
mov byte [ebp - 4], 2
push 0x24
mov dword [ebp - 0xb8], 0
call fcn.10057514
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 [0x100cf978]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100905f0]
mov eax, dword [0x100cf98c]
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 + 0x100905f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x100cf970]
comiss xmm1, xmm0
seta al
test al, al
je 0x1001cfc7
divss xmm2, xmm0
movaps xmm0, xmm2
call fcn.10011a00
call fcn.10078fd0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x8c]
cmp eax, ecx
jae 0x1001cf89
cmp eax, 0x200
jae 0x1001cf87
shl eax, 3
cmp eax, ecx
jae 0x1001cf89
mov eax, ecx
push eax
mov ecx, 0x100cf970
call fcn.1001b730
push dword [ebp - 0x80]
lea eax, [ebp - 0xc4]
mov ecx, 0x100cf970
push dword [ebp - 0x90]
push eax
call fcn.1001c230
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 0x1001cfcd
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
inc dword [0x100cf978]
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 [0x100cf988]
mov dword [ebp - 0x7c], edx
mov edx, dword [0x100cf97c]
mov dword [ebp - 0xb8], 0
mov ecx, dword [edx + eax*8]
cmp ecx, dword [0x100cf974]
mov ecx, dword [ebp - 0x88]
jne 0x1001d018
mov dword [edx + eax*8], ecx
jmp 0x1001d03d
mov ecx, dword [edx + eax*8]
cmp ecx, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x88]
jne 0x1001d02b
mov dword [edx + eax*8], ecx
jmp 0x1001d041
mov ecx, dword [ebp - 0x90]
cmp dword [edx + eax*8 + 4], ecx
mov ecx, dword [ebp - 0x88]
jne 0x1001d041
mov dword [edx + eax*8 + 4], ecx
mov byte [ebp - 4], 0
cmp esi, 0x10
jb 0x1001d076
mov ecx, dword [ebp - 0x2c]
inc esi
mov eax, ecx
cmp esi, 0x1000
jb 0x1001d06c
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d583
push esi
push ecx
call fcn.10057549
add esp, 8
mov esi, dword [edi + 0x28]
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
jne 0x1001d4d6
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 0x1001d0d7
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x88]
cmp ecx, 6
jb 0x1001d1f7
mov ecx, dword [ebp - 0x8c]
mov edx, str.WANTED
push 6
call fcn.1000d900
add esp, 4
test eax, eax
mov eax, dword [ebp - 0x7c]
jne 0x1001d1ee
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x1001d10a
mov ecx, dword [eax]
mov edx, dword [ebp - 0x88]
push 1
push 0x1008c590
push 0
call fcn.1000fb10
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 0x1001d137
mov ecx, dword [eax]
push 1
push 0x1008c590
push edx
mov edx, dword [ebp - 0x88]
call fcn.1000fb10
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 0x1001d597
sub eax, edx
sub ecx, edx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x80], 0x10
mov eax, dword [ebp - 0x7c]
jb 0x1001d190
mov eax, dword [eax]
push ecx
add eax, edx
lea ecx, [ebp - 0x78]
push eax
call fcn.1000c950
or dword [ebp - 0x98], 1
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1001d1d7
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d1cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d583
push edx
push ecx
call fcn.10057549
add esp, 8
movups xmm0, xmmword [ebp - 0x78]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x38], xmm0
jmp 0x1001d2ab
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x90], eax
cmp edx, 0x10
jb 0x1001d206
mov eax, dword [eax]
jmp 0x1001d20c
mov eax, dword [ebp - 0x90]
push 1
push 0x1008c590
mov edx, ecx
mov ecx, eax
push 0
call fcn.1000fb10
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 0x1001d254
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x78]
call fcn.1000c950
or dword [ebp - 0x98], 2
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1001d299
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d28f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d583
push edx
push ecx
call fcn.10057549
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 0x1001d444
mov ax, word [ebp - 0x94]
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x30], ax
lea eax, [ebp - 0x48]
push eax
call fcn.1000c290
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, 0x100cf990
push eax
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1001c230
cmp dword [ebp - 0xa8], 0
jne 0x1001d43c
cmp dword [0x100cf998], 0x71c71c7
je 0x1001d58d
mov dword [ebp - 0xb4], 0x100cf994
mov byte [ebp - 4], 0x11
push 0x24
mov dword [ebp - 0xb0], 0
call fcn.10057514
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.1001c7d0
mov byte [ebp - 4], 0x12
mov eax, dword [0x100cf998]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100905f0]
mov eax, dword [0x100cf9ac]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100905f0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [0x100cf990]
seta al
test al, al
je 0x1001d40d
mov ecx, 0x100cf990
call fcn.1001b510
push dword [ebp - 0x8c]
lea eax, [ebp - 0xcc]
mov ecx, 0x100cf990
push dword [ebp - 0x90]
push eax
call fcn.1001c230
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], eax
jmp 0x1001d413
mov ecx, dword [ebp - 0xac]
push dword [ebp - 0x80]
mov dword [ebp - 0xb0], 0
push ecx
push dword [ebp - 0x8c]
mov ecx, 0x100cf990
call fcn.1001b570
lea ecx, [ebp - 0xb4]
call fcn.1001b2c0
lea ecx, [ebp - 0x2c]
call fcn.1000bfb0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x1001d47c
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d472
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d583
push edx
push ecx
call fcn.10057549
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 0x1001d4b4
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001d4b0
cmp esi, dword [eax + 8]
jne 0x1001d4b0
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001d4a0
mov esi, eax
jmp 0x1001d4cc
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x1001d4cc
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001d4c0
cmp byte [esi + 0xd], 0
je 0x1001d090
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0x10
jb 0x1001d50f
lea edx, [ecx + 1]
mov ecx, dword [ebp - 0x60]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001d505
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001d583
push edx
push ecx
call fcn.10057549
add esp, 8
mov eax, dword [edi + 8]
cmp byte [eax + 0xd], 0
je 0x1001d535
mov eax, dword [edi + 4]
cmp byte [eax + 0xd], 0
jne 0x1001d531
cmp edi, dword [eax + 8]
jne 0x1001d531
mov edi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x1001d521
mov edi, eax
jmp 0x1001d54c
mov edi, eax
mov ecx, dword [edi]
cmp byte [ecx + 0xd], 0
jne 0x1001d54c
nop
mov eax, dword [ecx]
mov edi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x1001d540
cmp edi, dword [ebp - 0x9c]
jne 0x1001cc30
push 0x1008c188
call fcn.100116e0
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.100572f8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10062aff
call fcn.10008dc0
push str.unordered_map_set_too_long
call fcn.10054dc0
call fcn.1000d0e0
int3