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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x338
mov rax, qword [0x140521680]
xor rax, rsp
mov qword [rsp + 0x320], rax
xorps xmm0, xmm0
movss dword [rsp + 0x130], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x134], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x138], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x110], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x114], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x118], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x50], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x54], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x140], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x144], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x148], xmm0
movss xmm0, dword [0x1404eec78]
movss dword [rsp + 0x34], xmm0
xorps xmm0, xmm0
movss dword [rsp + 0x30], xmm0
mov dword [rsp + 0x3c], 0
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x170]
call fcn.140066d20
nop
mov dword [rsp + 0x38], 0
lea rax, [0x1405d6a88]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x68]
call fcn.140061a30
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x68]
call fcn.140061a10
mov qword [rsp + 0x70], rax
jmp 0x140186a87
mov rax, qword [rsp + 0x48]
add rax, 0x1b0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x48], rax
je 0x140186d47
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x28], rax
movzx eax, byte [0x1405d6676]
cmp eax, 1
jne 0x140186abd
mov rax, qword [rsp + 0x28]
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x14]
jbe 0x140186abd
jmp 0x140186a77
movzx eax, byte [0x1405d6677]
cmp eax, 1
jne 0x140186ad9
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax + 1]
cmp eax, 1
jne 0x140186ad9
jmp 0x140186a77
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0x104]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xd0]
lea rcx, [0x1405d66d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea r9, [rsp + 0x3c]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xd0]
call fcn.140062da0
test eax, eax
je 0x140186d42
mov eax, dword [0x1405cb0a0]
cmp dword [rsp + 0x3c], eax
jle 0x140186b4b
jmp 0x140186a77
mov eax, dword [0x1405d603c]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm0, eax
movss xmm1, dword [rsp + 0x50]
subss xmm1, xmm0
movaps xmm0, xmm1
mov edx, 2
call fcn.140061a90
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x1405d6038]
cdq
sub eax, edx
sar eax, 1
cvtsi2ss xmm1, eax
movss xmm2, dword [rsp + 0x54]
subss xmm2, xmm1
movaps xmm1, xmm2
mov edx, 2
movaps xmm0, xmm1
call fcn.140061a90
movsd xmm1, qword [rsp + 0x78]
addsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.14036edf8
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x30], xmm0
movss xmm0, dword [rsp + 0x34]
comiss xmm0, dword [rsp + 0x30]
jbe 0x140186d42
cmp dword [0x1405d6774], 0
jne 0x140186c0e
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0xf8]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x118]
addss xmm0, dword [0x1404eeb14]
movss dword [rsp + 0x118], xmm0
cmp dword [0x1405d6774], 1
jne 0x140186c35
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0x104]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
cmp dword [0x1405d6774], 2
jne 0x140186c5c
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0x110]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
cmp dword [0x1405d6774], 3
jne 0x140186d0b
cmp dword [0x1405d6760], 0
jne 0x140186c92
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0x104]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140186d0b
cmp dword [0x1405d6760], 1
jne 0x140186cbb
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0x110]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140186d0b
cmp dword [0x1405d6760], 2
jne 0x140186ce4
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0xf8]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140186d0b
cmp dword [0x1405d6760], 3
jne 0x140186d0b
lea rax, [rsp + 0x110]
mov rcx, qword [rsp + 0x28]
mov rdi, rax
lea rsi, [rcx + 0x1a0]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x170]
call fcn.14007c9c0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xd0]
mov dword [rsp + 0x38], eax
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x34], xmm0
jmp 0x140186a77
cmp dword [rsp + 0x24], 0
jne 0x1401870ed
movzx eax, byte [0x1405d6046]
test eax, eax
je 0x1401870ed
mov dword [rsp + 0x5c], 0
mov dword [rsp + 0x20], 0
jmp 0x140186d7d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x80], rax
lea rcx, [0x1405d6a88]
call fcn.1400619d0
mov rcx, qword [rsp + 0x80]
cmp rcx, rax
jae 0x1401870ed
movzx eax, byte [0x1405d6676]
cmp eax, 1
jne 0x140186dd2
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
xorps xmm0, xmm0
comiss xmm0, dword [rax + 0x14]
jbe 0x140186dd2
jmp 0x140186d73
movzx eax, byte [0x1405d6677]
cmp eax, 1
jne 0x140186e00
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
movzx eax, byte [rax + 1]
cmp eax, 1
jne 0x140186e00
jmp 0x140186d73
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
movss xmm0, dword [0x1405d56e0]
subss xmm0, dword [rax + 8]
mov edx, 2
call fcn.140061a90
movsd qword [rsp + 0x88], xmm0
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
movss xmm0, dword [0x1405d56e4]
subss xmm0, dword [rax + 0xc]
mov edx, 2
call fcn.140061a90
movsd xmm1, qword [rsp + 0x88]
addsd xmm1, xmm0
movaps xmm0, xmm1
movsd qword [rsp + 0x90], xmm0
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
movss xmm0, dword [0x1405d56e8]
subss xmm0, dword [rax + 0x10]
mov edx, 2
call fcn.140061a90
movsd xmm1, qword [rsp + 0x90]
addsd xmm1, xmm0
movaps xmm0, xmm1
call fcn.14036edf8
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x58], xmm0
movss xmm0, dword [rsp + 0x58]
divss xmm0, dword [0x1404eebb8]
cvttss2si eax, xmm0
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x60], eax
jge 0x1401870e8
cmp dword [0x1405d6774], 0
jne 0x140186f36
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
lea rsi, [rax + 0xf8]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
movss xmm0, dword [rsp + 0x118]
addss xmm0, dword [0x1404eeb14]
movss dword [rsp + 0x118], xmm0
cmp dword [0x1405d6774], 1
jne 0x140186f6c
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
lea rsi, [rax + 0x104]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
cmp dword [0x1405d6774], 2
jne 0x140186fa2
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
lea rsi, [rax + 0x110]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
cmp dword [0x1405d6774], 3
jne 0x140187090
cmp dword [0x1405d6760], 0
jne 0x140186fea
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
lea rsi, [rax + 0x104]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140187090
cmp dword [0x1405d6760], 1
jne 0x140187022
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
lea rsi, [rax + 0x110]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140187090
cmp dword [0x1405d6760], 2
jne 0x14018705a
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
lea rsi, [rax + 0xf8]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140187090
cmp dword [0x1405d6760], 3
jne 0x140187090
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
lea rcx, [rsp + 0x110]
mov rdi, rcx
lea rsi, [rax + 0x1a0]
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.14007c9c0
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [0x1405d6a88]
call fcn.1400619a0
mov eax, dword [rax + 0xd0]
mov dword [rsp + 0x38], eax
movss xmm0, dword [rsp + 0x30]
movss dword [rsp + 0x34], xmm0
jmp 0x140186d73
cmp dword [rsp + 0x24], 0
jne 0x14018716a
mov dword [0x1405d6764], 0xffffffff
movss xmm0, dword [0x1404eec78]
movss dword [rsp + 0x120], xmm0
movss xmm0, dword [0x1404eec78]
movss dword [rsp + 0x124], xmm0
movss xmm0, dword [0x1404eec78]
movss dword [rsp + 0x128], xmm0
lea rax, [rsp + 0x120]
mov rdi, qword [rsp + 0x350]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x170]
call fcn.140066d90
mov rax, qword [rsp + 0x350]
jmp 0x14018729a
lea rdx, [rsp + 0x170]
lea rcx, [0x1405d6ce0]
call fcn.14007c9c0
lea rdx, [rsp + 0x170]
lea rcx, [0x1405d6ce0]
call fcn.14007c9c0
mov eax, dword [0x1405d6db0]
add eax, 0xa8c
mov ecx, eax
call fcn.140061a50
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x1401871fa
mov eax, dword [rsp + 0x40]
add eax, 0x80
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.140079110
lea rcx, [rsp + 0x150]
mov rdi, rcx
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [0x1405d6db4]
lea rcx, [rsp + 0x150]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
jmp 0x140187251
mov eax, dword [0x1405d6db0]
add eax, 0x158
mov ecx, eax
call fcn.140061a50
add eax, 0x200
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.140079110
lea rcx, [rsp + 0x160]
mov rdi, rcx
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rax, [0x1405d6db4]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x38]
mov dword [0x1405d6764], eax
lea rax, [rsp + 0x110]
mov rdi, qword [rsp + 0x350]
mov rsi, rax
mov ecx, recv
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x170]
call fcn.140066d90
mov rax, qword [rsp + 0x350]
jmp 0x14018729a
mov rcx, qword [rsp + 0x320]
xor rcx, rsp
call fcn.1403276a0
add rsp, 0x338
pop rdi
pop rsi
ret