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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
cmp dword [rax + 0x18], 3
jne 0x1401e696a
mov dword [rsp + 0x2c], 0x1f4
jmp 0x1401e6972
mov dword [rsp + 0x2c], 0x12c
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx + 0x18]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx + 0x1c]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0x60]
call fcn.1400c3b80
movsd qword [rsp + 0x58], xmm0
cvtsi2sd xmm0, dword [rsp + 0x44]
mulsd xmm0, qword [rsp + 0x58]
cvttsd2si eax, xmm0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x1c]
cmp dword [rax + 0x30], ecx
jge 0x1401e6a05
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x30]
mov dword [rsp + 0x30], eax
jmp 0x1401e6a14
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1c]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x4d]
test eax, eax
je 0x1401e6ae7
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x4e]
test eax, eax
jne 0x1401e6a6b
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
cmp dword [rax + 0x18], 3
jne 0x1401e6a6b
mov dword [rsp + 0x34], 3
jmp 0x1401e6a73
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x80]
cvtsi2sd xmm0, dword [rax + 0x18]
cvtsi2sd xmm1, dword [rsp + 0x48]
mulsd xmm1, qword [rsp + 0x58]
addsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x2c]
jge 0x1401e6acb
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x38], eax
jmp 0x1401e6ada
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x28], eax
jmp 0x1401e6b8a
mov rax, qword [rsp + 0x80]
movzx eax, byte [rax + 0x4e]
test eax, eax
je 0x1401e6b13
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x50]
cmp dword [rax + 0x18], 3
jne 0x1401e6b13
mov dword [rsp + 0x3c], 3
jmp 0x1401e6b1b
mov dword [rsp + 0x3c], reloc.WS2_32.dll_recv
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x80]
cvtsi2sd xmm0, dword [rax + 0x10]
cvtsi2sd xmm1, dword [rsp + 0x4c]
mulsd xmm1, qword [rsp + 0x58]
subsd xmm0, xmm1
cvttsd2si eax, xmm0
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0x24]
jle 0x1401e6b73
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x1401e6b82
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x24]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x24]
mov dword [rax], ecx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x14]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x88]
mov ecx, dword [rsp + 0x28]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x14]
add eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov dword [rcx + 0xc], eax
mov rax, qword [rsp + 0x88]
add rsp, 0x78
ret