Function at 0x1401b27f0
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
sub rsp, 0x30
xor esi, esi
mov r13, rdx
mov rbx, rcx
test rdx, rdx
je 0x1401b28cc
mov edi, dword [rdx + 0x18]
mov ecx, 0x200
call fcn.1401e68f0
mov r14, rax
test rax, rax
je 0x1401b28b8
lea rcx, [rax + 4]
xor edx, edx
mov r8d, 0x1fc
call fcn.14029f290
mov dword [r14], edi
lea rdi, [rbx + 0x60]
mov eax, dword [r13 + 0x18]
mov rcx, qword [rdi]
mov r12, rcx
mov dword [rbx + 0x20], eax
movzx eax, byte [rbx + 0x10]
mov byte [rbx + 0x17], al
mov qword [rsp + 0x80], rcx
cmp qword [rbx + 0x128], rsi
jne 0x1401b29a0
mov rax, qword [r13 + 8]
mov rbp, rcx
test rax, rax
cmovne rbp, rax
mov rax, qword [r13]
mov qword [rdi], rax
cmp qword [rdi], rbp
jge 0x1401b28af
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.1401b3d10
mov esi, eax
test eax, eax
je 0x1401b2883
jmp 0x1401b2a63
lea rdi, [rbx + 0x60]
jmp 0x1401b29a3
mov eax, 7
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rcx + 0x24]
xor r14d, r14d
mov dword [rcx + 0x20], eax
movzx eax, byte [rcx + 0x10]
mov byte [rcx + 0x17], al
mov rcx, qword [rcx + 0x128]
test rcx, rcx
je 0x1401b298d
mov eax, dword [rbx + 0x24]
lea rdx, [0x1401b2cd0]
mov r8, rbx
mov dword [rbx + 0x20], eax
call fcn.140210010
mov rcx, qword [rbx + 0x120]
mov esi, eax
call fcn.1401ea830
test rax, rax
je 0x1401b2b56
test esi, esi
jne 0x1401b2b56
mov edx, dword [rax + 0x30]
mov rcx, rbx
mov rbp, qword [rax + 0x20]
call fcn.1401e8560
mov rdi, rax
test rax, rax
je 0x1401b2964
cmp qword [rax + 0x38], 1
mov rcx, rax
jne 0x1401b2948
call fcn.1401eaa00
jmp 0x1401b2964
call fcn.1401b83c0
mov esi, eax
test eax, eax
jne 0x1401b295c
mov rcx, rdi
call qword [rbx + 0x108]
mov rcx, rdi
call fcn.1401e9bd0
mov rax, qword [rbx + 0x70]
test rax, rax
je 0x1401b2980
nop dword [rax]
mov dword [rax + 0x18], 1
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1401b2970
mov rax, rbp
test rbp, rbp
jne 0x1401b2918
jmp 0x1401b2b56
mov rax, qword [rbx + 0x60]
lea rdi, [rbx + 0x60]
mov qword [rsp + 0x80], rax
mov r12, rax
mov qword [rdi], rsi
mov r13, qword [rsp + 0x80]
mov qword [rsp + 0x70], r15
cmp qword [rdi], r12
jge 0x1401b2a54
lea rax, [rsp + 0x88]
mov dword [rsp + 0x80], 0
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.1401b84c0
mov r15d, dword [rsp + 0x80]
mov esi, eax
test r15d, r15d
jne 0x1401b2a20
mov eax, dword [rbx + 0xb8]
add rax, qword [rbx + 0x68]
mov rcx, qword [rdi]
cmp rax, rcx
jne 0x1401b2a20
mov rax, r13
sub rax, rcx
mov rcx, qword [rbx + 0xc8]
add rcx, 8
cqo
idiv rcx
mov r15, rax
xor ebp, ebp
test esi, esi
jne 0x1401b2a54
cmp ebp, r15d
jae 0x1401b29b0
cmp qword [rdi], r12
jge 0x1401b2a54
mov r9d, 1
mov dword [rsp + 0x20], 1
mov r8, r14
mov rdx, rdi
mov rcx, rbx
call fcn.1401b3d10
inc ebp
mov esi, eax
test eax, eax
je 0x1401b2a26
mov r13, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
test r13, r13
je 0x1401b2ac8
mov rcx, qword [rbx + 0xc8]
mov eax, dword [r13 + 0x1c]
add rcx, 4
imul rcx, rax
mov qword [rsp + 0x78], rcx
mov rcx, qword [rbx + 0x128]
test rcx, rcx
je 0x1401b2a92
lea rdx, [r13 + 0x24]
call fcn.14020ffc0
mov esi, eax
mov edi, dword [r13 + 0x1c]
test esi, esi
jne 0x1401b2ac8
nop word [rax + rax]
cmp edi, dword [rbx + 0x3c]
jae 0x1401b2ac8
xor r9d, r9d
mov dword [rsp + 0x20], 1
mov r8, r14
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.1401b3d10
inc edi
mov esi, eax
test eax, eax
je 0x1401b2aa0
test r14, r14
je 0x1401b2b4e
cmp dword [r14 + 8], 0
je 0x1401b2af3
lea rdi, [r14 + 0x10]
mov ebp, 0x3e
mov rcx, qword [rdi]
call fcn.1401c60a0
lea rdi, [rdi + 8]
sub rbp, 1
jne 0x1401b2ae1
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x1401b2b45
mov rcx, qword [0x14035b170]
test rcx, rcx
je 0x1401b2b0e
call qword [0x14033f3a0]
mov rcx, r14
call qword [0x14033f358]
dec qword [0x14035b0f8]
mov rcx, r14
movsxd rdx, eax
sub qword [0x14035b0b0], rdx
call qword [0x14033f348]
mov rcx, qword [0x14035b170]
test rcx, rcx
je 0x1401b2b4e
call qword [0x14033f3b0]
jmp 0x1401b2b4e
mov rcx, r14
call qword [0x14033f348]
test esi, esi
jne 0x1401b2b56
mov qword [rbx + 0x60], r12
mov eax, esi
add rsp, 0x30
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret