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

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x38
mov rbx, qword [rcx + 0xa8]
mov rsi, rcx
mov r15, qword [rcx]
mov rdi, qword [rcx + 0x10]
test rbx, rbx
je 0x14014dbda
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], r12
xor r12d, r12d
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x30], r14
lea r13d, [r12 + 0x10]
movsxd r8, dword [rbx + 0x10]
xor edx, edx
mov rax, qword [r15 + 0x20]
mov r9, r8
mov ebp, dword [rbx + 0x14]
mov rcx, rsi
shl r9, 5
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.14014e4c0
mov r8, qword [rbx + 8]
lea r14d, [rbp - 1]
mov edx, r14d
mov rcx, rdi
mov r8, qword [r8]
call fcn.14019a8a0
mov eax, dword [rdi + 0x90]
add eax, 0xc
cmp eax, dword [rdi + 0x94]
jle 0x14014d9c4
mov rcx, rdi
call fcn.14019ad30
test eax, eax
jne 0x14014dbc6
movsxd rax, dword [rdi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0x4b
mov qword [rax + rcx*8 + 8], r12
mov qword [rax + rcx*8 + 0x10], r12
lea rdx, [rax + rcx*8]
mov byte [rdx + 0x18], 0x24
lea ecx, [rbp + 2]
mov dword [rdx + 0x1c], r12d
mov dword [rdx + 0x20], 0xa
mov eax, dword [rdi + 0x90]
add eax, 0xa
mov dword [rdx + 0x20], eax
mov dword [rdx + 0x24], r12d
mov byte [rdx + 0x19], r12b
mov qword [rdx + 0x28], r12
mov word [rdx + 0x1a], r12w
mov qword [rdx + 0x30], 0x5e
mov qword [rdx + 0x38], r12
mov qword [rdx + 0x40], r12
mov byte [rdx + 0x48], 0x34
mov dword [rdx + 0x4c], r12d
mov dword [rdx + 0x50], 9
mov eax, dword [rdi + 0x90]
add eax, 9
mov dword [rdx + 0x50], eax
mov dword [rdx + 0x54], r12d
mov byte [rdx + 0x49], r12b
mov qword [rdx + 0x58], r12
mov word [rdx + 0x4a], r12w
mov qword [rdx + 0x60], 0x87
mov qword [rdx + 0x68], r12
mov qword [rdx + 0x70], r12
mov qword [rdx + 0x78], 0x5e
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], r12
mov qword [rdx + 0x90], 0x56
mov qword [rdx + 0x98], r12
mov qword [rdx + 0xa0], r12
mov qword [rdx + 0xa8], 0x50
mov qword [rdx + 0xb0], r12
mov qword [rdx + 0xb8], r12
mov byte [rdx + 0xc0], 9
mov dword [rdx + 0xc4], r12d
mov dword [rdx + 0xc8], select
mov eax, dword [rdi + 0x90]
add eax, 0xb
mov dword [rdx + 0xc8], eax
mov dword [rdx + 0xcc], r12d
mov byte [rdx + 0xc1], r12b
mov qword [rdx + 0xd0], r12
mov word [rdx + 0xc2], r12w
mov byte [rdx + 0xd8], 0x27
mov dword [rdx + 0xdc], r12d
mov dword [rdx + 0xe0], 2
mov eax, dword [rdi + 0x90]
add eax, 2
mov dword [rdx + 0xe0], eax
lea eax, [rbp + 1]
mov dword [rdx + 0xe4], r12d
mov byte [rdx + 0xd9], r12b
mov qword [rdx + 0xe8], r12
mov word [rdx + 0xda], r12w
mov qword [rdx + 0xf0], 0x47
mov qword [rdx + 0xf8], r12
mov qword [rdx + 0x100], r12
mov qword [rdx + 0x108], 0x7a
mov qword [rdx + 0x110], r12
mov qword [rdx + 0x118], r12
add dword [rdi + 0x90], 0xc
mov dword [rdx + 8], ebp
mov dword [rdx + 0xc], ecx
mov dword [rdx + 0x3c], ebp
mov dword [rdx + 0x4c], r14d
mov dword [rdx + 0x54], ebp
mov word [rdx + 0x4a], r13w
mov dword [rdx + 0x68], eax
mov dword [rdx + 0x84], ebp
mov dword [rdx + 0x94], ebp
mov dword [rdx + 0xb0], ecx
mov dword [rdx + 0xac], ebp
mov dword [rdx + 0xf8], ebp
cmp dword [rsi + 0x34], r12d
jne 0x14014dbba
mov dword [rsi + 0x34], 1
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14014d960
mov r13, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop rdi
pop rsi
pop rbx
ret