Function at 0x14005ed00
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 + 0xe0]
mov r12, rdx
mov r9, qword [rcx + 0xe8]
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 0x14005efee
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 0x14005ef97
mov eax, dword [r14 + r10 + 0xc]
sub eax, dword [r12 + 0xc]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x10
jg 0x14005ef97
cmp dword [r14 + r10], 0x70
jne 0x14005ef97
cmp dword [r14 + r10 + 4], r13d
jne 0x14005ef97
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.1401e85bc
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 [0x1402962f0]
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 0x14005ef62
add rbx, 0x30
nop word [rax + rax]
cmp dword [rbx + 8], 5
jne 0x14005ef42
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005ef42
mov rax, qword [rbp + 0x18]
lea rdx, [rbp + 8]
add rcx, 0x2b0
cmp qword [rdx + 0x18], 0x10
jb 0x14005ee6f
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 0x10
mov r8, qword [rcx + 0x10]
jb 0x14005ee7d
mov rcx, qword [rcx]
cmp r8, rax
jne 0x14005ef42
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14005ef42
xor ecx, ecx
lea r8d, [rax + 1]
test byte [rdi + 0xc], 8
je 0x14005eef1
mov edx, dword [rdi + 0x34]
add edx, 0x3d
call fcn.1400131e0
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 0x14005ef2d
mov edx, 0x3d
call fcn.1400131e0
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.1400134b0
mov rsi, qword [0x1402962f0]
imul rdx, qword [rsi + 0x30], 0x1c8
add rbx, 0x1c8
add rdx, qword [rsi + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rdx
jb 0x14005ee40
mov rcx, rdi
call fcn.1401e8250
mov rax, qword [rbp + 0xe0]
xor esi, esi
mov dword [r14 + rax], esi
mov rax, qword [rbp + 0xe0]
mov dword [r14 + rax + 0xc], 0xffffffff
mov rax, qword [rbp + 0xe0]
mov dword [r14 + rax + 0x10], 0xffffffff
mov r10, qword [rbp + 0xe0]
inc r15d
mov rcx, qword [rbp + 0xe8]
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 0x14005ed60
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