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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x6cf520]
xor eax, esp
mov dword [esp + 0x8c], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x20], eax
mov ecx, dword [0x722fe8]
push edi
push dword [esi + 0x44]
push 0x3c
call fcn.00502a30
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x24], 0
jne 0x4e33c5
mov ecx, dword [0x75946c]
call fcn.0045e9d0
mov ecx, dword [esi + 0x5c]
mov edi, eax
movzx ecx, byte [ecx + 0x13]
dec ecx
cmp ecx, 4
ja case.0x4e3080.1
jmp dword [ecx*4 + 0x4e3964]
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x68d800]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x40], xmm0
call fcn.005eb960
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0x40]
call fcn.005ebdb0
movss xmm5, dword [esp + 0x14]
lea edi, [esi + 0xc]
xorps xmm6, xmm6
mov dword [esp + 0x3c], 0
cvtsd2ss xmm6, xmm0
movaps xmm0, xmm5
xorps xmm3, xmm3
movaps xmm4, xmm6
movss dword [esp + 0x1c], xmm6
xorps xmm4, xmmword [0x68da40]
movss dword [esp + 0x10], xmm0
jmp 0x4e3597
movss xmm6, dword [0x68d834]
xorps xmm5, xmm5
mov dword [esp + 0x28], 0
xorps xmm7, xmm7
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
movss xmm1, dword [edi + 0x58]
movss xmm0, dword [edi + 0x54]
mulss xmm1, xmm5
mulss xmm0, xmm5
subss xmm1, xmm0
comiss xmm5, xmm1
jbe 0x4e3159
movss xmm7, dword [0x6484e8]
movss xmm6, dword [0x68d968]
mov dword [esp + 0x28], closesocket
mov dword [esp + 0x2c], closesocket
mov dword [esp + 0x30], 0xbf800000
movss xmm3, dword [edi + 0x58]
lea eax, [esp + 0x34]
movss xmm4, dword [edi + 0x54]
movaps xmm2, xmm7
movaps xmm1, xmm6
mulss xmm2, xmm5
push eax
mulss xmm1, xmm3
push eax
movaps xmm0, xmm2
mulss xmm6, xmm4
subss xmm0, xmm1
subss xmm6, xmm2
movss dword [esp + 0x3c], xmm0
movaps xmm0, xmm7
mulss xmm0, xmm3
mulss xmm7, xmm4
movss dword [esp + 0x40], xmm6
subss xmm0, xmm7
movss dword [esp + 0x44], xmm0
call fcn.00401277
movss xmm0, dword [esi + 0x40]
ucomiss xmm0, dword [0x68d7ec]
lahf
test ah, 0x44
jnp 0x4e338d
mulss xmm0, dword [0x68d800]
movss dword [esp + 0xc], xmm0
cvtps2pd xmm0, xmm0
call fcn.005ebdb0
movss xmm1, dword [esp + 0xc]
cvtsd2ss xmm0, xmm0
xorps xmm0, xmmword [0x68da40]
movss dword [esp + 0x18], xmm0
cvtps2pd xmm0, xmm1
call fcn.005eb960
movss xmm4, dword [esp + 0x18]
lea edi, [esi + 0xc]
mulss xmm4, dword [esp + 0x34]
xorps xmm5, xmm5
cvtsd2ss xmm5, xmm0
movss xmm3, dword [esp + 0x18]
movaps xmm0, xmm5
movss dword [esp + 0x1c], xmm4
mulss xmm0, dword [esp + 0x28]
movaps xmm6, xmm5
mulss xmm6, dword [esp + 0x34]
movaps xmm7, xmm5
addss xmm4, xmm0
mulss xmm7, dword [esp + 0x38]
movaps xmm0, xmm5
movaps xmm2, xmm5
mulss xmm0, dword [esp + 0x2c]
mulss xmm5, dword [esp + 0x30]
mulss xmm2, dword [esp + 0x3c]
movss dword [esp + 0x1c], xmm4
movss xmm4, dword [esp + 0x18]
mulss xmm4, dword [esp + 0x38]
addss xmm4, xmm0
movss xmm0, dword [esp + 0x18]
mulss xmm0, dword [esp + 0x3c]
addss xmm0, xmm5
movss dword [esp + 0x10], xmm4
movaps xmm5, xmm3
movaps xmm4, xmm3
mulss xmm5, dword [esp + 0x28]
mulss xmm4, dword [esp + 0x2c]
mulss xmm3, dword [esp + 0x30]
subss xmm5, xmm6
movss xmm6, dword [esp + 0x1c]
subss xmm4, xmm7
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x10]
subss xmm3, xmm2
movss dword [esp + 0x14], xmm5
jmp 0x4e3597
movss xmm0, dword [esi + 0x40]
ucomiss xmm0, dword [0x68d7ec]
lahf
test ah, 0x44
jp 0x4e3318
movss xmm4, dword [edi + 0x64]
movss xmm3, dword [edi + 0x68]
movss xmm5, dword [edi + 0x60]
movss xmm0, dword [0x68da40]
xorps xmm5, xmm0
xorps xmm4, xmm0
xorps xmm3, xmm0
movss dword [esp + 0x28], xmm5
movss dword [esp + 0x2c], xmm4
movss dword [esp + 0x30], xmm3
movq xmm0, qword [edi + 0x48]
movq qword [esp + 0x34], xmm0
mov eax, dword [edi + 0x50]
mov dword [esp + 0x3c], eax
jmp 0x4e339f
mulss xmm0, dword [0x68d800]
lea eax, [edi + 0x54]
push ecx
movss dword [esp], xmm0
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00402742
movss xmm1, dword [0x68da40]
lea eax, [esp + 0x50]
movss xmm0, dword [edi + 0x60]
xorps xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x64]
push eax
xorps xmm0, xmm1
lea eax, [esp + 0x44]
movss dword [esp + 0x48], xmm0
movss xmm0, dword [edi + 0x68]
push eax
lea eax, [esp + 0x30]
xorps xmm0, xmm1
push eax
movss dword [esp + 0x54], xmm0
call fcn.00401587
lea eax, [esp + 0x50]
push eax
lea eax, [edi + 0x48]
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00401587
movss xmm5, dword [esp + 0x28]
movss xmm4, dword [esp + 0x2c]
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [esp + 0x38]
lea edi, [esi + 0xc]
movss xmm6, dword [esp + 0x34]
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x1c], xmm6
movss dword [esp + 0x10], xmm0
jmp 0x4e3597
movss xmm2, dword [esi + 0xc]
lea edi, [esi + 0xc]
movss xmm0, dword [edi + 4]
movss xmm3, dword [edi + 8]
subss xmm2, dword [esi + 0x18]
subss xmm0, dword [esi + 0x1c]
subss xmm3, dword [esi + 0x20]
mov eax, dword [esp + 0x24]
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x30], xmm3
test eax, eax
je 0x4e3442
push eax
lea eax, [esp + 0x2c]
push eax
push eax
call fcn.0040159a
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x28]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x10], xmm0
movss dword [esp + 0xc], xmm2
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x4e3471
sqrtsd xmm0, xmm0
jmp 0x4e3476
call fcn.005eb860
cvtsd2ss xmm0, xmm0
ucomiss xmm0, dword [0x68d7ec]
movss dword [esp + 0x20], xmm0
lahf
test ah, 0x44
jp 0x4e34a7
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x3f800000
jmp 0x4e34f7
addss xmm0, dword [0x68d834]
cvtss2sd xmm0, xmm0
call fcn.005ebb20
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
addss xmm1, dword [0x68d834]
divss xmm1, dword [esp + 0x20]
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [esp + 0x10]
mulss xmm1, dword [esp + 0x14]
movss dword [esp + 0x2c], xmm0
movss dword [esp + 0x30], xmm1
mov ecx, dword [0x75946c]
call fcn.0045e9d0
movss xmm4, dword [eax + 0x5c]
movss xmm6, dword [eax + 0x58]
movaps xmm2, xmm4
mulss xmm2, dword [esp + 0x2c]
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0x30]
movss xmm5, dword [eax + 0x54]
lea eax, [esp + 0x34]
mulss xmm4, dword [esp + 0x28]
push eax
mulss xmm6, dword [esp + 0x2c]
subss xmm2, xmm0
push eax
movss dword [esp + 0x3c], xmm2
movaps xmm2, xmm5
mulss xmm2, dword [esp + 0x38]
mulss xmm5, dword [esp + 0x34]
subss xmm2, xmm4
subss xmm6, xmm5
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x44], xmm6
call fcn.00401277
movss xmm5, dword [esp + 0x28]
movss xmm0, dword [esp + 0x38]
movss xmm6, dword [esp + 0x34]
movss xmm3, dword [esp + 0x30]
movss xmm4, dword [esp + 0x2c]
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x1c], xmm6
movss xmm1, dword [ebp + 0xc]
ucomiss xmm1, dword [0x68d7ec]
movss dword [esp + 0xc], xmm4
movss dword [esp + 0x18], xmm3
lahf
test ah, 0x44
jnp 0x4e3646
movaps xmm0, xmm1
cvtps2pd xmm0, xmm0
call fcn.005eb960
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x20], xmm0
movss xmm0, dword [ebp + 0xc]
cvtps2pd xmm0, xmm0
call fcn.005ebdb0
movss xmm3, dword [esp + 0x20]
xorps xmm2, xmm2
movss xmm1, dword [esp + 0x14]
movaps xmm5, xmm3
movss xmm4, dword [esp + 0xc]
movaps xmm6, xmm3
cvtsd2ss xmm2, xmm0
mulss xmm5, xmm1
movaps xmm0, xmm2
mulss xmm1, xmm2
mulss xmm0, xmm4
subss xmm5, xmm0
movaps xmm0, xmm3
mulss xmm3, dword [esp + 0x10]
mulss xmm4, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [esp + 0x10]
addss xmm4, xmm1
movss xmm1, dword [esp + 0x1c]
mulss xmm6, xmm1
mulss xmm1, xmm2
subss xmm6, xmm0
addss xmm1, xmm3
movss xmm3, dword [esp + 0x18]
movaps xmm0, xmm1
movss xmm7, dword [esi + 0x38]
mulss xmm7, dword [esi + 0x30]
mov ecx, dword [esp + 0x24]
xorps xmm7, xmmword [0x68da40]
movaps xmm1, xmm7
movaps xmm2, xmm7
mulss xmm7, dword [esp + 0x3c]
mulss xmm1, xmm6
movss xmm6, dword [esi + 0x3c]
mulss xmm6, dword [esi + 0x34]
mulss xmm2, xmm0
movss dword [esp + 0x10], xmm1
movaps xmm0, xmm6
mulss xmm0, xmm5
movaps xmm5, xmm6
mulss xmm5, xmm4
mulss xmm6, xmm3
movss dword [esp + 0xc], xmm2
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm7
movss dword [esp + 0x14], xmm0
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x2c], xmm5
movss dword [esp + 0x30], xmm6
test ecx, ecx
je 0x4e3852
mov eax, dword [esi + 0x5c]
cmp dword [eax + 0x20], 0
je 0x4e3852
push ecx
push edi
lea eax, [esp + 0x48]
push eax
call fcn.00401587
movss xmm4, dword [esp + 0x44]
mov eax, 8
movss xmm7, dword [esp + 0x2c]
movss xmm0, dword [esp + 0x40]
movss xmm3, dword [esp + 0x48]
movaps xmm5, xmm0
movss xmm6, dword [esp + 0x30]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x28]
movss dword [esp + 0x18], xmm4
subss xmm5, xmm0
movss dword [esp + 0x20], xmm0
subss xmm4, xmm7
movss xmm0, dword [esp + 0x38]
movss dword [esp + 0x40], xmm3
subss xmm3, xmm6
movss dword [esp + 0x10], xmm0
movss dword [esp + 0x1c], xmm7
movss xmm7, dword [esp + 0x34]
movaps xmm2, xmm4
addss xmm2, xmm0
movss dword [esp + 0x24], xmm7
movss xmm0, dword [esp + 0x3c]
movaps xmm1, xmm3
movss dword [esp + 0x14], xmm0
addss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, xmm7
movss dword [esi + 0x74], xmm0
movss dword [esi + 0x78], xmm2
movss dword [esi + 0x7c], xmm1
movss xmm1, dword [esp + 0x10]
movss xmm0, dword [esp + 0x14]
subss xmm4, xmm1
subss xmm5, dword [esp + 0x24]
subss xmm3, xmm0
movss dword [esi + 0x88], xmm5
movss dword [esi + 0x8c], xmm4
movss dword [esi + 0x90], xmm3
movss xmm2, dword [esp + 0xc]
addss xmm2, dword [esp + 0x20]
movss xmm5, dword [esp + 0x18]
addss xmm5, dword [esp + 0x1c]
movss xmm4, dword [esp + 0x40]
movss xmm3, dword [esp + 0x24]
addss xmm4, xmm6
movss dword [esp + 0xc], xmm2
movss xmm6, dword [esp + 0xc]
movaps xmm2, xmm5
addss xmm2, xmm1
movaps xmm1, xmm4
addss xmm1, xmm0
movaps xmm0, xmm6
addss xmm0, xmm3
subss xmm6, xmm3
movss dword [esi + 0x9c], xmm0
movss dword [esi + 0xa0], xmm2
movss dword [esi + 0xa4], xmm1
subss xmm5, dword [esp + 0x10]
subss xmm4, dword [esp + 0x14]
movss dword [esi + 0xb0], xmm6
movss dword [esi + 0xb4], xmm5
movss dword [esi + eax + 0xb0], xmm4
pop edi
pop esi
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.00597338
mov esp, ebp
pop ebp
ret 8
movss xmm4, dword [edi]
mov eax, 8
movss xmm2, dword [edi + 4]
movaps xmm3, xmm4
movss xmm1, dword [edi + 8]
subss xmm3, xmm0
subss xmm1, xmm6
mov ecx, dword [esp + 0x94]
movaps xmm0, xmm4
subss xmm2, xmm5
subss xmm0, dword [esp + 0x14]
pop edi
addss xmm1, xmm7
addss xmm2, dword [esp + 8]
addss xmm0, dword [esp + 0xc]
movss dword [esi + 0x74], xmm0
movss dword [esi + 0x78], xmm2
movaps xmm2, xmm5
movss dword [esi + 0x7c], xmm1
movss xmm1, dword [esi + 0x10]
movss xmm0, dword [esi + 0x14]
subss xmm1, xmm5
subss xmm3, dword [esp + 0xc]
subss xmm0, xmm6
subss xmm1, dword [esp + 8]
movss dword [esi + 0x88], xmm3
subss xmm0, xmm7
movss dword [esi + 0x8c], xmm1
movaps xmm1, xmm6
movss dword [esi + 0x90], xmm0
addss xmm4, dword [esp + 0x10]
addss xmm2, dword [esi + 0x10]
addss xmm1, dword [esi + 0x14]
movss xmm3, dword [esp + 0xc]
movaps xmm0, xmm3
addss xmm0, xmm4
addss xmm2, dword [esp + 8]
addss xmm1, xmm7
subss xmm4, xmm3
movss dword [esi + 0x9c], xmm0
movss dword [esi + 0xa0], xmm2
movss dword [esi + 0xa4], xmm1
addss xmm5, dword [esi + 0x10]
addss xmm6, dword [esi + 0x14]
subss xmm5, dword [esp + 8]
subss xmm6, xmm7
movss dword [esi + 0xb0], xmm4
movss dword [esi + 0xb4], xmm5
movss dword [esi + eax + 0xb0], xmm6
pop esi
xor ecx, esp
call fcn.00597338
mov esp, ebp
pop ebp
ret 8