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

Disassembly:
mov r11, rsp
push rbp
push rsi
push r12
push r13
push r15
sub rsp, 0x50
mov r10, qword [rcx + 0x108]
mov r12, rdx
mov r9, qword [rcx + 0x110]
xor esi, esi
sub r9, r10
movabs rax, 0x2aaaaaaaaaaaaaab
imul r9
mov r13d, r8d
mov rbp, rcx
sar rdx, 2
mov r15d, esi
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140086f6e
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r14
mov r14d, esi
nop
mov eax, dword [r14 + r10 + 0x10]
sub eax, dword [r12 + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jg 0x140086f17
mov eax, dword [r14 + r10 + 0xc]
sub eax, dword [r12 + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jg 0x140086f17
cmp dword [r14 + r10], 0x70
jne 0x140086f17
cmp dword [r14 + r10 + 4], r13d
jne 0x140086f17
mov ebx, dword [r14 + r10 + 8]
xorps xmm0, xmm0
mov ecx, 0x38
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
call fcn.1402d160c
mov rdi, rax
mov dword [rax + 8], esi
mov dword [rax + 0x10], esi
mov dword [rax + 0x28], esi
mov dword [rax + 0x34], esi
mov rsi, qword [0x1403c79b0]
mov dword [rax], reloc.WS2_32.dll_ntohl
mov dword [rax + 4], 0xfffffffe
mov eax, dword [rsp + 0x2c]
mov dword [rdi + 0xc], eax
mov eax, dword [rsp + 0x40]
mov dword [rdi + 0x18], eax
mov eax, dword [rsp + 0x44]
mov dword [rdi + 0x1c], eax
mov eax, dword [rsp + 0x48]
mov dword [rdi + 0x20], eax
mov eax, dword [rsp + 0x4c]
mov dword [rdi + 0x24], eax
mov eax, dword [rsp + 0x34]
mov dword [rdi + 0x2c], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x30], eax
mov dword [rdi + 0x14], ebx
imul rax, qword [rsi + 0x30], 0x1c8
mov rbx, qword [rsi + 0x28]
add rax, rbx
cmp rbx, rax
jae 0x140086ee2
add rbx, 0x30
nop word [rax + rax]
cmp dword [rbx + 8], 5
jne 0x140086ec2
mov rcx, qword [rbx]
test rcx, rcx
je 0x140086ec2
mov rax, qword [rbp + 0x38]
lea rdx, [rbp + 0x28]
add rcx, 0x488
cmp qword [rdx + 0x18], 0x10
jb 0x140086def
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x140086dfd
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140086ec2
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140086ec2
xor ecx, ecx
lea r8d, [rax + 1]
test byte [rdi + 0xc], 8
je 0x140086e71
mov edx, dword [rdi + 0x34]
add edx, 0x3d
call fcn.14000ff40
xor edx, edx
mov rsi, rax
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
mov rcx, qword [rax + 0x10]
movups xmm0, xmmword [rdi]
movups xmmword [rcx + 4], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rcx + 0x14], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rcx + 0x24], xmm0
movsd xmm1, qword [rdi + 0x30]
movsd qword [rcx + 0x34], xmm1
mov rcx, qword [rax + 0x10]
mov r8d, dword [rdi + 0x34]
add rcx, 0x3c
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140086ead
mov edx, 0x3d
call fcn.14000ff40
mov rsi, rax
mov rax, qword [rax + 0x10]
mov dword [rax], 4
movups xmm0, xmmword [rdi]
mov rax, qword [rsi + 0x10]
movups xmmword [rax + 4], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rax + 0x14], xmm1
movups xmm0, xmmword [rdi + 0x20]
movups xmmword [rax + 0x24], xmm0
movsd xmm1, qword [rdi + 0x30]
movsd qword [rax + 0x34], xmm1
lea rcx, [rbx - 0x30]
mov r8, rsi
xor edx, edx
call fcn.1400101d0
mov rsi, qword [0x1403c79b0]
imul rdx, qword [rsi + 0x30], 0x1c8
add rbx, 0x1c8
add rdx, qword [rsi + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rdx
jb 0x140086dc0
mov rcx, rdi
call fcn.1402d0d60
mov rax, qword [rbp + 0x108]
xor esi, esi
mov dword [r14 + rax], esi
mov rax, qword [rbp + 0x108]
mov dword [r14 + rax + 0xc], 0xffffffff
mov rax, qword [rbp + 0x108]
mov dword [r14 + rax + 0x10], 0xffffffff
mov r10, qword [rbp + 0x108]
inc r15d
mov rcx, qword [rbp + 0x110]
movabs rax, 0x2aaaaaaaaaaaaaab
sub rcx, r10
add r14, 0x18
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r15d
cmp rax, rdx
jb 0x140086ce0
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r13
pop r12
pop rsi
pop rbp
ret