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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6f639b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
push esi
push edi
mov eax, dword [0x766480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xb4], esi
cmp dword [0x131f0e8], 0
movss xmm2, dword [ebx + 8]
movss xmm3, dword [ebx + 0xc]
movaps xmm1, xmm2
addss xmm2, dword [0x7110e4]
addss xmm1, dword [0x711300]
addss xmm3, dword [0x711300]
movss dword [ebp - 0x38], xmm2
movss xmm2, dword [ebx + 0xc]
addss xmm2, dword [0x7110e4]
movaps xmmword [ebp - 0x80], xmm1
movss dword [ebp - 0x54], xmm3
movss dword [ebp - 0x34], xmm2
je 0x5d4080
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
lea eax, [ebp - 0xc0]
movss dword [ebp - 0x68], xmm3
push eax
mov eax, dword [ebp - 0x68]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 4], 0
xorps xmm2, xmm2
movaps xmm0, xmm1
unpcklps xmm0, xmm2
movss dword [ebp - 0x30], xmm2
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0xf89918
call fcn.005d6b90
movss xmm0, dword [ebp - 0x54]
sub esp, 0xc
movss xmm1, dword [ebp - 0x30]
mov edx, esp
movss dword [ebp - 0x68], xmm0
mov ecx, 0xf89918
movaps xmm0, xmmword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
unpcklps xmm0, xmm1
movq qword [edx], xmm0
mov dword [edx + 8], eax
call fcn.005d6ab0
movss xmm0, dword [ebx + 8]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x6c], 0x47c35000
mov dword [ebp - 0x64], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0xb8], eax
movss dword [esi + 0xbc], xmm0
movss xmm0, dword [ebx + 0xc]
mov dword [esi + 0xc0], 0
movss dword [esi + 0xc4], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [ebp - 0x34]
mov dword [esi + 0xcc], 0
movss dword [esi + 0xd0], xmm0
movss xmm0, dword [0x711304]
movss xmm1, dword [0x7069e0]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [0x710d0c]
movss dword [ebp - 0x24], xmm0
movd xmm0, dword [0x7478ac]
cvtdq2ps xmm0, xmm0
push 0
mov dword [ebp - 0x54], eax
mov eax, dword [esi + 0xd8]
push ecx
movss dword [ebp - 0xd0], xmm1
divss xmm1, xmm0
mov edx, dword [eax]
push 0
push 0
push eax
movss dword [ebp - 0xd4], xmm1
call dword [edx + 0x2c]
movss xmm0, dword [ebx + 8]
lea eax, [ebp - 0x44]
movss dword [ebp - 0x44], xmm0
lea ecx, [esi + 0x1c]
movss xmm0, dword [ebx + 0xc]
push eax
mov dword [ebp - 0x40], 0
movss dword [ebp - 0x3c], xmm0
call fcn.0065ee30
mov edi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [ebp - 0x5c], edi
call edi
cdq
mov ecx, 0x3e8
idiv ecx
cmp dword [ebx + 0x10], 0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x60], 0
mulss xmm0, dword [0x7110d0]
movss dword [esi + 0xd4], xmm0
jle 0x5d3b22
movss xmm0, dword [0x701990]
xor esi, esi
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [0x706c78]
movss dword [ebp - 0x84], xmm0
movss xmm0, dword [0x70174c]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [0x70c430]
movss dword [ebp - 0xa4], xmm0
nop dword [eax]
call edi
cdq
mov ecx, 0x1ec
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 8]
movss dword [ebp - 0x20], xmm0
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x70], xmm0
call edi
movss xmm1, dword [ebp - 0x20]
mov ecx, 0x1ec
cdq
movaps xmm0, xmm1
divss xmm0, dword [ebp - 0xd0]
idiv ecx
cvttss2si eax, xmm0
movd xmm2, edx
imul eax, eax, 0x7b13
cvtdq2ps xmm2, xmm2
addss xmm2, dword [ebx + 0xc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x74], xmm2
subss xmm1, xmm0
movss dword [ebp - 0x68], xmm2
movaps xmm0, xmm2
divss xmm0, dword [ebp - 0xd0]
cvttss2si eax, xmm0
imul eax, eax, 0x7b13
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [ebp - 0x30]
comiss xmm0, xmm1
ja 0x5d3b12
comiss xmm0, xmm2
ja 0x5d3b12
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x5d3b12
divss xmm2, dword [ebp - 0xd4]
divss xmm1, dword [ebp - 0xd4]
cvttss2si eax, xmm2
cvttss2si edx, xmm1
mov dword [ebp - 0xa8], eax
imul eax, dword [0x7478ac]
mov dword [ebp - 0xac], edx
add eax, edx
mov al, byte [eax + ecx]
and al, 0xf0
cmp al, 0x80
jne 0x5d3b12
mov edi, dword [ebp - 0xc0]
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov eax, 0x38e38e39
mov ecx, dword [ebp - 0xbc]
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x5d3b0f
xor eax, eax
mov dword [ebp - 0x14], eax
movq xmm0, qword [ebp - 0x70]
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x68]
add eax, edi
push eax
sub esp, 0xc
mov eax, esp
sub esp, 0xc
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x7c]
mov dword [eax + 8], ecx
mov eax, esp
mov ecx, dword [ebp - 0x74]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.0065dba0
add esp, 0x20
test eax, eax
jne 0x5d3b56
mov ecx, dword [ebp - 0xbc]
mov eax, 0x38e38e39
mov edi, dword [ebp - 0xc0]
sub ecx, edi
inc dword [ebp - 0x1c]
add dword [ebp - 0x14], 0x24
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
jl 0x5d3aa3
mov edi, dword [ebp - 0x5c]
sub dword [ebp - 0x54], 1
jne 0x5d3990
mov esi, dword [ebp - 0xb4]
mov eax, dword [esi + 0xd8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movss xmm0, dword [ebp - 0x24]
lea ecx, [ebp - 0xc0]
movss xmm2, dword [ebp - 0x28]
mov eax, dword [ebp - 0x60]
movss dword [esi + 0xc0], xmm0
movss dword [esi + 0xcc], xmm2
jmp 0x5d491b
mov edi, dword [ebp - 0x5c]
call edi
movss xmm1, dword [ebp - 0xb0]
movaps xmm0, xmm1
maxss xmm0, dword [ebp - 0x28]
minss xmm1, dword [ebp - 0x24]
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x24], xmm1
call edi
and eax, reloc.WS2_32.dll_closesocket
jns 0x5d3b88
dec eax
or eax, 0xfffffffc
inc eax
cmp eax, 4
ja case.default.0x5d3b8d
jmp dword [eax*4 + 0x5d493c]
movss xmm4, dword [ebp - 0x84]
movss xmm3, dword [0x710fb8]
movss dword [ebp - 0x38], xmm4
movss dword [ebp - 0x2c], xmm3
jmp 0x5d3bba
movss xmm4, dword [ebp - 0x38]
movss xmm3, dword [ebp - 0x2c]
cdq
mov ecx, 2
idiv ecx
movss xmm5, dword [ebp - 0x20]
movss xmm2, dword [0x710fd0]
movd xmm0, eax
mov eax, 0x6bca1af3
cvtdq2ps xmm0, xmm0
movd xmm1, edx
mulss xmm0, dword [ebp - 0x34]
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x1c], xmm0
movaps xmm0, xmm5
divss xmm0, dword [0x706bb0]
mulss xmm1, dword [ebp - 0x34]
cvttss2si ecx, xmm0
movss dword [ebp - 0x58], xmm1
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, 8
imul eax, eax, 0x13
sub ecx, eax
lea eax, [ecx*4 + 4]
mov ecx, esi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
nop dword [eax + eax]
mov eax, dword [ebp - 0x18]
movss dword [ecx + eax + 0x14], xmm1
mov eax, dword [ebp - 0x18]
mov dword [ecx + eax + 0x18], 0
movss xmm0, dword [ebp - 0xb0]
mov eax, dword [ebp - 0x18]
subss xmm0, xmm2
movss dword [ecx + eax + 0x10], xmm0
add ecx, 0x28
sub edx, 1
jne 0x5d3c30
mov eax, dword [ebp - 0x18]
movaps xmm6, xmm3
xorps xmm6, xmmword [ebp - 0xa0]
movaps xmm7, xmm4
movss xmm4, dword [ebp - 0x74]
addss xmm7, xmm2
addss xmm4, dword [ebp - 0x30]
movaps xmm3, xmm5
addss xmm3, xmm6
movaps xmm2, xmm7
subss xmm2, dword [ebp - 0x40]
movaps xmm1, xmm4
subss xmm1, dword [ebp - 0x3c]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x44]
movss dword [esi + eax], xmm0
movaps xmm0, xmm4
movss dword [esi + eax + 4], xmm2
movaps xmm2, xmm7
movss dword [esi + eax + 8], xmm1
mov eax, dword [ebp - 0x18]
movss xmm1, dword [0x710fd0]
mov dword [esi + eax + 0xc], 0x3f800000
subss xmm0, dword [ebp - 0x3c]
subss xmm1, dword [ebp - 0x40]
subss xmm3, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x28], xmm3
movaps xmm3, xmm5
movss dword [esi + eax + 0x2c], xmm1
movaps xmm1, xmm4
movss dword [esi + eax + 0x30], xmm0
mov eax, dword [ebp - 0x18]
addss xmm3, dword [ebp - 0x2c]
mov dword [esi + eax + 0x34], edx
subss xmm1, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
movaps xmm0, xmm3
subss xmm0, dword [ebp - 0x44]
subss xmm2, dword [ebp - 0x40]
movss dword [esi + eax + 0x50], xmm0
movss dword [esi + eax + 0x54], xmm2
movss dword [esi + eax + 0x58], xmm1
mov eax, dword [ebp - 0x18]
movss xmm0, dword [0x710fd0]
movss xmm1, dword [ebp - 0x58]
mov dword [esi + eax + 0x5c], 0x3f800000
subss xmm0, dword [ebp - 0x40]
subss xmm4, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x18]
subss xmm3, dword [ebp - 0x44]
movss dword [esi + eax + 0x78], xmm3
movss dword [esi + eax + 0x7c], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [esi + eax + 0x80], xmm4
movaps xmm5, xmm0
mov eax, dword [ebp - 0x18]
movaps xmm4, xmm1
addss xmm4, dword [ebp - 0xa4]
addss xmm5, dword [ebp - 0xa4]
addss xmm0, dword [ebp - 0x34]
mov dword [esi + eax + 0x84], edx
mov eax, dword [ebp - 0x18]
addss xmm1, dword [ebp - 0x34]
movss dword [ebp - 0x1c], xmm0
movss dword [esi + eax + 0x1c], xmm4
mov eax, dword [ebp - 0x18]
movss dword [ebp - 0x58], xmm1
movss dword [esi + eax + 0x20], xmm5
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x44], xmm4
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x48], xmm0
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x6c], xmm1
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x70], xmm5
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x94], xmm1
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x98], xmm0
mov eax, dword [ebp - 0x18]
movaps xmm2, xmm7
subss xmm2, dword [ebp - 0x40]
movss xmm3, dword [ebp - 0x74]
movss xmm1, dword [ebp - 0x20]
addss xmm3, xmm6
addss xmm1, dword [ebp - 0x30]
movss dword [ebp - 0x20], xmm1
movaps xmm1, xmm3
subss xmm1, dword [ebp - 0x3c]
movss xmm6, dword [ebp - 0x20]
movaps xmm0, xmm6
subss xmm0, dword [ebp - 0x44]
movss dword [esi + eax + 0xa0], xmm0
movaps xmm0, xmm6
movss dword [esi + eax + 0xa4], xmm2
movss dword [esi + eax + 0xa8], xmm1
mov eax, dword [ebp - 0x18]
movss xmm1, dword [0x710fd0]
mov dword [esi + eax + 0xac], 0x3f800000
subss xmm0, dword [ebp - 0x44]
subss xmm1, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
subss xmm3, dword [ebp - 0x3c]
movss dword [esi + eax + 0xc8], xmm0
movaps xmm0, xmm6
movss dword [esi + eax + 0xcc], xmm1
movss dword [esi + eax + 0xd0], xmm3
mov eax, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x74]
addss xmm2, dword [ebp - 0x2c]
mov dword [esi + eax + 0xd4], edx
subss xmm0, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
subss xmm7, dword [ebp - 0x40]
movaps xmm1, xmm2
subss xmm1, dword [ebp - 0x3c]
movss dword [esi + eax + 0xf0], xmm0
movss dword [esi + eax + 0xf4], xmm7
movss dword [esi + eax + 0xf8], xmm1
mov eax, dword [ebp - 0x18]
movss xmm0, dword [0x710fd0]
movss xmm1, dword [ebp - 0x58]
mov dword [esi + eax + 0xfc], 0x3f800000
subss xmm0, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
subss xmm6, dword [ebp - 0x44]
subss xmm2, dword [ebp - 0x3c]
movss dword [esi + eax + 0x118], xmm6
movss dword [esi + eax + 0x11c], xmm0
movss dword [esi + eax + 0x120], xmm2
mov eax, dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x1c]
mov dword [esi + eax + 0x124], edx
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x64]
movss dword [esi + eax + 0xbc], xmm4
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0xc0], xmm5
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0xe4], xmm4
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0xe8], xmm0
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x10c], xmm1
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x110], xmm5
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x134], xmm1
mov eax, dword [ebp - 0x18]
movss dword [esi + eax + 0x138], xmm0
mov eax, dword [ebp - 0xa8]
imul eax, dword [0x7478ac]
add eax, dword [ebp - 0xac]
mov al, byte [eax + edx]
and al, 0xf
cmp al, 1
mov eax, dword [ebp - 0x18]
jne 0x5d4012
mov dword [esi + eax + 0x24], 0x3f333333
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x60]
mov dword [esi + eax + 0x4c], 0x3f333333
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x74], 0x3f333333
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x9c], 0x3f333333
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0xc4], 0x3f333333
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0xec], 0x3f333333
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x114], 0x3f333333
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x13c], 0x3f333333
mov esi, ecx
jmp 0x5d3b12
mov dword [esi + eax + 0x24], 0x3f800000
mov eax, dword [ebp - 0x18]
inc dword [ebp - 0x60]
mov dword [esi + eax + 0x4c], 0x3f800000
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x74], 0x3f800000
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x9c], 0x3f800000
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0xc4], 0x3f800000
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0xec], 0x3f800000
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x114], 0x3f800000
mov eax, dword [ebp - 0x18]
mov dword [esi + eax + 0x13c], 0x3f800000
mov esi, ecx
jmp 0x5d3b12
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xcc]
movss dword [ebp - 0x68], xmm3
push eax
mov eax, dword [ebp - 0x68]
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 4], 1
xorps xmm2, xmm2
movaps xmm0, xmm1
unpcklps xmm0, xmm2
movss dword [ebp - 0x2c], xmm2
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0xf89918
call fcn.005d6b90
movss xmm0, dword [ebp - 0x54]
sub esp, 0xc
movss xmm1, dword [ebp - 0x2c]
mov ecx, esp
movss dword [ebp - 0x68], xmm0
movaps xmm0, xmmword [ebp - 0x80]
mov eax, dword [ebp - 0x68]
unpcklps xmm0, xmm1
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0xf89918
call fcn.005d6ab0
movss xmm0, dword [ebx + 8]
lea edx, [ebp - 0x14]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x6c], 0x47c35000
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x10]
mov dword [esi + 0xb8], eax
movss dword [esi + 0xbc], xmm0
movss xmm0, dword [ebx + 0xc]
mov dword [esi + 0xc0], 0
movss dword [esi + 0xc4], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esi + 0xc8], xmm0
movss xmm0, dword [ebp - 0x34]
mov dword [esi + 0xcc], 0
movss dword [esi + 0xd0], xmm0
movss xmm0, dword [0x711304]
movss xmm1, dword [0x7069e0]
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [0x710d0c]
movss dword [ebp - 0x34], xmm0
movd xmm0, dword [0x7478ac]
cvtdq2ps xmm0, xmm0
push 0
mov dword [ebp - 0x64], eax
mov eax, dword [esi + 0xd8]
push edx
push 0
divss xmm1, xmm0
mov dword [esi + 0xe0], 0xffffff
mov dword [esi + 0xe4], 0x500000
mov dword [esi + 0xe8], 0
mov ecx, dword [eax]
push 0
push eax
movss dword [ebp - 0xac], xmm1
call dword [ecx + 0x2c]
movss xmm0, dword [ebx + 8]
lea eax, [ebp - 0x50]
movss dword [ebp - 0x50], xmm0
lea ecx, [esi + 0x1c]
movss xmm0, dword [ebx + 0xc]
push eax
mov dword [ebp - 0x4c], 0
movss dword [ebp - 0x48], xmm0
call fcn.0065ee30
mov edi, dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [ebp - 0x30], edi
call edi
cdq
mov ecx, 0x3e8
mov dword [ebp - 0x58], 0
idiv ecx
cmp dword [ebx + 0x10], 0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x7110d0]
movss dword [esi + 0xd4], xmm0
jle 0x5d48ec
xor esi, esi
nop dword [eax]
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0xa8], xmm0
call edi
cdq
mov ecx, 0x1ec
idiv ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 8]
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x70], xmm0
call edi
movss xmm0, dword [ebp - 0x1c]
mov ecx, 0x1ec
divss xmm0, dword [0x7069e0]
cdq
idiv ecx
cvttss2si eax, xmm0
movss xmm2, dword [ebp - 0x1c]
imul eax, eax, 0x7b13
movd xmm3, edx
cvtdq2ps xmm3, xmm3
addss xmm3, dword [ebx + 0xc]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm3
movss dword [ebp - 0x74], xmm3
subss xmm2, xmm0
movss dword [ebp - 0x68], xmm3
movaps xmm0, xmm3
divss xmm0, dword [0x7069e0]
cvttss2si eax, xmm0
imul eax, eax, 0x7b13
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x2c]
comiss xmm0, xmm2
ja 0x5d48dc
comiss xmm0, xmm1
ja 0x5d48dc
mov ecx, dword [ebp - 0x54]
test ecx, ecx
je 0x5d48dc
divss xmm1, dword [ebp - 0xac]
divss xmm2, dword [ebp - 0xac]
cvttss2si eax, xmm1
cvttss2si edx, xmm2
mov dword [ebp - 0xa0], eax
imul eax, dword [0x7478ac]
mov dword [ebp - 0x84], edx
add eax, edx
mov al, byte [eax + ecx]
and al, 0xf0
cmp al, 0x80
jne 0x5d48dc
mov edi, dword [ebp - 0xcc]
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov eax, 0x38e38e39
mov ecx, dword [ebp - 0xc8]
sub ecx, edi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x5d48d9
xor eax, eax
mov dword [ebp - 0x24], eax
nop word [eax + eax]
movq xmm0, qword [ebp - 0x70]
lea ecx, [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x68]
add eax, edi
push eax
sub esp, 0xc
mov eax, esp
sub esp, 0xc
movq qword [eax], xmm0
movq xmm0, qword [ebp - 0x7c]
mov dword [eax + 8], ecx
mov eax, esp
mov ecx, dword [ebp - 0x74]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.0065dba0
add esp, 0x20
test eax, eax
jne 0x5d43f1
mov ecx, dword [ebp - 0xc8]
mov eax, 0x38e38e39
mov edi, dword [ebp - 0xcc]
sub ecx, edi
inc dword [ebp - 0x28]
add dword [ebp - 0x24], 0x24
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
jl 0x5d4380
jmp 0x5d48d9
mov edi, dword [ebp - 0x30]
call edi
movss xmm0, dword [ebp - 0xd8]
movaps xmm1, xmm0
movss dword [ebp - 0x20], xmm0
maxss xmm1, dword [ebp - 0xa8]
minss xmm0, dword [ebp - 0xa4]
movss dword [ebp - 0x38], xmm1
movss dword [ebp - 0x34], xmm0
call edi
mov edi, eax
and edi, reloc.WS2_32.dll_closesocket
jns 0x5d4431
dec edi
or edi, 0xfffffffc
inc edi
cmp edi, 3
ja case.default.0x5d4436
jmp dword [edi*4 + 0x5d4950]
movss xmm0, dword [0x706c78]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [0x706d94]
movss dword [ebp - 0x5c], xmm0
call dword [ebp - 0x30]
cdq
mov ecx, 0x64
idiv ecx
mov eax, edi
mov ecx, 2
movd xmm0, edx
cdq
cvtdq2ps xmm0, xmm0
idiv ecx
divss xmm0, dword [0x700e28]
movd xmm1, eax
addss xmm0, dword [0x70196c]
cvtdq2ps xmm1, xmm1
mulss xmm0, dword [ebp - 0x60]
mulss xmm1, dword [0x70174c]
movss dword [ebp - 0x60], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm1
mulss xmm0, dword [0x70174c]
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x7112e0]
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
movss xmm4, dword [ebp - 0x74]
xorps xmm7, xmm7
addss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x5c]
xorps xmm5, xmmword [0x701990]
movss xmm6, dword [ebp - 0x20]
movaps xmm3, xmm5
addss xmm3, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
movaps xmm1, xmm4
subss xmm1, dword [ebp - 0x48]
addss xmm6, dword [ebp - 0x60]
cvtsd2ss xmm7, xmm0
movaps xmm0, xmm3
movaps xmm2, xmm6
subss xmm0, dword [ebp - 0x50]
subss xmm2, dword [ebp - 0x4c]
movss dword [esi + eax], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esi + eax + 4], xmm2
movaps xmm2, xmm6
movss dword [esi + eax + 8], xmm1
addss xmm0, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xc], xmm7
movaps xmm1, xmm0
subss xmm3, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
subss xmm1, dword [ebp - 0x4c]
movss dword [ebp - 0x20], xmm0
movaps xmm0, xmm4
subss xmm0, dword [ebp - 0x48]
movss dword [esi + eax + 0x1c], xmm3
movss xmm3, dword [ebp - 0x1c]
addss xmm3, dword [ebp - 0x5c]
movss dword [esi + eax + 0x20], xmm1
movaps xmm1, xmm4
movss dword [esi + eax + 0x24], xmm0
mov eax, dword [ebp - 0x14]
movaps xmm0, xmm3
mov dword [esi + eax + 0x28], 0
subss xmm0, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
subss xmm2, dword [ebp - 0x4c]
subss xmm1, dword [ebp - 0x48]
movss dword [esi + eax + 0x38], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esi + eax + 0x3c], xmm2
movss dword [esi + eax + 0x40], xmm1
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x44], xmm7
subss xmm0, dword [ebp - 0x4c]
subss xmm4, dword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
subss xmm3, dword [ebp - 0x50]
movss dword [esi + eax + 0x54], xmm3
movaps xmm2, xmm6
movss dword [esi + eax + 0x58], xmm0
movss dword [esi + eax + 0x5c], xmm4
mov eax, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x28]
movaps xmm3, xmm0
addss xmm3, dword [0x70c430]
mov dword [esi + eax + 0x60], 0
movaps xmm4, xmm1
mov eax, dword [ebp - 0x14]
addss xmm4, dword [0x70c430]
addss xmm1, dword [0x70174c]
addss xmm0, dword [0x70174c]
movss dword [esi + eax + 0x14], xmm3
mov eax, dword [ebp - 0x14]
addss xmm5, dword [ebp - 0x74]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm0
movss dword [esi + eax + 0x18], xmm4
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x30], xmm3
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x34], xmm1
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x4c], xmm0
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x50], xmm4
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x68], xmm0
mov eax, dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [ebp - 0x2c]
movss dword [esi + eax + 0x6c], xmm1
movaps xmm1, xmm5
subss xmm1, dword [ebp - 0x48]
subss xmm2, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x14]
movss dword [ebp - 0x1c], xmm0
subss xmm0, dword [ebp - 0x50]
movss dword [esi + eax + 0x70], xmm0
movss dword [esi + eax + 0x74], xmm2
movss dword [esi + eax + 0x78], xmm1
mov eax, dword [ebp - 0x14]
movss xmm2, dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x20]
movaps xmm0, xmm2
movss dword [esi + eax + 0x7c], xmm7
subss xmm0, dword [ebp - 0x50]
subss xmm1, dword [ebp - 0x4c]
subss xmm5, dword [ebp - 0x48]
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x8c], xmm0
movaps xmm0, xmm2
movss dword [esi + eax + 0x90], xmm1
movss dword [esi + eax + 0x94], xmm5
mov eax, dword [ebp - 0x14]
movss xmm5, dword [ebp - 0x74]
addss xmm5, dword [ebp - 0x5c]
mov dword [esi + eax + 0x98], 0
subss xmm0, dword [ebp - 0x50]
mov eax, dword [ebp - 0x14]
subss xmm6, dword [ebp - 0x4c]
movaps xmm1, xmm5
subss xmm1, dword [ebp - 0x48]
movss dword [esi + eax + 0xa8], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [esi + eax + 0xac], xmm6
movss dword [esi + eax + 0xb0], xmm1
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xb4], xmm7
mov eax, dword [ebp - 0x14]
subss xmm2, dword [ebp - 0x50]
subss xmm0, dword [ebp - 0x4c]
subss xmm5, dword [ebp - 0x48]
movss dword [esi + eax + 0xc4], xmm2
movss dword [esi + eax + 0xc8], xmm0
movss dword [esi + eax + 0xcc], xmm5
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0xd0], 0
mov eax, dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x28]
movss xmm0, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x54]
movss dword [esi + eax + 0x84], xmm3
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0x88], xmm4
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xa0], xmm3
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xa4], xmm1
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xbc], xmm0
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xc0], xmm4
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xd8], xmm0
mov eax, dword [ebp - 0x14]
movss dword [esi + eax + 0xdc], xmm1
mov eax, dword [ebp - 0xa0]
imul eax, dword [0x7478ac]
add eax, dword [ebp - 0x84]
mov al, byte [eax + ecx]
and al, 0xf
cmp al, 1
mov eax, dword [ebp - 0x14]
jne 0x5d486f
mov dword [esi + eax + 0x10], 0xff888888
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x2c], 0xff888888
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x48], 0xff888888
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x64], 0xff888888
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x80], 0xff888888
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x9c], 0xff888888
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0xb8], 0xff888888
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0xd4], 0xff888888
jmp 0x5d48d0
mov dword [esi + eax + 0x10], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x2c], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x48], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x64], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x80], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0x9c], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0xb8], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [esi + eax + 0xd4], 0xffffffff
inc dword [ebp - 0x58]
add esi, 0xe0
mov edi, dword [ebp - 0x30]
sub dword [ebp - 0x64], 1
jne 0x5d4240
mov esi, dword [ebp - 0xb4]
mov eax, dword [esi + 0xd8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
movss xmm0, dword [ebp - 0x34]
lea ecx, [ebp - 0xcc]
mov eax, dword [ebp - 0x58]
movss dword [esi + 0xc0], xmm0
movss xmm0, dword [ebp - 0x38]
movss dword [esi + 0xcc], xmm0
mov dword [esi + 0xb8], eax
call fcn.0044dd80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc