Function at 0x10077160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword fs:[0x2c]
mov edx, dword [0x101935ec]
push esi
push edi
mov dword [esp + 0x10], ecx
mov edx, dword [eax + edx*4]
mov eax, dword [0x1027d00c]
cmp eax, dword [edx + 4]
jle 0x100771ca
push 0x1027d00c
call fcn.10117cbc
add esp, 4
cmp dword [0x1027d00c], 0xffffffff
jne 0x100771ca
mov eax, dword [0x10192958]
push str.weapon_accuracy_nospread
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x1027d00c
mov dword [0x1027d008], eax
call fcn.10117c6b
add esp, 4
cmp dword [ebp + 0x1c], 0
je 0x100775df
mov ecx, dword [0x1027d008]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
cmp eax, 1
jge 0x100775df
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
movss xmm1, dword [edi + 0xc]
addss xmm1, dword [esi]
movss xmm2, dword [edi + 0x10]
addss xmm2, dword [esi + 4]
mulss xmm1, dword [0x101836a8]
mulss xmm2, dword [0x101836a8]
movaps xmm0, xmm1
movaps xmm1, xmm2
call fcn.101482d0
movaps xmm2, xmm0
shufps xmm0, xmm2, 1
movaps xmm1, xmm2
shufps xmm1, xmm2, 0xe
movups xmmword [esp + 0x70], xmm0
movaps xmm0, xmm1
shufps xmm0, xmm1, 1
movups xmmword [esp + 0x80], xmm1
movss xmm1, dword [edi + 0x14]
addss xmm1, dword [esi + 8]
movaps xmmword [esp + 0x60], xmm0
movups xmmword [esp + 0x90], xmm2
mulss xmm1, dword [0x101836a8]
movaps xmm0, xmm1
call fcn.10148280
movaps xmm3, xmmword [esp + 0x60]
movaps xmm2, xmm0
movups xmm4, xmmword [esp + 0x70]
xor edi, edi
movups xmm5, xmmword [esp + 0x80]
movups xmm6, xmmword [esp + 0x90]
movaps xmm0, xmm3
movaps xmm7, xmm2
mulss xmm0, xmm4
shufps xmm7, xmm2, 1
movaps xmm1, xmm7
movss dword [esp + 0x34], xmm0
movaps xmm0, xmm5
mulss xmm0, xmm4
mulss xmm1, xmm5
movss dword [esp + 0x40], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm6
mulss xmm0, xmm3
subss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm3
xorps xmm0, xmmword [0x10183eb0]
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm6
movss xmm4, dword [esp + 0x18]
mulss xmm0, xmm2
movss dword [esp + 0x30], xmm1
movaps xmm1, xmm7
mulss xmm1, xmm6
mulss xmm0, xmm5
mulss xmm1, xmm3
subss xmm4, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x18], xmm4
movups xmm4, xmmword [esp + 0x70]
mulss xmm0, xmm4
xorps xmm0, xmmword [0x10183eb0]
movss dword [esp + 0x48], xmm0
movaps xmm0, xmm2
mulss xmm0, xmm5
mulss xmm2, xmm3
addss xmm1, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm7
mulss xmm7, xmm4
mulss xmm0, xmm5
movss dword [esp + 0x38], xmm1
movups xmmword [esp + 0x80], xmm7
subss xmm0, xmm2
movss dword [esp + 0x44], xmm0
movd xmm0, dword [ebp + 0x1c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10183848]
cvttss2si eax, xmm0
mov esi, dword [ebp + 0x10]
mov ecx, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x714]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov eax, dword [esi]
mov ecx, esi
fstp dword [esp + 0x2c]
mov eax, dword [eax + 0x78c]
mov dword [esp + 0x14], eax
call dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x54]
push edx
fstp dword [esp + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x474]
call eax
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x734]
call eax
xor ecx, ecx
mov dword [esp + 0x14], ecx
movss xmm0, dword [eax + 0x10c]
movss dword [esp + 0x3c], xmm0
lea eax, [ecx + 1]
mov dword [esp + 0x50], eax
push eax
mov eax, dword [0x1019294c]
mov eax, dword [eax + 0x154]
call eax
mov eax, dword [0x1019294c]
mov dword [esp], 0x40c90fdb
push ecx
mov dword [esp], 0
mov eax, dword [eax + 0x158]
call eax
mov eax, dword [0x1019294c]
fstp dword [esp + 0x28]
mov dword [esp + 4], 0x40c90fdb
mov dword [esp], 0
mov eax, dword [eax + 0x158]
call eax
mov eax, dword [0x1019294c]
fstp dword [esp + 0x24]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
mov eax, dword [eax + 0x158]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
fmul dword [esp + 0x30]
mov eax, dword [0x1019294c]
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0
mov eax, dword [eax + 0x158]
fstp dword [esp + 0x2c]
mov dword [esp + 0x18], eax
call dword [esp + 0x18]
fmul dword [esp + 0x34]
add esp, 8
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
fstp dword [esp + 0x10]
call fcn.101482d0
movss xmm1, dword [esp + 0x30]
movaps xmm3, xmm0
movss xmm2, dword [esp + 0x18]
movaps xmm5, xmm3
shufps xmm5, xmm3, 0xe
xor esi, esi
shufps xmm0, xmm3, 1
movaps xmm4, xmm5
mulss xmm0, dword [esp + 0x10]
mov dword [esp + 0x78], 0
mulss xmm3, dword [esp + 0x10]
shufps xmm4, xmm5, 1
mulss xmm4, dword [esp + 0x24]
mulss xmm5, dword [esp + 0x24]
addss xmm4, xmm0
movss xmm6, dword [esp + 0x3c]
movss xmm0, dword [esp + 0x38]
addss xmm5, xmm3
movss xmm3, dword [esp + 0x48]
mulss xmm1, xmm4
mulss xmm0, xmm5
addss xmm1, dword [esp + 0x34]
mulss xmm2, xmm4
mulss xmm3, xmm4
addss xmm2, dword [esp + 0x40]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x44]
subss xmm3, dword [esp + 0x90]
mulss xmm0, xmm5
mulss xmm1, xmm6
addss xmm2, xmm0
movss xmm0, dword [esp + 0x80]
mulss xmm0, xmm5
movss dword [esp + 0x24], xmm1
addss xmm3, xmm0
mulss xmm2, xmm6
movss dword [esp + 0x20], xmm2
mulss xmm3, xmm6
movss dword [esp + 0x1c], xmm3
nop word [eax + eax]
addss xmm1, dword [esp + 0x54]
addss xmm2, dword [esp + 0x58]
addss xmm3, dword [esp + 0x5c]
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x58]
movss dword [esp + 0x64], xmm1
push eax
push dword [ebp + 8]
mov edx, esi
movss dword [esp + 0x70], xmm2
movss dword [esp + 0x74], xmm3
call fcn.100769a0
test al, al
jne 0x100775a9
movss xmm1, dword [esp + 0x24]
inc esi
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x1c]
cmp esi, 0x13
jl 0x10077550
jmp 0x100775aa
inc edi
mov ecx, dword [esp + 0x4c]
cmp edi, ecx
jge 0x100775df
mov eax, edi
sub eax, dword [esp + 0x14]
add eax, 0xff
cmp eax, ecx
jl 0x100775d5
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
cmp ecx, 0xff
jl 0x100773c6
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x18