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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0x2c]
sub esp, 0x8c
mov edx, dword [0x1063b7b0]
push ebx
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x1075a564]
push esi
push edi
cmp eax, dword [edx + 4]
jg 0x100dfb1f
mov esi, dword [ebp + 0x1c]
test esi, esi
je 0x100dfb14
mov ecx, dword [0x1075a568]
xor edx, edx
push dword [0x1063c5b8]
mov eax, dword [ecx]
push dword [eax + 0x34]
lea eax, [esp + 0x1c]
push eax
call fcn.1002a9f0
cmp eax, 1
jge 0x100dfb14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
vmovss xmm0, dword [eax]
vaddss xmm0, xmm0, dword [ecx + 0xc]
vmovss dword [esp + 0x14], xmm0
vmovss xmm0, dword [ecx + 0x10]
vaddss xmm0, xmm0, dword [eax + 4]
vmovss dword [esp + 0x18], xmm0
vmovss xmm0, dword [ecx + 0x14]
vaddss xmm0, xmm0, dword [eax + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
vmovss dword [esp + 0x20], xmm0
call fcn.100df140
push dword [0x1063c5b8]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, esi
vmulss xmm0, xmm0, dword [0x10228724]
mov esi, dword [ebp + 0x10]
xor edx, edx
vcvttss2si eax, xmm0
mov dword [esp + 0x40], eax
mov ecx, esi
xor edi, edi
mov eax, dword [esi]
push dword [eax + 0x714]
lea eax, [esp + 0x1c]
push eax
call fcn.1002a9f0
mov eax, dword [esi]
xor edx, edx
push dword [0x1063c5b8]
fstp dword [esp + 0x38]
mov ecx, esi
push dword [eax + 0x78c]
lea eax, [esp + 0x1c]
push eax
call fcn.1002a9f0
lea eax, [esp + 0x44]
xor edx, edx
push eax
mov eax, dword [ebx]
mov ecx, ebx
push dword [0x1063c5b8]
fstp dword [esp + 0x38]
push dword [eax + 0x474]
lea eax, [esp + 0x20]
push eax
call fcn.1002a9f0
mov eax, dword [esi]
xor edx, edx
push dword [0x1063c5b8]
mov ecx, esi
push dword [eax + 0x734]
lea eax, [esp + 0x1c]
push eax
call fcn.1002a9f0
mov ebx, dword [ebp + 0xc]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
vmovss xmm0, dword [eax + 0x10c]
vmovss dword [esp + 0x38], xmm0
lea eax, [ecx + 1]
push eax
mov dword [esp + 0x44], eax
call dword [0x1063c518]
vmovss xmm0, dword [0x10228778]
vmovss dword [esp], xmm0
push ecx
vxorps xmm0, xmm0, xmm0
vmovss dword [esp], xmm0
call dword [0x1063c51c]
vmovss xmm0, dword [0x10228778]
vmovss dword [esp + 4], xmm0
vxorps xmm0, xmm0, xmm0
fstp dword [esp + 0x2c]
vmovss dword [esp], xmm0
call dword [0x1063c51c]
vmovss xmm0, dword [0x10228684]
mov eax, dword [0x1063c51c]
vmovss dword [esp + 4], xmm0
vxorps xmm0, xmm0, xmm0
fstp dword [esp + 0x28]
mov dword [esp + 0x18], eax
vmovss dword [esp], xmm0
call dword [esp + 0x18]
fmul dword [esp + 0x38]
vmovss xmm0, dword [0x10228684]
mov eax, dword [0x1063c51c]
vmovss dword [esp + 4], xmm0
vxorps xmm0, xmm0, xmm0
fstp dword [esp + 0x30]
mov dword [esp + 0x18], eax
vmovss dword [esp], xmm0
call dword [esp + 0x18]
fmul dword [esp + 0x3c]
add esp, 8
vmovss xmm0, dword [esp + 0x20]
vmovss xmm1, dword [esp + 0x24]
fstp dword [esp + 0x10]
call fcn.101a4950
vmovss xmm7, dword [esp + 0x10]
vmovaps xmm5, xmm0
vshufps xmm4, xmm5, xmm5, 0xe
vmulss xmm0, xmm4, dword [esp + 0x28]
vpermilps xmm1, xmm4, 1
vmulss xmm2, xmm1, dword [esp + 0x28]
vmovaps xmm6, xmm7
vfmadd213ss xmm7, xmm5, xmm0
vpermilps xmm1, xmm5, 1
vfmadd213ss xmm6, xmm1, xmm2
vmovss xmm1, dword [esp + 0x74]
vmovaps xmm0, xmm6
vfmadd213ss xmm0, xmm1, dword [esp + 0x68]
vmovss xmm1, dword [esp + 0x78]
vmovaps xmm2, xmm7
vfmadd132ss xmm2, xmm0, dword [esp + 0x80]
vmovaps xmm0, xmm6
vfmadd213ss xmm0, xmm1, dword [esp + 0x6c]
vmovaps xmm3, xmm7
vfmadd132ss xmm3, xmm0, dword [esp + 0x84]
vmovss xmm0, dword [esp + 0x7c]
vfmadd213ss xmm6, xmm0, dword [esp + 0x70]
vfmadd132ss xmm7, xmm6, dword [esp + 0x88]
mov dword [esp + 0x94], 0
xor esi, esi
vmovss dword [esp + 0x24], xmm2
vmovss dword [esp + 0x20], xmm3
vmovss dword [esp + 0x28], xmm7
nop dword [eax + eax]
vmovss xmm1, dword [esp + 0x38]
vmovaps xmm0, xmm1
vfmadd213ss xmm0, xmm2, dword [esp + 0x44]
vmovss dword [esp + 0x14], xmm0
vmovaps xmm0, xmm1
vfmadd213ss xmm0, xmm3, dword [esp + 0x48]
lea eax, [esp + 0x14]
mov edx, esi
push eax
vmovss dword [esp + 0x1c], xmm0
lea eax, [esp + 0x48]
mov ecx, ebx
vmovaps xmm0, xmm1
vfmadd213ss xmm0, xmm7, dword [esp + 0x50]
push eax
push dword [ebp + 8]
vmovss dword [esp + 0x28], xmm0
call fcn.100e0930
test al, al
jne 0x100dfadd
vmovss xmm7, dword [esp + 0x28]
vmovss xmm2, dword [esp + 0x24]
vmovss xmm3, dword [esp + 0x20]
inc esi
cmp esi, 0x13
jl 0x100dfa70
jmp 0x100dfade
inc edi
mov ecx, dword [esp + 0x3c]
cmp edi, ecx
jge 0x100dfb14
mov eax, edi
sub eax, dword [esp + 0x2c]
add eax, 0xff
cmp eax, ecx
jl 0x100dfb09
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
cmp ecx, 0xff
jl 0x100df906
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x1075a564
call fcn.1017d780
add esp, 4
cmp dword [0x1075a564], 0xffffffff
jne 0x100df7e1
mov ecx, dword [0x1063c368]
xor edx, edx
push str.weapon_accuracy_nospread
push dword [0x1063c5b8]
mov eax, dword [ecx]
push dword [eax + 0x3c]
lea eax, [esp + 0x20]
push eax
call fcn.1002a9f0
push 0x1075a564
mov dword [0x1075a568], eax
call fcn.1017d72f
add esp, 4
jmp 0x100df7e1