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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rax, qword [rcx]
mov rbx, rcx
mov ecx, dword [rdx + 0x34]
mov rdi, rdx
mov r14d, dword [rdx + 0x38]
mov qword [rsp + 0x28], rax
add r14d, ecx
movsx eax, word [rdx + 0x110]
mov word [rsp + 0xa0], ax
mov r12d, eax
mov dword [rsp + 0x24], eax
mov eax, dword [rdx + 0x80]
mov dword [rsp + 0xb8], eax
mov dword [rsp + 0xb0], ecx
test ecx, ecx
jne 0x1401f8523
test r14d, r14d
jle 0x1401f8523
inc r14d
mov eax, dword [rbx + 0x90]
lea ecx, [rax + rax*2]
mov eax, dword [rdx + 0x3c]
shl ecx, 3
lea rdx, [rsp + 0xb8]
sub eax, ecx
movsxd rbp, ecx
add rbp, qword [rbx + 0x88]
mov rcx, rbx
movsxd r13, eax
and r13, 0xfffffffffffffff8
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x48], r13
call fcn.1401b62e0
xor r9d, r9d
cmp byte [rdi + 0x20], r9b
je 0x1401f8572
lea eax, [r9 + 0x40]
cmp byte [rdi + 0x21], r9b
jne 0x1401f8575
mov eax, r9d
mov ecx, dword [rbx + 0xc8]
and ecx, 0xffffffbf
or ecx, eax
mov dword [rbx + 0xc8], ecx
movzx eax, byte [rdi + 0x113]
test al, al
je 0x1401f86dc
movzx eax, al
mov edx, 0xa
cmp r14d, edx
mov esi, 8
cmovl r14d, edx
shl eax, 2
xor eax, ecx
mov dword [rsp + 0x20], r14d
and eax, 0xc
mov edx, 4
xor eax, ecx
mov rcx, rbx
mov dword [rbx + 0xc8], eax
movzx edi, byte [rdi + 0x113]
cmp dil, 2
cmovne edx, esi
call fcn.1401fb040
cmp dil, 2
mov eax, esi
mov r9d, 0
mov ecx, recv
cmovne ecx, esi
cmovne eax, r9d
mov qword [rsp + 0x30], rcx
cmp rax, rcx
jae 0x1401f86dc
mov r12d, eax
lea r13d, [rsi - 7]
mov r15d, eax
mov edx, 0xa02
lea rax, str.addr
mov r14d, 0x2400
nop dword [rax + rax]
mov rbp, qword [rax + r15*8]
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x1401f86b5
mov rax, r15
sub rax, r12
imul rsi, rax, 0x38
add rsi, qword [rbx + 0x98]
test rbp, rbp
jne 0x1401f866c
test word [rsi + 8], r14w
je 0x1401f8665
mov rcx, rsi
call fcn.14020a910
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov edx, 0xa02
jmp 0x1401f86b5
mov word [rsi + 8], r13w
jmp 0x1401f86b5
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rdi + rbp], 0
jne 0x1401f8673
btr edi, 0x1f
test word [rsi + 8], r14w
jne 0x1401f868d
cmp dword [rsi + 0x20], 0
je 0x1401f86a2
mov rcx, rsi
call fcn.14020a840
mov rcx, qword [rsp + 0x30]
xor r9d, r9d
mov edx, 0xa02
mov qword [rsi + 0x10], rbp
mov qword [rsi + 0x30], r9
mov dword [rsi + 0xc], edi
mov word [rsi + 8], dx
mov byte [rsi + 0xa], r13b
inc r15
lea rax, str.addr
cmp r15, rcx
jl 0x1401f8620
mov r14d, dword [rsp + 0x20]
mov r12d, dword [rsp + 0x24]
mov r13, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x38]
and dword [rbx + 0xc8], 0xfffffffc
mov rcx, r9
movsxd rax, r14d
imul r15, rax, 0x38
cmp r15, r13
jg 0x1401f86fb
mov rcx, r13
sub rcx, r15
add rcx, rbp
mov rdx, r13
movsxd rax, r12d
sub rdx, r15
mov qword [rbx + 0x68], rcx
cmp r15, r13
mov rdi, r9
mov rcx, r9
cmovg rdx, r13
cmovg rdi, r15
imul r13, rax, 0x38
cmp r13, rdx
jg 0x1401f872d
mov rcx, rdx
sub rcx, r13
add rcx, rbp
jmp 0x1401f8730
add rdi, r13
movsxd rsi, dword [rsp + 0xb8]
mov rax, rdx
sub rax, r13
mov qword [rbx + 0x80], rcx
cmp r13, rdx
mov rcx, r9
cmovg rax, rdx
shl rsi, 3
cmp rsi, rax
jg 0x1401f8763
mov rcx, rbp
sub rcx, rsi
add rcx, rax
jmp 0x1401f8766
add rdi, rsi
movsxd r8, dword [rsp + 0xb0]
mov rdx, rax
sub rdx, rsi
mov qword [rbx + 0x70], rcx
cmp rsi, rax
mov rbp, r8
cmovg rdx, rax
shl rbp, 3
mov rax, r9
cmp rbp, rdx
jg 0x1401f879b
mov rax, qword [rsp + 0x38]
sub rax, rbp
add rax, rdx
jmp 0x1401f879e
add rdi, rbp
mov qword [rbx + 0x78], rax
test rdi, rdi
je 0x1401f8844
mov rcx, qword [rsp + 0x28]
mov rdx, rdi
call fcn.1401c5f00
mov qword [rbx + 0xf8], rax
mov rcx, rax
mov rax, qword [rsp + 0x28]
cmp byte [rax + 0x61], 0
jne 0x1401f8839
mov rax, qword [rbx + 0x68]
test rax, rax
jne 0x1401f87e2
cmp r15, rdi
jg 0x1401f87e2
sub rdi, r15
lea rax, [rcx + rdi]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x80]
test rax, rax
jne 0x1401f87fe
cmp r13, rdi
jg 0x1401f87fe
sub rdi, r13
lea rax, [rcx + rdi]
mov qword [rbx + 0x80], rax
mov rax, qword [rbx + 0x70]
test rax, rax
jne 0x1401f881a
cmp rsi, rdi
jg 0x1401f881a
sub rdi, rsi
lea rax, [rcx + rdi]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x78]
test rax, rax
jne 0x1401f8835
cmp rbp, rdi
jg 0x1401f8835
mov rax, rcx
sub rax, rbp
add rax, rdi
mov qword [rbx + 0x78], rax
mov r8d, dword [rsp + 0xb0]
xor r9d, r9d
mov rcx, qword [rsp + 0xa8]
mov edi, 1
mov rax, qword [rcx + 0x128]
mov qword [rbx + 0xb0], rax
mov qword [rcx + 0x128], r9
mov rcx, qword [rsp + 0x28]
cmp byte [rcx + 0x61], 0
je 0x1401f8880
mov word [rbx + 0x20], r9w
mov qword [rbx + 0x28], 0
jmp 0x1401f88f8
movzx eax, word [rsp + 0xa0]
mov word [rbx + 0x20], ax
mov rax, qword [rbx + 0x80]
mov dword [rbx + 0x2c], r8d
test r12d, r12d
jle 0x1401f88b7
add rax, 8
dec r12d
mov qword [rax + 0x20], rcx
mov word [rax], di
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test r12d, r12d
jg 0x1401f88a0
mov rax, qword [rbx + 0x68]
mov dword [rbx + 0x28], r14d
test r14d, r14d
jle 0x1401f88e7
add rax, 8
mov edx, 0x80
nop dword [rax]
dec r14d
mov qword [rax + 0x20], rcx
mov word [rax], dx
mov dword [rax + 0x18], r9d
lea rax, [rax + 0x38]
test r14d, r14d
jg 0x1401f88d0
mov rcx, qword [rbx + 0x78]
mov r8, rbp
xor edx, edx
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
mov dword [rbx + 0x24], 0x2df20da3
mov dword [rbx + 0x34], 0xffffffff
mov qword [rbx + 0x38], 0
mov word [rbx + 0xc2], 0xff02
mov dword [rbx + 0x30], edi
mov dword [rbx + 0x40], r9d
mov qword [rbx + 0x50], r9
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret