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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x208
mov eax, dword [0x1034972c]
push esi
push edi
xor edi, edi
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10113b1d
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10113b1d
mov ecx, eax
call fcn.101a1ce0
mov ecx, dword fs:[0x2c]
mov esi, eax
mov edx, dword [0x1034ac9c]
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x7dc]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x1034bff4]
mov dword [esp + 0x34], eax
cmp ecx, dword [edx + 4]
jg 0x10113b25
mov ecx, dword [esp + 0x2c]
sub esp, 8
mov eax, dword [0x1034bff8]
movss xmm1, dword [esi + 0x7e4]
movss xmm0, dword [esi + 0x7e8]
movss dword [esp + 0xf4], xmm0
mov eax, dword [eax + ecx]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x7e0]
mov esi, dword [ebp + 8]
movss dword [esp + 0x34], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x20], xmm1
movd xmm0, eax
movss xmm2, dword [esi + 0x14]
movss xmm3, dword [esi + 0x20]
movss xmm4, dword [esi + 0x28]
subss xmm3, xmm2
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x40], 0
mov dword [esp + 0x58], 0
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esi + 0x18]
movss dword [esp + 0x4c], xmm2
movss xmm2, dword [esi + 0x24]
subss xmm2, xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 0x1c]
subss xmm4, xmm0
movss dword [esp + 0x54], xmm0
movss dword [esp + 0x50], xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
movaps xmm0, xmm2
movss dword [esp + 0x28], xmm3
mulss xmm0, xmm2
movss dword [esp + 0x2c], xmm2
movss dword [esp + 0x30], xmm4
addss xmm1, xmm0
movaps xmm0, xmm4
mulss xmm0, xmm4
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
call fcn.100d4ca0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x101131ee
movss xmm1, dword [esp + 0x24]
divss xmm1, xmm0
movss xmm2, dword [esp + 0x20]
movss dword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0x28]
divss xmm2, xmm0
divss xmm1, xmm0
jmp 0x101131ff
movss dword [esp + 0x24], xmm1
xorps xmm2, xmm2
movss xmm1, dword [0x102f9fe4]
mov eax, dword [0x10357f20]
xorps xmm0, xmm0
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x20], xmm2
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x180], 0
movups xmmword [esp + 0x108], xmm0
movups xmmword [esp + 0x118], xmm0
movups xmmword [esp + 0x1b8], xmm0
movups xmmword [esp + 0x1c8], xmm0
movups xmmword [esp + 0x160], xmm0
movups xmmword [esp + 0x170], xmm0
test eax, eax
jne 0x1011329c
push str.56_8B_74_24_08_68_____________56_E8_____________83_C4_08_84_C0
push str.client.dll
call fcn.101a6180
mov dword [0x10357f20], eax
test eax, eax
je 0x101132ac
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0x14]
call eax
movss xmm0, dword ds:[esp + 0x1c]
comiss xmm0, dword [0x102f9ec0]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xfc], 0x102f8c68
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], 0
jbe 0x10113ae9
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [0x102fa138]
movaps xmm2, xmm1
movss xmm6, dword [esp + 0x28]
movss xmm4, dword [esp + 0x48]
movss xmm5, dword [esp + 0x44]
movss xmm7, dword [esp + 0x2c]
mulss xmm2, xmm0
movss dword [esp + 0xe0], xmm2
movss xmm2, dword [esp + 0x24]
movaps xmm3, xmm2
mulss xmm3, xmm0
movss dword [esp + 0xe4], xmm3
movaps xmm3, xmm6
mulss xmm3, xmm0
movss dword [esp + 0xe8], xmm3
movss xmm3, dword [esp + 0x4c]
nop dword [eax + eax]
movaps xmm0, xmm1
mov dword [esp + 0xc4], eax
movaps xmm1, xmm2
mulss xmm0, xmm7
mov dword [esp + 0xc8], 0
mulss xmm1, xmm7
movaps xmm2, xmm6
mov dword [esp + 0xc0], 0x102f8c4c
mulss xmm2, xmm7
movaps xmm6, xmm5
mov dword [esp + 0xcc], edi
addss xmm6, xmm0
mov byte [esp + 0xbd], 1
movaps xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
addss xmm1, xmm2
movaps xmm2, xmm6
movss dword [esp + 0x10], xmm6
subss xmm2, xmm5
movss dword [esp + 0xc], xmm0
subss xmm0, xmm4
movss dword [esp + 0x3c], xmm1
subss xmm1, xmm3
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm0
mulss xmm2, xmm2
mulss xmm0, xmm0
movss dword [esp + 0xa0], xmm1
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
ucomiss xmm2, dword [0x102f9ec0]
lahf
test ah, 0x44
jp 0x1011340d
mov byte [esp + 0xbd], 0
mov eax, dword [0x1034973c]
lea edx, [esp + 0x108]
push edx
mov dword [esp + 0xbc], 0
lea edx, [esp + 0xc4]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov byte [esp + 0xc0], 1
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
movss dword [esp + 0x90], xmm5
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x98], xmm3
mov ecx, dword [eax + 0x2c]
push edx
push 0x46004003
lea edx, [esp + 0x98]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
movss xmm0, dword [esp + 0x10]
movss xmm1, dword [esp + 0xc]
movss xmm2, dword [esp + 0x3c]
addss xmm0, dword [esp + 0xe0]
addss xmm1, dword [esp + 0xe4]
addss xmm2, dword [esp + 0xe8]
mov eax, dword [0x10357f24]
movss dword [esp + 0xf0], xmm0
movss dword [esp + 0xf4], xmm1
movss dword [esp + 0xf8], xmm2
test eax, eax
jne 0x10113505
push str.81_EC_____________8B_84_24_____________8B_48_2C
push str.client.dll
call fcn.101a6180
mov dword [0x10357f24], eax
test eax, eax
je 0x1011352c
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xc4]
push ecx
push 0x46004003
lea ecx, [esp + 0xfc]
push ecx
lea ecx, [esp + 0x54]
push ecx
call eax
add esp, 0x14
movss xmm0, dword [esp + 0x134]
ucomiss xmm0, dword [0x102f9fe4]
mov edi, dword [esp + 0x154]
lahf
test ah, 0x44
jnp 0x10113ae6
mov eax, dword [0x1034973c]
movsx edx, word [esp + 0x148]
push edx
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movzx eax, word [eax + 0x48]
mov dword [esp + 0x40], eax
add eax, 0xffffffbd
cmp eax, 0x14
ja case.0x10113580.69
movzx eax, byte [eax + 0x10113ce8]
jmp dword [eax*4 + 0x10113cc8]
movss xmm0, dword [0x102f9f94]
movss dword ds:[esp + 0xc], xmm0
movss xmm0, dword [0x102f9f70]
jmp 0x10113653
movss xmm0, dword [0x102f9f88]
movss dword ds:[esp + 0xc], xmm0
movss xmm0, dword [0x102f9f68]
jmp 0x10113653
movss xmm0, dword [0x102f9fe4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102f9fd8]
jmp 0x10113653
movss xmm0, dword [0x102f9f94]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102f9f8c]
jmp 0x10113653
movss xmm0, dword [0x102f9f9c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102f9f70]
jmp 0x10113653
movss xmm0, dword [0x102f9f88]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102f9f8c]
jmp 0x10113653
movss xmm0, dword [0x102f9fe4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102f9f98]
jmp 0x10113653
movss xmm0, dword [0x102f9fe4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102f9f94]
movss dword [esp + 0x10], xmm0
sub esp, 0x10
movss xmm0, dword [esp + 0x144]
mulss xmm0, dword [esp + 0x3c]
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
divss xmm0, dword [0x102fa23c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0xfc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100ba610
fstp dword [esp + 0x4c]
movss xmm0, dword [esp + 0x4c]
add esp, 0x10
mulss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
test edi, edi
je 0x10113746
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
test esi, esi
je 0x10113746
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
test eax, eax
jle 0x10113746
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x1034973c]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x14]
jge 0x10113746
mov ecx, edi
call fcn.10003d80
mov ecx, dword ds:[esp + 0x30]
mov esi, eax
call fcn.10003d80
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x10113748
push dword [esp + 0x14c]
movss xmm3, dword [esp + 0x20]
push edi
call fcn.101a6420
mov ecx, dword [ebp + 8]
addss xmm0, dword [esp + 0x14]
mov eax, dword [esp + 0x158]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14c]
movss dword [esp + 0x14], xmm0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], edi
jmp 0x10113748
xor edi, edi
mov eax, dword [esp + 0x138]
shr eax, 3
and al, 1
je 0x10113772
movss xmm0, dword [0x102f9fe4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102f9fd8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [esp + 0x50]
jbe 0x10113787
xor esi, esi
mov dword [esp + 0x34], esi
jmp 0x1011378f
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x10113799
test al, al
je 0x10113ae6
jmp 0x1011379f
js 0x10113ae6
movss xmm1, dword ds:[esp + 0x24]
lea eax, [esp + 0x1b8]
movss xmm2, dword [esp + 0x20]
push eax
lea eax, [esp + 0x58]
push eax
sub esp, 0xc
mov eax, esp
sub esp, 0xc
movss dword [eax + 4], xmm1
movss xmm1, dword [esp + 0x48]
movss dword [eax], xmm2
movss dword [eax + 8], xmm1
mov eax, esp
movss xmm0, dword [esp + 0x134]
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x138]
movss dword [eax + 4], xmm0
movss xmm0, dword [esp + 0x13c]
movss dword [eax + 8], xmm0
call fcn.10112b40
test al, al
je 0x10113ae6
movss xmm2, dword [esp + 0x114]
movss xmm3, dword [esp + 0x54]
movss xmm1, dword [esp + 0x118]
subss xmm2, xmm3
movss xmm4, dword [esp + 0x58]
movss xmm0, dword [esp + 0x11c]
subss xmm1, xmm4
movss xmm5, dword [esp + 0x5c]
subss xmm0, xmm5
mov byte [esp + 0xbd], 1
movss dword [esp + 0x98], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x9c], xmm1
mulss xmm1, xmm1
movss dword [esp + 0xa0], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x102f9ec0]
lahf
test ah, 0x44
jp 0x10113892
mov byte [esp + 0xbd], 0
mov eax, dword [0x1034973c]
lea edx, ds:[esp + 0x160]
push edx
mov dword [esp + 0xbc], 0
lea edx, [esp + 0x100]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xb4], 0
mov byte [esp + 0xc0], 1
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm4
movss dword [esp + 0x98], xmm5
mov ecx, dword [eax + 0x2c]
push edx
push 0x46004003
lea edx, [esp + 0x98]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov eax, dword [esp + 0x1ac]
cmp eax, dword [esp + 0x154]
je 0x10113977
test eax, eax
je 0x10113977
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x160]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x68], ecx
push eax
push 0x46004003
lea eax, [esp + 0x120]
mov dword [esp + 0x74], 0
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x70], 0x102f8c4c
push eax
call fcn.10112a60
mov eax, dword [0x1034973c]
movsx edx, word [esp + 0x1a0]
push edx
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movzx ecx, word [eax + 0x48]
mov eax, ecx
cmp dword [esp + 0x40], eax
jne 0x101139be
nop dword [eax + eax]
cmp eax, 0x57
je 0x101139aa
cmp ecx, 0x4d
jne 0x101139be
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x102fa030]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x170]
sub esp, 8
movss xmm2, dword [esp + 0x174]
subss xmm2, dword [esp + 0x11c]
subss xmm0, dword [esp + 0x120]
movss xmm1, dword [esp + 0x17c]
subss xmm1, dword [esp + 0x124]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
addss xmm2, xmm1
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100d4ca0
movss xmm1, dword ds:[esp + 0x14]
add esp, 8
movss xmm2, dword [esp + 0x38]
movaps xmm0, xmm1
mulss xmm0, xmm2
fstp dword [esp + 0x40]
movss xmm6, dword [esp + 0x40]
comiss xmm6, xmm0
ja 0x10113ae6
movaps xmm0, xmm6
movss xmm7, dword [esp + 0x2c]
addss xmm6, dword [esp + 0x18]
divss xmm0, xmm1
dec esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x34], esi
movss xmm5, dword [esp + 0x16c]
subss xmm7, xmm6
movss xmm4, dword [esp + 0x170]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x10]
mulss xmm7, dword [0x102f9f94]
comiss xmm0, dword [0x102f9ec0]
movss xmm3, dword [esp + 0x174]
movss xmm1, dword [esp + 0x20]
movss dword [esp + 0x38], xmm2
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0x18], xmm6
movss xmm6, dword [esp + 0x28]
movss dword [esp + 0x44], xmm5
movss dword [esp + 0x48], xmm4
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x2c], xmm7
movss dword [esp + 0x1c], xmm0
ja 0x10113350
mov esi, dword [ebp + 8]
cmp dword [esp + 0x34], 4
xorps xmm0, xmm0
movss xmm1, dword [esp + 0x14]
sete al
ucomiss xmm1, xmm0
mov byte [esi + 0x38], al
lahf
test ah, 0x44
jp 0x10113b0e
movss xmm1, dword [0x102fa2ac]
cvttss2si eax, xmm1
comiss xmm1, xmm0
mov dword [esi + 0xc], eax
seta al
mov byte [esi], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x1034bff4
call fcn.100987a0
add esp, 4
cmp dword [0x1034bff4], 0xffffffff
jne 0x101130d0
mov edi, dword [0x10349730]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x74], 0
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
push eax
movaps xmmword [esp + 0x68], xmm0
mov dword [esp + 0x1c], 0x1f
call fcn.10002880
movups xmm0, xmmword [str.m_iPrimaryAmmoType]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x78], 0x12
movups xmmword [eax], xmm0
mov cx, word [0x102eea38]
mov word [eax + 0x10], cx
xorps xmm0, xmm0
mov byte [eax + 0x12], 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xcc]
movaps xmmword [esp + 0xcc], xmm0
push eax
mov dword [esp + 0x24], 0x1f
call fcn.10002880
movups xmm0, xmmword [str.DT_BaseCombatWeapon]
mov ecx, dword [esp + 0x24]
mov esi, eax
add esp, 0x10
mov dword [esp + 0xd4], ecx
mov ecx, edi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd0], 0x13
movups xmmword [esi], xmm0
mov dx, word [0x102eea4c]
mov word [esi + 0x10], dx
mov al, byte [0x102eea4e]
mov byte [esi + 0x12], al
lea eax, [esp + 0x60]
push 0
push eax
lea eax, [esp + 0xc8]
mov byte [esi + 0x13], 0
push eax
call fcn.10191480
mov ecx, dword [esp + 0xd4]
mov dword [0x1034bff8], eax
cmp ecx, 0xf
jbe 0x10113c6a
mov edx, dword ds:[esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10113c5a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10113c9a
jmp 0x10113c5a
push ecx
push edx
call fcn.1009838d
add esp, 8
jmp 0x10113c6a
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x10113cab
mov edx, dword ds:[esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10113c9f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10113c9f
jmp 0x10113c9a
call fcn.100ba568
push ecx
push edx
call fcn.1009838d
add esp, 8
jmp 0x10113cab
push 0x1034bff4
call fcn.1009874f
mov esi, dword ds:[esp + 0x1c]
add esp, 4
xor edi, edi
jmp 0x101130d0