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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
mov eax, 0x58
call fcn.14037c5f0
sub rsp, rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0xb0], 0
je 0x14020de72
mov rax, qword [rsp + 0xb0]
movsx eax, byte [rax]
test eax, eax
je 0x14020de72
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x14020df71
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x40]
call fcn.1401cdd70
mov dword [rsp + 0x30], eax
cmp qword [rsp + 0xb0], 0
je 0x14020df71
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x38]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xb0]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0xb0]
mov byte [rax], 1
mov eax, dword [rsp + 0x30]
and eax, 0x81
test eax, eax
jne 0x14020df71
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0x14]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
cmp eax, dword [rsp + 0x90]
jle 0x14020df71
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x9b
mov edx, 0x68
mov ecx, reloc.WS2_32.dll_listen
call fcn.1401ba140
cmp qword [rsp + 0xb0], 0
je 0x14020df6a
mov rax, qword [rsp + 0xb0]
mov byte [rax], 0
xor eax, eax
jmp 0x14020e0f7
mov eax, dword [rsp + 0x30]
and eax, 0x80
test eax, eax
je 0x14020dfbb
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0x66
mov edx, 0x68
mov ecx, reloc.WS2_32.dll_listen
call fcn.1401ba140
cmp qword [rsp + 0xb0], 0
je 0x14020dfb4
mov rax, qword [rsp + 0xb0]
mov byte [rax], 0
xor eax, eax
jmp 0x14020e0f7
cmp dword [rsp + 0x98], 0
jl 0x14020e04c
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x98], eax
jne 0x14020dfe3
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xa0], eax
je 0x14020e036
movsx eax, byte [rsp + 0xa8]
test eax, eax
je 0x14020dff9
mov eax, 0xffffffff
jmp 0x14020e0f7
cmp qword [rsp + 0xb0], 0
je 0x14020e00f
mov rax, qword [rsp + 0xb0]
mov byte [rax], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, 0xa8
mov edx, 0x68
mov ecx, reloc.WS2_32.dll_listen
call fcn.1401ba140
xor eax, eax
jmp 0x14020e0f7
cmp qword [rsp + 0xb0], 0
je 0x14020e04c
mov rax, qword [rsp + 0xb0]
mov byte [rax], 0
mov eax, dword [rsp + 0x30]
and eax, 1
test eax, eax
je 0x14020e076
movsxd rax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rcx, rdx
sub rax, rcx
mov dword [rsp + 0x34], eax
cmp qword [rsp + 0x78], 0
je 0x14020e08c
mov eax, dword [rsp + 0x30]
and eax, 1
mov rcx, qword [rsp + 0x78]
mov byte [rcx], al
cmp qword [rsp + 0x80], 0
je 0x14020e0a8
mov eax, dword [rsp + 0x30]
and eax, 0x20
mov rcx, qword [rsp + 0x80]
mov byte [rcx], al
cmp qword [rsp + 0x60], 0
je 0x14020e0bb
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x34]
mov dword [rax], ecx
cmp qword [rsp + 0x70], 0
je 0x14020e0cf
mov rax, qword [rsp + 0x70]
movzx ecx, byte [rsp + 0x38]
mov byte [rax], cl
cmp qword [rsp + 0x68], 0
je 0x14020e0e2
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0x3c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x40]
mov qword [rax], rcx
mov eax, 1
add rsp, 0x58
ret