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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x208
mov eax, dword [0x10273620]
push esi
push edi
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x10102cf2
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10102cf2
mov ecx, eax
call fcn.10182b60
mov ecx, dword fs:[0x2c]
mov esi, eax
mov edx, dword [0x10274ac0]
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 0x7dc]
mov edx, dword [ecx + edx*4]
mov ecx, dword [0x10275eb8]
mov dword [esp + 0x38], eax
cmp ecx, dword [edx + 4]
jg 0x10102cfa
mov eax, dword [0x10275ec0]
sub esp, 8
mov ecx, dword [esp + 0x20]
movss xmm1, dword [esi + 0x7e4]
movss xmm0, dword [esi + 0x7e8]
movss dword [esp + 0x3c], xmm1
mov edi, dword [eax + ecx]
mov eax, dword [esi + 0x7e0]
mov esi, dword [ebp + 8]
movss dword [esp + 0xe4], xmm0
xorps xmm0, xmm0
movss dword [esp + 0x34], xmm0
movd xmm1, eax
movss xmm2, dword [esi + 0x14]
movss xmm3, dword [esi + 0x20]
movss xmm4, dword [esi + 0x28]
subss xmm3, xmm2
cvtdq2ps xmm1, xmm1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x70], 0
movss dword [esp + 0x54], xmm2
movss xmm2, dword [esi + 0x24]
movss dword [esp + 0x38], xmm1
movss xmm1, dword [esi + 0x18]
subss xmm2, xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esi + 0x1c]
subss xmm4, xmm0
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x58], 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.100c8f00
fstp dword ds:[esp + 0x20]
movss xmm0, dword [esp + 0x20]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10102457
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
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x28], xmm1
jmp 0x10102471
movss xmm0, dword [0x10224fac]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm0
mov eax, dword [0x10280da4]
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 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 0x101024fe
push str.56_8B_74_24_08_68_____________56_E8_____________83_C4_08_84_C0
push str.client.dll
call fcn.10187b20
mov dword [0x10280da4], eax
test eax, eax
je 0x1010250b
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x48]
push ecx
push edi
call eax
movss xmm0, dword [esp + 0x30]
xorps xmm3, xmm3
comiss xmm0, xmm3
jbe 0x10102cd8
movss xmm1, dword [esp + 0x20]
xor edi, edi
movss xmm0, dword [0x102250dc]
movaps xmm2, xmm1
movss xmm7, dword [esp + 0x28]
movss xmm5, dword [esp + 0x54]
movss xmm4, dword [esp + 0x50]
movss xmm6, dword [esp + 0x34]
mulss xmm2, xmm0
movss dword [esp + 0xa4], xmm2
movss xmm2, dword [esp + 0x24]
movaps xmm3, xmm2
mulss xmm3, xmm0
movss dword [esp + 0xa8], xmm3
movaps xmm3, xmm7
mulss xmm3, xmm0
movss dword [esp + 0xac], xmm3
movss xmm3, dword [esp + 0x4c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0xe4], eax
lea eax, [esp + 0x108]
push eax
mulss xmm1, xmm6
lea eax, [esp + 0xe4]
push eax
mulss xmm2, xmm6
lea eax, [esp + 0x104]
push 0x4600400b
mulss xmm7, xmm6
addss xmm3, xmm1
push eax
addss xmm4, xmm2
mov dword [esp + 0xf0], 0x1022443c
lea eax, [esp + 0x5c]
mov dword [esp + 0xf8], edi
addss xmm5, xmm7
push eax
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x110], xmm3
movss dword [esp + 0x50], xmm5
movss dword [esp + 0x114], xmm4
movss dword [esp + 0x118], xmm5
call fcn.10101d20
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x40]
movss xmm2, dword [esp + 0x3c]
addss xmm0, dword [esp + 0xa4]
addss xmm1, dword [esp + 0xa8]
addss xmm2, dword [esp + 0xac]
mov eax, dword [0x10280d9c]
movss dword [esp + 0xb0], xmm0
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb8], xmm2
test eax, eax
jne 0x10102673
push str.81_EC_____________8B_84_24_____________8B_48_2C
push str.client.dll
call fcn.10187b20
mov dword [0x10280d9c], eax
test eax, eax
je 0x1010269a
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xe4]
push ecx
push 0x4600400b
lea ecx, [esp + 0xbc]
push ecx
lea ecx, [esp + 0x5c]
push ecx
call eax
add esp, 0x14
movss xmm0, dword [esp + 0x134]
ucomiss xmm0, dword [0x10224fac]
mov edi, dword [esp + 0x154]
lahf
test ah, 0x44
jnp 0x10102cc6
mov eax, dword [0x1027361c]
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 + 0x48], eax
add eax, 0xffffffbd
cmp eax, 0x14
ja case.0x101026f0.69
movzx eax, byte [eax + 0x10102edc]
jmp dword [eax*4 + 0x10102ebc]
movss xmm0, dword [0x10224f64]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224f40]
jmp 0x101027bb
movss xmm0, dword [0x10224f58]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224f38]
jmp 0x101027bb
movss xmm0, dword [0x10224fac]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224fa0]
jmp 0x101027bb
movss xmm0, dword [0x10224f64]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224f5c]
jmp 0x101027bb
movss xmm0, dword [0x10224f6c]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224f40]
jmp 0x101027bb
movss xmm0, dword [0x10224f58]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224f5c]
jmp 0x101027bb
movss xmm0, dword [0x10224fac]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224f68]
jmp 0x101027bb
movss xmm0, dword [0x10224fac]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224f64]
movss dword [esp + 0x14], xmm0
sub esp, 0x10
movss xmm0, dword [esp + 0x144]
mulss xmm0, dword [esp + 0x44]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
divss xmm0, dword [0x102251d4]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0xec]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100aabe0
fstp dword ds:[esp + 0x28]
movss xmm0, dword [esp + 0x28]
add esp, 0x10
mulss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
test edi, edi
je 0x10102885
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1d8]
call eax
test al, al
je 0x10102885
mov ecx, edi
call fcn.10002f80
mov ecx, dword [esp + 0x64]
mov esi, eax
call fcn.10002f80
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x10102885
push dword [esp + 0x14c]
movss xmm3, dword [esp + 0x34]
push edi
call fcn.10187c20
mov ecx, dword [ebp + 8]
addss xmm0, dword [esp + 0x1c]
mov eax, dword [esp + 0x158]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14c]
movss dword [esp + 0x1c], xmm0
mov dword [ecx + 4], eax
mov dword [ecx + 0x10], edi
mov eax, dword [esp + 0x138]
shr eax, 3
and al, 1
je 0x101028af
movss xmm0, dword [0x10224fac]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [0x10224fa0]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [esp + 0x2c]
comiss xmm0, dword [esp + 0x68]
jbe 0x101028c4
xor ecx, ecx
mov dword [esp + 0x38], ecx
jmp 0x101028cc
mov ecx, dword [esp + 0x38]
test ecx, ecx
jne 0x101028d6
test al, al
je 0x10102cc6
jmp 0x101028dc
js 0x10102cc6
movss xmm2, dword [esp + 0x24]
movss xmm1, dword [esp + 0x20]
movaps xmm0, xmm2
mulss xmm0, dword [0x10225048]
movaps xmm7, xmm1
mov dword [esp + 0xec], 0x10224454
mulss xmm7, dword [0x10225048]
mov dword [esp + 0xf0], 0
movss xmm4, dword [esp + 0x114]
movss xmm5, dword [esp + 0x118]
movss xmm6, dword [esp + 0x11c]
movss dword [esp + 0x98], xmm0
movss xmm0, dword [esp + 0x28]
mulss xmm0, dword [0x10225048]
movss dword [esp + 0x18], xmm7
movss dword [esp + 0x9c], xmm0
xorps xmm3, xmm3
movss dword [esp + 0x40], xmm6
movss dword [esp + 0x3c], xmm5
movss dword [esp + 0x6c], xmm4
nop word [eax + eax]
addss xmm3, dword [0x102250a0]
mov eax, dword [0x1027361c]
lea edx, [esp + 0x58]
movaps xmm0, xmm1
movaps xmm1, xmm2
movss xmm2, dword [esp + 0x28]
push 0
mulss xmm0, xmm3
push edx
mulss xmm2, xmm3
mulss xmm1, xmm3
addss xmm4, xmm0
movss dword [esp + 0xa8], xmm3
movaps xmm0, xmm6
movaps xmm3, xmm5
addss xmm0, xmm2
addss xmm3, xmm1
movss dword [esp + 0x60], xmm4
subss xmm4, xmm7
movss dword [esp + 0x68], xmm0
subss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x64], xmm3
mov ecx, dword [eax + 0x2c]
subss xmm3, dword [esp + 0xa0]
movss dword [esp + 0x78], xmm4
movss dword [esp + 0x80], xmm0
mov eax, dword [ecx]
movss dword [esp + 0x7c], xmm3
mov eax, dword [eax]
call eax
mov esi, eax
lea eax, [esp + 0x1b8]
push eax
lea eax, [esp + 0xf0]
push eax
push 0x4600400b
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x80]
push eax
call fcn.10101d20
test al, al
jne 0x10102a3c
cmp byte [esp + 0x1ee], al
je 0x10102a3c
cmp byte [esp + 0x1ef], al
je 0x10102aa5
cmp dword [esp + 0x204], 0
je 0x10102aa5
mov eax, dword [0x1027361c]
push 0
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword ds:[esp + 0x204]
cmp ecx, eax
je 0x10102aa5
push ecx
call fcn.10102000
test al, al
je 0x10102aa5
movss xmm4, dword ds:[esp + 0x1c4]
movss xmm5, dword [esp + 0x1c8]
movss xmm6, dword [esp + 0x1cc]
movss xmm7, dword [esp + 0x18]
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x24]
jmp 0x10102955
test esi, 0x200400b
je 0x10102af0
movss xmm3, dword [esp + 0xa0]
movss xmm0, dword [0x10225154]
comiss xmm0, xmm3
jb 0x10102cc6
movss xmm4, dword [esp + 0x6c]
movss xmm5, dword [esp + 0x3c]
movss xmm6, dword [esp + 0x40]
movss xmm7, dword [esp + 0x18]
movss xmm1, dword [esp + 0x20]
movss xmm2, dword [esp + 0x24]
jmp 0x10102970
lea eax, [esp + 0x160]
push eax
push 0
push 0x4600400b
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10101d20
mov eax, dword ds:[esp + 0x1ac]
cmp eax, dword [esp + 0x154]
je 0x10102b66
test eax, eax
je 0x10102b66
mov dword [esp + 0xf8], eax
lea eax, [esp + 0x160]
push eax
lea eax, [esp + 0xf8]
mov dword [esp + 0xf8], 0x10224454
push eax
push 0x4600400b
lea eax, [esp + 0x120]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10101d20
mov eax, dword [0x1027361c]
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 + 0x48], eax
jne 0x10102ba8
cmp eax, 0x57
je 0x10102b94
cmp ecx, 0x4d
jne 0x10102ba8
movss xmm0, dword [esp + 0x10]
mulss xmm0, dword [0x10224fe8]
movss dword [esp + 0x10], xmm0
movss xmm1, dword ds:[esp + 0x16c]
sub esp, 8
movss xmm2, dword [esp + 0x178]
subss xmm2, dword [esp + 0x120]
subss xmm1, dword [esp + 0x11c]
movss xmm0, dword [esp + 0x17c]
subss xmm0, dword [esp + 0x124]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.100c8f00
movss xmm3, dword [esp + 0x18]
add esp, 8
movss xmm2, dword [esp + 0x44]
movaps xmm0, xmm3
mulss xmm0, xmm2
fstp dword [esp + 0x48]
movss xmm1, dword [esp + 0x48]
comiss xmm1, xmm0
ja 0x10102cc6
movaps xmm0, xmm1
movss xmm6, dword [esp + 0x34]
addss xmm1, dword [esp + 0x2c]
divss xmm0, xmm3
dec dword [esp + 0x38]
movss xmm3, dword [esp + 0x16c]
subss xmm6, xmm1
movss xmm4, dword [esp + 0x170]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x30]
mulss xmm0, dword [esp + 0x14]
mulss xmm6, dword [0x10224f64]
comiss xmm0, dword [0x10224e90]
movss xmm5, dword [esp + 0x174]
movss xmm7, dword [esp + 0x28]
movss dword [esp + 0x44], xmm2
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esp + 0x20]
movss dword [esp + 0x4c], xmm3
movss dword [esp + 0x50], xmm4
movss dword [esp + 0x54], xmm5
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x30], xmm0
ja 0x10102581
movss xmm0, dword [esp + 0x1c]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x10102ce0
movss xmm0, dword [0x10225244]
mov ecx, dword [ebp + 8]
cvttss2si eax, xmm0
comiss xmm0, xmm3
mov dword [ecx + 0xc], eax
seta al
mov byte [ecx], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x10275eb8
nop
call fcn.10088d85
add esp, 4
cmp dword [0x10275eb8], 0xffffffff
jne 0x10102330
mov edi, dword [0x10273624]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x74]
mov dword [esp + 0x84], 0
xorps xmm0, xmm0
mov dword [esp + 0x88], 0xf
push eax
movaps xmmword [esp + 0x78], xmm0
mov dword [esp + 0x24], 0x1f
call fcn.10003c40
movups xmm0, xmmword [str.m_iPrimaryAmmoType]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x78], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x88], 0x12
movups xmmword [eax], xmm0
mov cx, word [0x102167d8]
mov word [eax + 0x10], cx
xorps xmm0, xmm0
mov byte [eax + 0x12], 0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0xbc]
movaps xmmword [esp + 0xbc], xmm0
push eax
mov dword [esp + 0x2c], 0x1f
call fcn.10003c40
movups xmm0, xmmword [str.DT_BaseCombatWeapon]
mov ecx, dword ds:[esp + 0x2c]
mov esi, eax
add esp, 0x10
mov dword [esp + 0xc4], ecx
mov ecx, edi
mov dword [esp + 0xb0], esi
mov dword [esp + 0xc0], 0x13
movups xmmword [esi], xmm0
mov dx, word [0x102167c4]
mov word [esi + 0x10], dx
mov al, byte [0x102167c6]
mov byte [esi + 0x12], al
lea eax, [esp + 0x70]
push 0
push eax
lea eax, [esp + 0xb8]
mov byte [esi + 0x13], 0
push eax
call fcn.10178400
mov ecx, dword [esp + 0xc4]
mov dword [0x10275ec0], eax
cmp ecx, 0xf
jbe 0x10102e4a
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10102e3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10102e7a
jmp 0x10102e3a
push ecx
push edx
call fcn.10088cc6
add esp, 8
jmp 0x10102e4a
mov ecx, dword [esp + 0x84]
cmp ecx, 0xf
jbe 0x10102e8b
mov edx, dword ds:[esp + 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10102e7f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10102e7f
jmp 0x10102e7a
call fcn.100aab42
push ecx
push edx
call fcn.10088cc6
add esp, 8
jmp 0x10102e8b
push 0x10275eb8
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0xf
mov byte [esp + 0x74], 0
call fcn.10088d34
mov esi, dword [esp + 0x30]
add esp, 4
jmp 0x10102330