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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x210
mov rax, qword [0x14011c7e0]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov r8d, 0x110
mov edx, reloc.WS2_32.dll_ntohs
mov rcx, qword [rsp + 0x220]
call fcn.14001e700
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x228]
call fcn.14003cadc
mov byte [rsp + 0x3d], al
mov rax, qword [rsp + 0x58]
add rax, 0x10
mov rdi, rax
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov edx, 8
lea rcx, [rsp + 0x150]
call fcn.140002e64
lea rcx, [rsp + 0x150]
call fcn.14000e4f4
mov edx, 8
lea rcx, [rsp + 0x160]
call fcn.140002e64
lea rcx, [rsp + 0x160]
call fcn.14000e4f4
mov edx, 8
lea rcx, [rsp + 0x148]
call fcn.140002e64
lea rcx, [rsp + 0x148]
call fcn.14000e450
mov edx, 8
lea rcx, [rsp + 0x158]
call fcn.140002e64
lea rcx, [rsp + 0x158]
call fcn.14000e450
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x228]
call fcn.14003caa8
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x228]
call fcn.14003ca74
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x148]
call fcn.140021b94
movzx eax, al
test eax, eax
jne 0x1400387ba
mov dword [rsp + 0x40], 0
jmp 0x140038704
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x100
jae 0x1400387a8
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x220]
mov al, byte [rax + 0x18]
mov byte [rsp + 0x3e], al
lea rcx, [rsp + 0x148]
call fcn.14003c8a0
mov al, byte [rax]
mov byte [rsp + 0x29], al
mov r8b, byte [rsp + 0x3e]
mov dl, byte [rsp + 0x29]
mov rcx, qword [rsp + 0x70]
call fcn.140029d00
movsx eax, al
mov dword [rsp + 0x60], eax
mov rcx, qword [rsp + 0x220]
mov r8b, byte [rcx + 0x18]
mov dl, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x78]
call fcn.140029d00
movsx eax, al
mov ecx, dword [rsp + 0x60]
cmp eax, ecx
jne 0x1400387a3
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax + 0x10], 1
jmp 0x1400386fa
lea rcx, [rsp + 0x148]
call fcn.14003c880
jmp 0x1400386d0
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x228]
call fcn.14003ca3c
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x228]
call fcn.14003ca04
mov rax, qword [rax]
mov qword [rsp + 0x160], rax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x150]
call fcn.14000e4a8
movzx eax, al
test eax, eax
jne 0x140038bca
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x220]
mov al, byte [rax + 0x18]
mov byte [rsp + 0x2a], al
lea rcx, [rsp + 0x150]
call fcn.140004040
mov al, byte [rax]
mov byte [rsp + 0x2b], al
mov r8b, byte [rsp + 0x2a]
mov dl, byte [rsp + 0x2b]
mov rcx, qword [rsp + 0x68]
call fcn.140029d00
mov byte [rsp + 0x20], al
lea rcx, [rsp + 0x150]
call fcn.14003c860
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x220]
mov al, byte [rax + 0x18]
mov byte [rsp + 0x2c], al
lea rcx, [rsp + 0x150]
call fcn.140004040
mov al, byte [rax]
mov byte [rsp + 0x2d], al
mov r8b, byte [rsp + 0x2c]
mov dl, byte [rsp + 0x2d]
mov rcx, qword [rsp + 0x80]
call fcn.140029d00
mov byte [rsp + 0x21], al
lea rcx, [rsp + 0x150]
call fcn.14003c860
mov rcx, qword [rsp + 0x220]
call fcn.14001c1ec
and eax, 0x200000
test eax, eax
je 0x140038b6e
mov al, byte [rsp + 0x20]
mov byte [rsp + 0x140], al
mov byte [rsp + 0x141], 0
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x141]
mov r9, rax
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x88]
call fcn.140036460
nop
mov eax, 1
imul rax, rax, 0
mov cl, byte [rsp + 0x21]
mov byte [rsp + rax + 0x140], cl
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x141]
mov r9, rax
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x188]
mov rcx, qword [rsp + 0x90]
call fcn.140036460
nop
lea rax, [rsp + 0x2e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov al, byte [rsp + 0x2e]
mov byte [rsp + 0x2f], al
mov al, byte [rsp + 0x2f]
mov byte [rsp + 0x31], al
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1a8]
call fcn.140028b24
mov byte [rsp + 0x30], al
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x32], al
mov dl, byte [rsp + 0x31]
mov cl, byte [rsp + 0x32]
call fcn.140004374
movzx eax, al
test eax, eax
je 0x140038a13
mov qword [rsp + 0x98], 0
lea rcx, [rsp + 0x188]
call fcn.1400030d0
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400030d0
mov rax, qword [rsp + 0x98]
jmp 0x140038ff4
mov dword [rsp + 0x44], 0
jmp 0x140038a27
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x100
jae 0x140038b51
mov eax, 1
imul rax, rax, 0
mov cl, byte [rsp + 0x44]
mov byte [rsp + rax + 0x140], cl
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x141]
mov r9, rax
lea r8, [rsp + 0x140]
lea rdx, [rsp + 0x1c8]
mov rcx, qword [rsp + 0xa0]
call fcn.140036460
lea rax, [rsp + 0x33]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov al, byte [rsp + 0x33]
mov byte [rsp + 0x34], al
mov al, byte [rsp + 0x34]
mov byte [rsp + 0x36], al
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0x1a8]
call fcn.140028b24
mov byte [rsp + 0x35], al
mov al, byte [rsp + 0x35]
mov byte [rsp + 0x37], al
mov dl, byte [rsp + 0x36]
mov cl, byte [rsp + 0x37]
call fcn.1400043a4
movzx eax, al
test eax, eax
je 0x140038b3f
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov al, byte [rsp + 0x38]
mov byte [rsp + 0x39], al
mov al, byte [rsp + 0x39]
mov byte [rsp + 0x3b], al
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x1c8]
call fcn.140028b24
mov byte [rsp + 0x3a], al
mov al, byte [rsp + 0x3a]
mov byte [rsp + 0x3c], al
mov dl, byte [rsp + 0x3b]
mov cl, byte [rsp + 0x3c]
call fcn.1400043a4
movzx eax, al
test eax, eax
je 0x140038b3f
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax + 0x10], 1
lea rcx, [rsp + 0x1c8]
call fcn.1400030d0
jmp 0x140038a1d
lea rcx, [rsp + 0x188]
call fcn.1400030d0
nop
lea rcx, [rsp + 0x1a8]
call fcn.1400030d0
jmp 0x140038bc5
mov dl, byte [rsp + 0x20]
mov cl, byte [rsp + 0x21]
call fcn.140007734
movzx eax, al
test eax, eax
je 0x140038b89
xor eax, eax
jmp 0x140038ff4
movzx eax, byte [rsp + 0x21]
movzx ecx, byte [rsp + 0x20]
sub eax, ecx
movzx eax, al
inc eax
cdqe
mov qword [rsp + 0xa8], rax
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x58]
lea rcx, [rdx + rcx + 0x10]
mov rdi, rcx
mov eax, 1
mov rcx, qword [rsp + 0xa8]
rep stosb byte [rdi], al
jmp 0x1400387fa
mov rcx, qword [rsp + 0x228]
call fcn.14002a2c8
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x220]
call fcn.14001c1ec
and eax, 0x100000
test eax, eax
je 0x140038c48
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x58]
mov ecx, dword [rsp + 0x24]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x220]
cmp eax, dword [rcx + 0x58]
je 0x140038c31
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x5c]
mov ecx, dword [rsp + 0x24]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x220]
cmp eax, dword [rcx + 0x5c]
jne 0x140038c48
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x60]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140038cae
mov dword [rsp + 0x48], 0
jmp 0x140038c63
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x100
jae 0x140038cae
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb0], rax
mov r8d, dword [rsp + 0x24]
mov dl, byte [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
call fcn.1400212a8
movzx eax, al
test eax, eax
je 0x140038cac
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax + 0x10], 1
jmp 0x140038c59
mov rcx, qword [rsp + 0x228]
call fcn.14003c984
mov dword [rsp + 0x24], eax
mov rcx, qword [rsp + 0x220]
call fcn.14001c1ec
and eax, 0x100000
test eax, eax
je 0x140038d2c
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x58]
mov ecx, dword [rsp + 0x24]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x220]
cmp eax, dword [rcx + 0x58]
je 0x140038d15
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x5c]
mov ecx, dword [rsp + 0x24]
and ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x220]
cmp eax, dword [rcx + 0x5c]
jne 0x140038d2c
mov rax, qword [rsp + 0x220]
mov eax, dword [rax + 0x60]
mov ecx, dword [rsp + 0x24]
or ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140038d92
mov dword [rsp + 0x4c], 0
jmp 0x140038d47
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x100
jae 0x140038d92
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0xb8], rax
mov r8d, dword [rsp + 0x24]
mov dl, byte [rsp + 0x4c]
mov rcx, qword [rsp + 0xb8]
call fcn.1400212a8
movzx eax, al
test eax, eax
jne 0x140038d90
mov eax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax + 0x10], 1
jmp 0x140038d3d
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x228]
call fcn.14003c9cc
mov rax, qword [rax]
mov qword [rsp + 0x148], rax
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x228]
call fcn.14003c994
mov rax, qword [rax]
mov qword [rsp + 0x158], rax
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x148]
call fcn.140021b94
movzx eax, al
test eax, eax
jne 0x140038f97
lea rcx, [rsp + 0x168]
call fcn.140003170
nop
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0xd0], rax
lea rcx, [rsp + 0x148]
call fcn.14003c8a0
inc rax
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x148]
call fcn.14003c8a0
mov qword [rsp + 0xc8], rax
mov r9, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xc8]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0xd0]
call fcn.140036400
mov qword [rsp + 0xd8], rax
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x168]
call fcn.140010128
lea rcx, [rsp + 0x120]
call fcn.1400030d0
lea rcx, [rsp + 0x168]
call fcn.14000fa54
movzx eax, al
test eax, eax
je 0x140038eca
mov qword [rsp + 0xe0], 0
lea rcx, [rsp + 0x168]
call fcn.1400030d0
mov rax, qword [rsp + 0xe0]
jmp 0x140038ff4
mov dword [rsp + 0x50], 0
jmp 0x140038ede
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x100
jae 0x140038f77
mov al, byte [rsp + 0x50]
mov byte [rsp + 0x144], al
mov byte [rsp + 0x145], 0
mov rax, qword [rsp + 0x220]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x145]
mov r9, rax
lea r8, [rsp + 0x144]
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0xe8]
call fcn.140036400
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x168]
call fcn.14003da68
movzx eax, al
test eax, eax
je 0x140038f65
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov byte [rcx + rax + 0x10], 1
lea rcx, [rsp + 0x1e8]
call fcn.1400030d0
jmp 0x140038ed4
lea rcx, [rsp + 0x148]
call fcn.14003c880
nop
lea rcx, [rsp + 0x168]
call fcn.1400030d0
jmp 0x140038dd2
movzx eax, byte [rsp + 0x3d]
test eax, eax
je 0x140038fef
mov dword [rsp + 0x54], 0
jmp 0x140038fb4
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x100
jae 0x140038fef
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx + rax + 0x10]
test eax, eax
jne 0x140038fd7
mov byte [rsp + 0x28], 1
jmp 0x140038fdc
mov byte [rsp + 0x28], 0
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
mov dl, byte [rsp + 0x28]
mov byte [rcx + rax + 0x10], dl
jmp 0x140038faa
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.1400b4690
add rsp, 0x210
pop rdi
ret