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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x208
mov eax, dword [0x103280d8]
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
mov dword [esp + 0x34], eax
test eax, eax
je 0x10123e9e
mov edx, dword [0x103280d8]
mov ecx, dword [edx + 0x1c]
mov edi, dword [edx + 0x10]
mov eax, dword [ecx]
mov esi, dword [edi]
mov eax, dword [eax + 0x30]
mov esi, dword [esi + 0xc]
call eax
push eax
mov ecx, edi
call esi
test eax, eax
je 0x10123e9e
mov eax, dword [0x103280d8]
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
mov ecx, eax
call fcn.101b8bd0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10123e9e
mov ecx, eax
call fcn.101b8250
mov ecx, dword fs:[0x2c]
mov esi, eax
mov dword [esp + 0x18], esi
mov eax, dword [esi + 0x7dc]
mov dword [esp + 0x30], eax
mov eax, dword [0x10329638]
mov edx, dword [ecx + eax*4]
mov ecx, dword [0x1032a994]
cmp ecx, dword [edx + 4]
jg 0x10123ea6
mov eax, dword [0x1032a998]
sub esp, 8
mov ecx, dword [esp + 0x34]
movss xmm1, dword [esi + 0x7e4]
movss xmm0, dword [esi + 0x7e8]
movss dword [esp + 0xf0], xmm0
mov edi, dword [ecx + 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 + 0x50], 0
movss dword [esp + 0x1c], xmm1
movss xmm1, dword [esi + 0x18]
movss dword [esp + 0x44], 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 + 0x4c], xmm0
movss dword [esp + 0x48], 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.100e5cd0
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
add esp, 8
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x101235fc
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 0x1012360d
movss dword [esp + 0x24], xmm1
xorps xmm2, xmm2
movss xmm1, dword [0x102cd2fc]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x20], xmm2
mov dword [esp + 0xa4], 0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336fb8]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
cmp eax, dword [ecx + 4]
jg 0x10124050
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x3c]
push eax
push edi
call dword [0x10336fbc]
mov eax, dword [esp + 0x34]
xorps xmm0, xmm0
movups xmmword [esp + 0x108], xmm0
mov dword [esp + 0xf0], 0x102cbc64
movups xmmword [esp + 0x118], xmm0
mov dword [esp + 0xf4], eax
movups xmmword [esp + 0x1b8], xmm0
mov dword [esp + 0xf8], 0
movups xmmword [esp + 0x1c8], xmm0
mov dword [esp + 0x128], 0
movups xmmword [esp + 0x160], xmm0
mov dword [esp + 0x1d8], 0
movups xmmword [esp + 0x170], xmm0
mov dword [esp + 0x180], 0
movss xmm0, dword [esp + 0x1c]
comiss xmm0, dword [0x102cd2fc]
jbe 0x10123e6a
movss xmm1, dword [esp + 0x20]
xor edi, edi
movss xmm0, dword [0x102cd478]
movaps xmm2, xmm1
movss xmm4, dword [esp + 0x28]
movss xmm6, dword [esp + 0x44]
movss xmm7, dword [esp + 0x40]
mulss xmm2, xmm0
movss dword [esp + 0xdc], xmm2
movss xmm2, dword [esp + 0x24]
movaps xmm3, xmm2
mulss xmm3, xmm0
movss dword [esp + 0xe0], xmm3
movaps xmm3, xmm4
mulss xmm3, xmm0
movss dword [esp + 0xe4], xmm3
movss xmm3, dword [esp + 0x2c]
movss xmm5, dword [esp + 0x3c]
movaps xmm0, xmm1
movaps xmm1, xmm2
mulss xmm0, xmm3
mov dword [esp + 0xb4], eax
movaps xmm2, xmm4
mulss xmm1, xmm3
mov dword [esp + 0xb8], 0
mulss xmm2, xmm3
movaps xmm4, xmm6
mov dword [esp + 0xb0], 0x102cbc48
addss xmm5, xmm0
mov dword [esp + 0xbc], edi
movaps xmm3, xmm7
mov byte [esp + 0x7d], 1
addss xmm4, xmm2
addss xmm3, xmm1
movaps xmm2, xmm5
addss xmm2, dword [esp + 0xdc]
movaps xmm0, xmm4
subss xmm4, xmm6
addss xmm0, dword [esp + 0xe4]
movaps xmm1, xmm3
subss xmm3, xmm7
addss xmm1, dword [esp + 0xe0]
movss dword [esp + 0xfc], xmm2
movss dword [esp + 0x60], xmm4
movss dword [esp + 0x104], xmm0
movss xmm0, dword [esp + 0x3c]
subss xmm5, xmm0
movss dword [esp + 0x5c], xmm3
mulss xmm3, xmm3
mulss xmm4, xmm4
movss dword [esp + 0x58], xmm5
mulss xmm5, xmm5
movss dword [esp + 0x100], xmm1
addss xmm5, xmm3
addss xmm5, xmm4
ucomiss xmm5, dword [0x102cd1d0]
lahf
test ah, 0x44
jp 0x10123830
mov byte [esp + 0x7d], 0
mov eax, dword [0x103280d8]
lea edx, [esp + 0xf0]
test edi, edi
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
lea esi, [esp + 0xb0]
cmove esi, edx
mov dword [esp + 0x70], 0
mov byte [esp + 0x7c], 1
lea edx, [esp + 0x108]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], 0
movss dword [esp + 0x4c], xmm0
movss dword [esp + 0x50], xmm7
movss dword [esp + 0x54], xmm6
mov ecx, dword [eax + 0x2c]
push edx
push esi
push 0x46004003
mov eax, dword [ecx]
lea edx, [esp + 0x58]
push edx
call dword [eax + 0x10]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10329638]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10336fb0]
cmp eax, dword [ecx + 4]
jg 0x10124090
lea eax, [esp + 0x108]
push eax
push esi
push 0x46004003
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0x4c]
push eax
call dword [0x10336fb4]
movss xmm0, dword [esp + 0x148]
add esp, 0x14
ucomiss xmm0, dword [0x102cd2fc]
mov edi, dword [esp + 0x154]
lahf
test ah, 0x44
jnp 0x10123e67
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
movsx eax, word [esp + 0x148]
push eax
call edx
movss xmm0, dword [esp + 0x134]
sub esp, 0x10
mulss xmm0, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
addss xmm0, dword [esp + 0x28]
movss dword [esp + 0x28], xmm0
divss xmm0, dword [0x102cd5ac]
cvtps2pd xmm0, xmm0
movsd qword [esp + 8], xmm0
movss xmm0, dword [esp + 0xf8]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100cb5b0
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
add esp, 0x10
mulss xmm0, dword [esp + 0x1c]
movss dword [esp + 0x1c], xmm0
test edi, edi
je 0x10123a16
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x10]
call eax
mov esi, eax
test esi, esi
je 0x10123a16
mov ecx, dword [esi]
mov edx, dword [ecx + 0x24]
mov ecx, esi
call edx
test eax, eax
jle 0x10123a16
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [0x103280d8]
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0x14]
jge 0x10123a16
mov ecx, edi
call fcn.100035b0
mov ecx, dword [esp + 0x34]
mov esi, eax
call fcn.100035b0
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x10123a18
push dword [esp + 0x14c]
movss xmm3, dword [esp + 0x20]
push edi
call fcn.101bc580
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 0x10123a18
xor edi, edi
mov ecx, dword [esp + 0x138]
mov eax, dword [esp + 0xc]
shr ecx, 3
movzx esi, word [eax + 0x48]
and cl, 1
je 0x10123a4a
movss xmm0, dword [0x102cd2fc]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd2f0]
jmp 0x10123b0d
lea eax, [esi - 0x43]
cmp eax, 0x14
ja case.0x10123a5d.69
movzx eax, byte [eax + 0x101240f0]
jmp dword [eax*4 + 0x101240d0]
movss xmm0, dword [0x102cd2ac]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd284]
jmp 0x10123b0d
movss xmm0, dword [0x102cd2a0]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd27c]
jmp 0x10123b0d
movss xmm0, dword [0x102cd2ac]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd2a4]
jmp 0x10123b0d
movss xmm0, dword [0x102cd2b4]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd284]
jmp 0x10123b0d
movss xmm0, dword [0x102cd2a0]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd2a4]
jmp 0x10123b0d
movss xmm0, dword [0x102cd2fc]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd2b0]
jmp 0x10123b0d
movss xmm0, dword [0x102cd2fc]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [0x102cd2ac]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [esp + 0x48]
jbe 0x10123b28
xor eax, eax
mov dword [esp + 0x30], eax
jmp 0x10123b30
mov eax, dword [esp + 0x30]
test eax, eax
jne 0x10123b3a
test cl, cl
je 0x10123e67
jmp 0x10123b40
js 0x10123e67
movss xmm1, dword [esp + 0x24]
lea eax, [esp + 0x1b8]
movss xmm2, dword [esp + 0x20]
push eax
lea eax, [esp + 0xa8]
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.101230d0
test al, al
je 0x10123e67
movss xmm2, dword [esp + 0x114]
movss xmm3, dword [esp + 0xa4]
movss xmm1, dword [esp + 0x118]
subss xmm2, xmm3
movss xmm4, dword [esp + 0xa8]
movss xmm0, dword [esp + 0x11c]
subss xmm1, xmm4
movss xmm5, dword [esp + 0xac]
subss xmm0, xmm5
mov byte [esp + 0x7d], 1
movss dword [esp + 0x58], xmm2
mulss xmm2, xmm2
movss dword [esp + 0x5c], xmm1
mulss xmm1, xmm1
movss dword [esp + 0x60], xmm0
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
ucomiss xmm2, dword [0x102cd1d0]
lahf
test ah, 0x44
jp 0x10123c2f
mov byte [esp + 0x7d], 0
mov eax, dword [0x103280d8]
lea edx, [esp + 0x160]
push edx
mov dword [esp + 0x7c], 0
lea edx, [esp + 0xf4]
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov byte [esp + 0x80], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
movss dword [esp + 0x50], xmm3
movss dword [esp + 0x54], xmm4
movss dword [esp + 0x58], xmm5
mov ecx, dword [eax + 0x2c]
push edx
push 0x46004003
lea edx, [esp + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov eax, dword [esp + 0x1ac]
cmp eax, dword [esp + 0x154]
je 0x10123d03
test eax, eax
je 0x10123d03
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x160]
mov dword [esp + 0x8c], eax
mov eax, dword [0x103280d8]
push edx
mov dword [esp + 0x88], ecx
lea edx, [esp + 0x84]
mov dword [esp + 0x8c], 0
mov dword [esp + 0x84], 0x102cbc48
mov ecx, dword [eax + 0x2c]
push edx
push 0x46004003
lea edx, [esp + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x10]
mov eax, dword [0x103280d8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
movsx eax, word [esp + 0x1a0]
push eax
call edx
movzx ecx, word [eax + 0x48]
mov eax, ecx
cmp esi, eax
jne 0x10123d43
cmp eax, 0x57
je 0x10123d2f
cmp ecx, 0x4d
jne 0x10123d43
movss xmm0, dword [esp + 0xc]
mulss xmm0, dword [0x102cd360]
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.100e5cd0
movss xmm1, dword [esp + 0x14]
add esp, 8
movss xmm3, dword [esp + 0x38]
movaps xmm0, xmm1
mulss xmm0, xmm3
fstp dword [esp + 0xec]
movss xmm2, dword [esp + 0xec]
comiss xmm2, xmm0
ja 0x10123e67
movaps xmm0, xmm2
movss xmm7, dword [esp + 0x170]
divss xmm0, xmm1
dec dword [esp + 0x30]
mov eax, dword [esp + 0x34]
addss xmm2, dword [esp + 0x18]
movss xmm6, dword [esp + 0x174]
subss xmm3, xmm0
movss xmm0, dword [esp + 0x16c]
movss xmm1, dword [esp + 0x20]
movss xmm4, dword [esp + 0x28]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm0, dword [esp + 0x10]
movss dword [esp + 0x38], xmm3
movss xmm3, dword [esp + 0x2c]
comiss xmm0, dword [0x102cd2fc]
subss xmm3, xmm2
movss dword [esp + 0x18], xmm2
movss xmm2, dword [esp + 0x24]
movss dword [esp + 0x40], xmm7
movss dword [esp + 0x44], xmm6
movss dword [esp + 0x1c], xmm0
mulss xmm3, dword [0x102cd2ac]
movss dword [esp + 0x2c], xmm3
ja 0x10123751
mov esi, dword [ebp + 8]
cmp dword [esp + 0x30], 3
xorps xmm1, xmm1
movss xmm0, dword [esp + 0x14]
setge al
ucomiss xmm0, xmm1
mov byte [esi + 0x38], al
lahf
test ah, 0x44
jp 0x10123e8f
movss xmm0, dword [0x102cd628]
cvttss2si eax, xmm0
comiss xmm0, xmm1
mov dword [esi + 0xc], eax
seta al
mov byte [esi], al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x1032a994
call fcn.100bbde8
add esp, 4
cmp dword [0x1032a994], 0xffffffff
jne 0x101234e2
mov edi, dword [0x103280d0]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x94], 0
xorps xmm0, xmm0
mov dword [esp + 0x98], 0
push eax
movaps xmmword [esp + 0x88], xmm0
mov dword [esp + 0x1c], 0x1f
call fcn.10003bb0
movups xmm0, xmmword [str.m_iPrimaryAmmoType]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x98], 0x12
movups xmmword [eax], xmm0
mov cx, word [0x102c1aa4]
mov word [eax + 0x10], cx
xorps xmm0, xmm0
mov byte [eax + 0x12], 0
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0xbc]
movaps xmmword [esp + 0xbc], xmm0
push eax
mov dword [esp + 0x24], 0x1f
call fcn.10003bb0
movups xmm0, xmmword [str.DT_BaseCombatWeapon]
mov ecx, dword [esp + 0x24]
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 [0x102c1ac8]
mov word [esi + 0x10], dx
mov al, byte [0x102c1aca]
mov byte [esi + 0x12], al
lea eax, [esp + 0x80]
push 0
push eax
lea eax, [esp + 0xb8]
mov byte [esi + 0x13], 0
push eax
call fcn.101a4ce0
mov ecx, dword [esp + 0xc4]
mov dword [0x1032a998], eax
cmp ecx, 0xf
jbe 0x10123ff9
mov edx, dword [esp + 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10123fed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10124029
jmp 0x10123fed
push ecx
push edx
call fcn.100bb9a0
add esp, 8
jmp 0x10123ff9
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x1012403a
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1012402e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1012402e
jmp 0x10124029
call fcn.100cb508
push ecx
push edx
call fcn.100bb9a0
add esp, 8
jmp 0x1012403a
push 0x1032a994
call fcn.100bbd97
mov esi, dword [esp + 0x1c]
add esp, 4
jmp 0x101234e2
push 0x10336fb8
call fcn.100bbde8
add esp, 4
cmp dword [0x10336fb8], 0xffffffff
jne 0x1012365a
push str.56_8B_74_24_08_68_____________56_E8_____________83_C4_08_84_C0
push str.client.dll
call fcn.101bc3b0
push 0x10336fb8
mov dword [0x10336fbc], eax
call fcn.100bbd97
add esp, 4
jmp 0x1012365a
push 0x10336fb0
call fcn.100bbde8
add esp, 4
cmp dword [0x10336fb0], 0xffffffff
jne 0x101238ca
push str.81_EC_____________8B_84_24_____________8B_48_2C
push str.client.dll
call fcn.101bc3b0
push 0x10336fb0
mov dword [0x10336fb4], eax
call fcn.100bbd97
add esp, 4
jmp 0x101238ca