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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x208
mov eax, dword [0x1034c74c]
push esi
push edi
mov edi, dword [eax + 0x10]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi]
mov eax, dword [ecx]
mov esi, dword [edx + 0xc]
mov eax, dword [eax + 0x30]
call eax
push eax
mov ecx, edi
call esi
xor edi, edi
mov dword [esp + 0x30], eax
test eax, eax
je 0x10116328
call fcn.1011be60
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10116328
mov ecx, eax
call fcn.101a5cc0
mov ecx, dword fs:[0x2c]
mov esi, eax
mov edx, dword [0x1034dcac]
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x7dc]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x1034f004]
mov dword [esp + 0x34], eax
cmp ecx, dword [edx + 4]
jg 0x10116330
mov ecx, dword [esp + 0x2c]
sub esp, 8
mov eax, dword [0x1034f008]
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.100d7410
fstp dword ds:[esp + 0x18]
movss xmm0, dword [esp + 0x18]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10115a0b
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 0x10115a1c
movss dword [esp + 0x24], xmm1
xorps xmm2, xmm2
movss xmm1, dword [0x102fdde4]
mov eax, dword [0x1035af28]
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 0x10115ab5
push str.56_8B_74_24_08_68_____________56_E8_____________83_C4_08_84_C0
push str.client.dll
call fcn.101a9f80
mov dword [0x1035af28], eax
test eax, eax
je 0x10115ac5
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x3c]
push ecx
push dword [esp + 0x14]
call eax
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x102fdcc0]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xfc], 0x102fca74
mov dword [esp + 0x100], eax
mov dword [esp + 0x104], 0
jbe 0x101162f4
movss xmm1, dword [esp + 0x20]
movss xmm0, dword [0x102fdf48]
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], 0x102fca58
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 [0x102fdcc0]
lahf
test ah, 0x44
jp 0x10115c1b
mov byte [esp + 0xbd], 0
mov eax, dword [0x1034c74c]
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 xmm2, dword [esp + 0xe0]
movss xmm1, dword [esp + 0xe4]
movss xmm0, dword [esp + 0xe8]
addss xmm2, dword [esp + 0x10]
addss xmm1, dword [esp + 0xc]
addss xmm0, dword [esp + 0x3c]
mov eax, dword [0x1035af2c]
movss dword [esp + 0xf0], xmm2
movss dword [esp + 0xf4], xmm1
movss dword [esp + 0xf8], xmm0
test eax, eax
jne 0x10115d13
push str.81_EC_____________8B_84_24_____________8B_48_2C
push str.client.dll
call fcn.101a9f80
mov dword [0x1035af2c], eax
test eax, eax
je 0x10115d3a
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 [0x102fdde4]
mov edi, dword [esp + 0x154]
lahf
test ah, 0x44
jnp 0x101162f1
mov eax, dword [0x1034c74c]
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 ds:[eax + 0x48]
mov dword [esp + 0x40], eax
add eax, 0xffffffbd
cmp eax, 0x14
ja case.0x10115d90.69
movzx eax, byte [eax + 0x101164e8]
jmp dword [eax*4 + 0x101164c8]
movss xmm0, dword [0x102fdd94]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fdd70]
jmp 0x10115e60
movss xmm0, dword [0x102fdd88]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fdd68]
jmp 0x10115e60
movss xmm0, dword [0x102fdde4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fddd8]
jmp 0x10115e60
movss xmm0, dword [0x102fdd94]
movss dword ds:[esp + 0xc], xmm0
movss xmm0, dword [0x102fdd8c]
jmp 0x10115e60
movss xmm0, dword [0x102fdd9c]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fdd70]
jmp 0x10115e60
movss xmm0, dword [0x102fdd88]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fdd8c]
jmp 0x10115e60
movss xmm0, dword [0x102fdde4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fdd98]
jmp 0x10115e60
movss xmm0, dword [0x102fdde4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fdd94]
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 [0x102fe040]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0xfc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100bcd60
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 0x10115f58
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
test esi, esi
je 0x10115f58
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
test eax, eax
jle 0x10115f58
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x1034c74c]
mov ecx, dword ds:[ecx]
cmp eax, dword [ecx + 0x14]
jge 0x10115f58
mov ecx, edi
call fcn.10003d60
mov ecx, dword [esp + 0x30]
mov esi, eax
call fcn.10003d60
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x10115f5a
push dword [esp + 0x14c]
movss xmm3, dword [esp + 0x20]
push edi
call fcn.101aa220
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 0x10115f5a
xor edi, edi
mov eax, dword [esp + 0x138]
shr eax, 3
and al, 1
je 0x10115f84
movss xmm0, dword [0x102fdde4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102fddd8]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [esp + 0x50]
jbe 0x10115f99
xor esi, esi
mov dword [esp + 0x34], esi
jmp 0x10115fa4
mov esi, dword ds:[esp + 0x34]
test esi, esi
jne 0x10115fae
test al, al
je 0x101162f1
jmp 0x10115fb4
js 0x101162f1
movss xmm1, dword [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.10115340
nop dword [eax]
test al, al
je 0x101162f1
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 [0x102fdcc0]
lahf
test ah, 0x44
jp 0x101160ad
mov byte [esp + 0xbd], 0
mov eax, dword [0x1034c74c]
lea edx, [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 0x10116190
test eax, eax
je 0x10116190
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], 0x102fca58
push eax
call fcn.10115260
mov eax, dword [0x1034c74c]
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 0x101161d2
cmp eax, 0x57
je 0x101161be
cmp ecx, 0x4d
jne 0x101161d2
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x102fde30]
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.100d7410
movss xmm1, dword [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 0x101162f1
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 [0x102fdd94]
comiss xmm0, dword [0x102fdcc0]
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 0x10115b60
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 0x10116319
movss xmm1, dword [0x102fe0ac]
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 0x1034f004
call fcn.1009af0b
add esp, 4
cmp dword [0x1034f004], 0xffffffff
jne 0x101158ec
mov edi, dword [0x1034c740]
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 [0x102f2a88]
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 [0x102f2a9c]
mov word [esi + 0x10], dx
mov al, byte [0x102f2a9e]
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.10194ec0
mov ecx, dword [esp + 0xd4]
mov dword [0x1034f008], eax
cmp ecx, 0xf
jbe 0x1011646b
mov edx, dword [esp + 0xc0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1011645f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1011649a
jmp 0x1011645f
push ecx
push edx
call fcn.1009aaf8
add esp, 8
jmp 0x1011646b
mov ecx, dword [esp + 0x74]
cmp ecx, 0xf
jbe 0x101164ab
mov edx, dword ds:[esp + 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1011649f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1011649f
jmp 0x1011649a
call fcn.100bccb8
push ecx
push edx
call fcn.1009aaf8
add esp, 8
jmp 0x101164ab
push 0x1034f004
call fcn.1009aeba
mov esi, dword ds:[esp + 0x1c]
add esp, 4
xor edi, edi
jmp 0x101158ec