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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
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 rbx, qword [rcx + 0x10]
mov rdi, rcx
mov ebp, dword [r8 + 0x1c]
mov rcx, rbx
mov r14, r8
mov dword [rsp + 0x34], ebp
mov r13, rdx
call fcn.18013f640
mov rcx, qword [rsp + 0xc0]
xor r9d, r9d
mov edx, dword [r14 + 0x14]
mov r12d, r9d
mov r15, qword [r14]
mov dword [rsp + 0x3c], eax
movzx esi, byte [rcx]
mov eax, dword [rcx + 4]
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x30], eax
test edx, edx
je 0x1800cce0c
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [r14 + 0x10]
cmp dword [rax + 0x64], ecx
jg 0x1800ccda3
mov dword [rsp + 0x20], r9d
mov rcx, rbx
mov r9d, edx
mov edx, select
call fcn.1800cfb00
jmp 0x1800ccdcf
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], select
mov byte [rax + rcx*8 + 3], r9b
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov edx, ebp
mov rcx, rbx
call fcn.18013e860
mov rdx, qword [rbx + 0x30]
mov r8, qword [rdx + 0x88]
test r8, r8
je 0x1800ccdf9
mov eax, dword [r14 + 0x14]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rcx, qword [rsp + 0xc0]
dec eax
mov dword [rdx + 0x6c], eax
xor r9d, r9d
mov edx, dword [r14 + 0xc]
lea eax, [rsi - 9]
mov dword [rsp + 0xa0], edx
test al, 0xfb
je 0x1800cce6b
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1800cce3a
inc dword [rdi + 0x58]
mov esi, 1
mov r14d, dword [rdi + 0x58]
inc dword [rdi + 0x58]
mov ebp, dword [rdi + 0x58]
jmp 0x1800cce78
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0x28]
test al, al
jne 0x1800cce58
inc dword [rdi + 0x58]
mov esi, 1
mov ebp, dword [rdi + 0x58]
jmp 0x1800cce78
dec al
mov esi, 1
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0x28]
jmp 0x1800cce78
mov ebp, dword [rcx + 8]
mov r14d, r9d
mov esi, dword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
mov r15d, dword [r15]
mov dword [rsp + 0x40], esi
sub r15d, dword [rcx + 8]
test byte [rcx + 0x20], 1
mov dword [rsp + 0x38], r15d
je 0x1800cd04f
mov r13d, dword [rdi + 0x54]
inc dword [rdi + 0x58]
mov r15d, dword [rdi + 0x58]
lea eax, [r13 + 1]
mov dword [rdi + 0x54], eax
cmp dword [rcx + 0x14], r12d
je 0x1800ccebd
mov rcx, rdi
call fcn.1800f4040
mov r12d, eax
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rbx + 0x30]
inc r8d
movsxd rdx, dword [rbx + 0x3c]
add r8d, esi
cmp dword [rcx + 0x64], edx
jg 0x1800ccef2
mov dword [rsp + 0x20], r8d
mov r9d, r15d
mov r8d, r13d
mov edx, 0x3c
mov rcx, rbx
call fcn.1800cfb00
xor r9d, r9d
jmp 0x1800ccf22
lea rcx, [rdx + rdx*2]
xor r9d, r9d
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x3c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r9
test r12d, r12d
je 0x1800ccf63
mov rax, qword [rbx + 0x30]
mov ecx, dword [rbx + 0x3c]
dec ecx
mov dword [rax + 0x6c], ecx
mov rax, qword [rbx]
mov edx, dword [rbx + 0x3c]
cmp byte [rax + 0x55], 0
je 0x1800ccf48
lea rax, [0x1801eea88]
jmp 0x1800ccf60
lea eax, [rdx - 1]
test r12d, r12d
cmovns eax, r12d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
mov r12d, dword [rsp + 0xa0]
cmp dword [rax + 0x64], esi
jg 0x1800ccf96
mov dword [rsp + 0x20], r9d
mov r8d, r12d
mov r9d, dword [rsp + 0x34]
mov edx, 0x6a
mov rcx, rbx
call fcn.1800cfb00
mov esi, eax
jmp 0x1800ccfc8
mov r8d, dword [rsp + 0x34]
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], WSAGetLastError
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rsp + 0xa8]
mov rcx, rbx
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rax + 0x14]
call fcn.18007ed50
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800cd015
mov r9d, r15d
mov dword [rsp + 0x20], r13d
mov r8d, r12d
mov edx, 0x64
mov rcx, rbx
call fcn.1800cfb00
mov r15d, dword [rsp + 0x38]
xor r8d, r8d
mov r12d, r8d
jmp 0x1800cd0cd
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], r12d
mov r12d, r8d
mov dword [rax + rcx*8 + 8], r15d
mov r15d, dword [rsp + 0x38]
mov word [rax + rcx*8], 0x64
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x1800cd0cd
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x64], esi
jg 0x1800cd07a
mov dword [rsp + 0x20], r9d
mov r8d, edx
mov r9d, dword [rsp + 0x34]
mov edx, WSAGetLastError
mov rcx, rbx
call fcn.1800cfb00
mov esi, eax
jmp 0x1800cd0ab
mov r8d, dword [rsp + 0x34]
lea rcx, [rsi + rsi*2]
lea eax, [rsi + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], WSAGetLastError
mov byte [rax + rcx*8 + 3], r12b
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov r8d, dword [rsp + 0x3c]
mov rcx, rbx
mov edx, dword [r13 + 0x14]
call fcn.18007ed50
mov r13d, dword [rsp + 0xa0]
xor r8d, r8d
mov r12d, 1
lea eax, [rsi + 1]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x40]
test eax, eax
jle 0x1800cd150
sub r12d, ebp
mov esi, ebp
add r12d, r15d
mov r15d, eax
nop word [rax + rax]
mov rax, qword [rbx + 0x30]
lea edx, [r12 + rsi]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800cd11d
mov r9d, edx
mov dword [rsp + 0x20], esi
mov edx, 0x2f
mov r8d, r13d
mov rcx, rbx
call fcn.1800cfb00
xor r8d, r8d
jmp 0x1800cd148
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x2f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r8
inc esi
sub r15, 1
jne 0x1800cd0f0
mov edx, dword [rsp + 0x44]
mov ecx, edx
sub ecx, 0xa
je 0x1800cd42a
mov rax, qword [rbx + 0x30]
sub ecx, 1
je 0x1800cd32b
cmp ecx, 1
movsxd rcx, dword [rbx + 0x3c]
je 0x1800cd25f
mov rsi, qword [rsp + 0xc0]
cmp dl, 9
jne 0x1800cd20c
mov edx, dword [rsi + 8]
cmp dword [rax + 0x64], ecx
jg 0x1800cd1c7
mov r9d, dword [rsp + 0xb8]
mov rcx, rbx
mov dword [rsp + 0x20], r8d
mov r8d, edx
mov edx, 0x21
call fcn.1800cfb00
mov r8d, dword [rsp + 0xb8]
mov rcx, rdi
mov edx, dword [rsi + 8]
call fcn.1800fc570
jmp 0x1800cd43f
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0xb8]
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov r8d, edx
mov dword [rax + rcx*8 + 8], edx
mov word [rax + rcx*8], 0x21
mov byte [rax + rcx*8 + 3], 0
mov rcx, rdi
mov edx, dword [rsi + 8]
call fcn.1800fc570
jmp 0x1800cd43f
mov edx, dword [rsi + 4]
xor r15d, r15d
cmp dword [rax + 0x64], ecx
jg 0x1800cd233
mov r8d, edx
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 0x12]
xor r9d, r9d
mov rcx, rbx
call fcn.1800cfb00
jmp 0x1800cd442
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], reloc.WS2_32.dll_select
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
jmp 0x1800cd442
xor r15d, r15d
cmp dword [rax + 0x64], ecx
jg 0x1800cd286
mov r8d, dword [rsp + 0x30]
lea edx, [r15 + 0x4a]
mov r9d, r14d
mov dword [rsp + 0x20], r15d
mov rcx, rbx
call fcn.1800cfb00
mov edx, dword [rsp + 0x30]
jmp 0x1800cd2b6
mov edx, dword [rsp + 0x30]
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x4a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800cd2dd
mov r8d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x4b
mov r9d, ebp
mov rcx, rbx
call fcn.1800cfb00
jmp 0x1800cd308
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x1800cd442
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
mov byte [rax + rcx*8 - 0x15], 8
jmp 0x1800cd442
movsxd rdx, dword [rbx + 0x3c]
mov rsi, qword [rsp + 0xc0]
cmp dword [rax + 0x64], edx
jg 0x1800cd35d
mov r9d, 1
mov dword [rsp + 0x20], r14d
mov r8d, ebp
mov rcx, rbx
lea edx, [r9 + 0x30]
call fcn.1800cfb00
mov edx, eax
xor r15d, r15d
jmp 0x1800cd38f
lea rcx, [rdx + rdx*2]
xor r15d, r15d
lea eax, [rdx + 1]
mov dword [rbx + 0x3c], eax
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], 1
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx]
cmp byte [rax + 0x55], 0
jne 0x1800cd3c2
test edx, edx
jns 0x1800cd3a1
mov edx, dword [rbx + 0x3c]
dec edx
movsxd rax, edx
lea r8, [rsi + 1]
mov r9d, 1
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 8]
lea rdx, [rax + rcx*8]
mov rcx, rbx
call fcn.18014e490
mov r8d, 1
mov edx, ebp
mov rcx, rdi
call fcn.1800fc570
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov r8d, dword [rsp + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x1800cd3fb
mov r9d, r14d
mov dword [rsp + 0x20], r15d
mov edx, WSAGetLastError
mov rcx, rbx
call fcn.1800cfb00
jmp 0x1800cd442
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], WSAStartup
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
jmp 0x1800cd442
mov r8d, dword [rsp + 0x30]
mov r9d, 1
mov edx, ebp
mov rcx, rdi
call fcn.1800fd9e0
xor r15d, r15d
test r14d, r14d
je 0x1800cd4af
test ebp, ebp
je 0x1800cd47d
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x1800cd47d
mov ecx, r15d
lea rax, [rdi + 0x90]
nop
cmp dword [rax + 0xc], ebp
je 0x1800cd479
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800cd460
mov dword [rdi + rdx*4 + 0x28], ebp
inc byte [rdi + 0x1f]
jmp 0x1800cd47d
mov byte [rax + 6], 1
movzx edx, byte [rdi + 0x1f]
cmp dl, 8
jae 0x1800cd4af
mov ecx, r15d
lea rax, [rdi + 0x90]
cmp dword [rax + 0xc], r14d
je 0x1800cd4ab
inc ecx
add rax, 0x14
cmp ecx, 0xa
jl 0x1800cd490
mov dword [rdi + rdx*4 + 0x28], r14d
inc byte [rdi + 0x1f]
jmp 0x1800cd4af
mov byte [rax + 6], 1
mov r10, qword [rbx + 0x30]
mov rdx, qword [r10 + 0x88]
test rdx, rdx
je 0x1800cd4d1
mov eax, 0xffffffff
sub eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rbx + 0x3c]
mov rdi, qword [rsp + 0xb0]
dec eax
mov dword [r10 + 0x6c], eax
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
test byte [rdi + 0x20], 1
mov edx, dword [rax + 0x64]
je 0x1800cd52e
cmp edx, ecx
jg 0x1800cd518
mov r9d, dword [rsp + 0x38]
mov edx, 3
mov r8d, dword [rsp + 0xa0]
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.1800cfb00
jmp 0x1800cd589
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 3
jmp 0x1800cd567
cmp edx, ecx
jg 0x1800cd553
mov r9d, dword [rsp + 0x38]
mov edx, 7
mov r8d, dword [rsp + 0xa0]
mov rcx, rbx
mov dword [rsp + 0x20], r15d
call fcn.1800cfb00
jmp 0x1800cd589
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], 7
mov edx, dword [rsp + 0xa0]
mov dword [rax + rcx*8 + 4], edx
mov edx, dword [rsp + 0x38]
mov qword [rax + rcx*8 + 0x10], r15
mov dword [rax + rcx*8 + 0xc], r15d
mov dword [rax + rcx*8 + 8], edx
mov byte [rax + rcx*8 + 3], 0
mov edx, dword [rdi + 0x10]
test edx, edx
je 0x1800cd5e1
mov rax, qword [rbx + 0x30]
movsxd rcx, dword [rbx + 0x3c]
cmp dword [rax + 0x64], ecx
jg 0x1800cd5b6
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
lea edx, [r9 + 0xf]
call fcn.1800cfb00
jmp 0x1800cd5e1
lea eax, [rcx + 1]
mov dword [rbx + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 8]
mov word [rax + rcx*8], select
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r15
mov rdx, qword [rbx + 0x30]
mov r8, qword [rdx + 0x88]
test r8, r8
je 0x1800cd601
mov eax, dword [rsp + 0x34]
not eax
movsxd rcx, eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + rcx*4], eax
mov eax, dword [rbx + 0x3c]
dec eax
mov dword [rdx + 0x6c], eax
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret