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

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0x4020a3d7
movss xmm1, dword [esp + 0x18]
addss xmm1, dword [0x10a47c10]
mov dword [esp + 0x14], eax
push esi
mov esi, dword [esp + 0x24]
mov dword [esp + 4], esi
subss xmm1, dword [0x10a47c10]
ucomiss xmm1, dword [0x10720910]
lahf
test ah, 0x44
jnp 0x104fec89
mov eax, 2
pop esi
add esp, 0x1c
ret
cmp dword [esp + 0x28], 0
jne 0x104fec9a
mov eax, 3
pop esi
add esp, 0x1c
ret
push edi
push 0x204
call fcn.105116ce
mov edi, eax
mov dword [esp + 0x24], eax
add esp, 4
test edi, edi
je 0x104fecd5
lea ecx, [edi + 0xcc]
call fcn.104fe040
lea ecx, [edi + 0x134]
call fcn.104fe040
lea ecx, [edi + 0x19c]
call fcn.104fe040
jmp 0x104fecdb
xor edi, edi
mov dword [esp + 0x20], edi
mov eax, dword [esp + 0x2c]
mov ecx, 0x1b
mov dword [edi + 0x6c], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
push esi
mov dword [esi + 0x78], 0
mov dword [esi + 0x74], 0
call fcn.104ff6d0
mov edi, eax
add esp, 4
test edi, edi
je 0x104fed44
lea ecx, [esi + 0x1d0]
push ecx
call fcn.100a5020
lea ecx, [esi + 0x168]
push ecx
call fcn.100a5020
lea eax, [esi + 0x100]
push eax
call fcn.100a5020
push 0x204
push esi
call fcn.10511703
add esp, 0x14
mov eax, edi
pop edi
pop esi
add esp, 0x1c
ret
push 0x10
push 0xe0ec70
call fcn.10527f27
mov ecx, dword [esp + 0x10]
add esp, 8
mov dword [esi + 0x70], eax
push eax
mov eax, dword [ecx + 0x3c]
push ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1059bac0]
mov eax, dword [ecx + 4]
shr eax, 5
and al, 1
movzx eax, al
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x108b7a18]
movss dword [esp], xmm0
push dword [ecx + 0x2c]
push eax
push dword [ecx + 0x10]
push dword [ecx + 0xc]
push dword [ecx + 8]
call fcn.10500950
mov eax, dword [esi]
add esp, 0x1c
cmp eax, 1
je 0x104fedb7
test eax, eax
je 0x104fedb7
xorps xmm1, xmm1
jmp 0x104fef37
movaps xmm2, xmmword [0x10a47570]
mov edx, closesocket
andps xmm2, xmmword [0x10a47cb0]
orps xmm2, xmmword [0x109be560]
movaps xmm4, xmmword [str._Ut_Ut_Ut_Ut]
mulps xmm4, xmm2
movss xmm0, dword [esi + 0x54]
mulss xmm0, dword [0x107a430c]
addps xmm4, xmmword [0x10a47ce0]
movaps xmm3, xmmword [0x10a47610]
andps xmm3, xmmword [0x10a47cb0]
shufps xmm0, xmm0, 0
ucomiss xmm0, dword [0x10633bc0]
mulps xmm4, xmm2
movups xmmword [esp + 0xc], xmm0
movss xmm1, dword [0x10a47c08]
addps xmm4, xmmword [0x10a47cc0]
psrld xmm3, 0x17
lahf
psubd xmm3, xmmword [0x10a47560]
xor ecx, ecx
cvtdq2ps xmm0, xmm3
test ah, 0x44
cmovnp ecx, edx
mulps xmm4, xmm2
addps xmm4, xmmword [0x10a47cf0]
mulps xmm4, xmm2
subps xmm2, xmmword [0x109be560]
addps xmm4, xmmword [0x10a47cd0]
mulps xmm4, xmm2
movss xmm2, dword [0x10a47c14]
addps xmm4, xmm0
movups xmm0, xmmword [esp + 0xc]
mulps xmm4, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm2
minss xmm0, xmm1
movss dword [esp + 0xc], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0x55
maxss xmm0, xmm2
minss xmm0, xmm1
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm4, 0xaa
shufps xmm4, xmm4, 0xff
maxss xmm0, xmm2
maxss xmm4, xmm2
minss xmm0, xmm1
minss xmm4, xmm1
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x18], xmm4
movups xmm2, xmmword [esp + 0xc]
movaps xmm0, xmm2
subps xmm0, xmmword [0x10a475d0]
cvttps2dq xmm1, xmm0
cvtdq2ps xmm0, xmm1
paddd xmm1, xmmword [0x10a47560]
pslld xmm1, 0x17
subps xmm2, xmm0
movaps xmm0, xmmword [0x10a47590]
mulps xmm0, xmm2
addps xmm0, xmmword [0x10a475a0]
mulps xmm0, xmm2
addps xmm0, xmmword [0x10a475b0]
mulps xmm0, xmm2
addps xmm0, xmmword [0x10a475c0]
mulps xmm0, xmm2
addps xmm0, xmmword [0x10a475e0]
mulps xmm0, xmm2
addps xmm0, xmmword [0x10a475f0]
mulps xmm0, xmm1
movss xmm1, dword [0x105f14d0]
test ecx, ecx
jne 0x104fef27
movaps xmm1, xmm0
mulss xmm1, dword [0x10a4535c]
mulss xmm1, dword [0x10a4535c]
imul eax, dword [esp + 0x2c], 0x38920
push 0x10
movss dword [esi + 0x54], xmm1
push eax
call fcn.10527f27
add esp, 8
test eax, eax
je 0x104fef69
mov dword [esi + 0x78], eax
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
call fcn.10505970
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
push dword [esi + 0x70]
mov dword [esi + 0x78], 0
call fcn.10527f0d
add esp, 4
mov ecx, esi
push 1
call fcn.104fe3a0
mov eax, dword [esp + 0x1c]
pop edi
pop esi
mov dword [eax], 0
mov eax, 1
add esp, 0x1c
ret