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

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov ecx, dword [rsp + 0x80]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x80], 0
jbe 0x1800c35d4
mov rdx, qword [rsp + 0x70]
mov rdx, qword [rdx + 8]
mov eax, dword [rsp + 0x80]
movzx ecx, al
mov eax, dword [rdx + 0x560]
shr eax, cl
mov dword [rsp + 0x44], eax
jmp 0x1800c35ed
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov ecx, dword [rsp + 0x78]
mov eax, dword [rax + 0x560]
sub eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x98], 0
je 0x1800c360b
mov eax, dword [0x1800daf84]
mov dword [rsp + 0x48], eax
jmp 0x1800c3615
mov eax, dword [reloc.WS2_32.dll_connect]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x98], 0
je 0x1800c3633
mov eax, dword [0x1800daf90]
mov dword [rsp + 0x4c], eax
jmp 0x1800c363d
mov eax, dword [0x1800daf8c]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x80], 0
jne 0x1800c368a
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov eax, dword [rsp + 0x78]
cmp dword [rcx + 0x560], eax
jae 0x1800c3688
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1800c1160
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov dword [rax], 2
mov eax, 1
jmp 0x1800c38ec
jmp 0x1800c36b8
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x38], eax
jae 0x1800c36b8
xor edx, edx
mov rcx, qword [rsp + 0x70]
call fcn.1800c1160
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov dword [rax], 2
mov eax, 1
jmp 0x1800c38ec
cmp dword [rsp + 0x80], 6
jae 0x1800c36cc
mov dword [rsp + 0x50], 6
jmp 0x1800c36d7
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
call fcn.1800bee20
test eax, eax
jne 0x1800c3701
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
mov dword [rax], 8
xor eax, eax
jmp 0x1800c38ec
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
jmp 0x1800c371e
mov eax, dword [rsp + 0x24]
add eax, 1
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x24], eax
jae 0x1800c38e7
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov r8d, dword [rsp + 0x28]
lea rdx, [rsp + 0x3c]
mov rcx, qword [rcx + 0x80]
call fcn.1800c01a0
test eax, eax
jne 0x1800c3756
xor eax, eax
jmp 0x1800c38ec
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
mov eax, dword [rsp + 0x3c]
mov dword [rcx + rdx*4], eax
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x3c], eax
jae 0x1800c3816
mov ecx, dword [rsp + 0x24]
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov dword [rax + rcx*4], 0
cmp dword [rsp + 0x80], 0
je 0x1800c37b2
cmp dword [rsp + 0x24], 0
ja 0x1800c37b2
mov ecx, dword [rsp + 0x78]
mov eax, dword [rsp + 0x38]
sub eax, ecx
mov dword [rsp + 0x54], eax
jmp 0x1800c37ba
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x34], eax
mov ecx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x90]
lea rdx, [rax + rcx*4]
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov rax, qword [rsp + 0x70]
mov rax, qword [rax + 8]
mov r9d, dword [rsp + 0x3c]
mov r8d, dword [rsp + 0x34]
mov rcx, qword [rcx + 0x80]
call qword [rax + 0x68]
test eax, eax
jne 0x1800c3803
xor eax, eax
jmp 0x1800c38ec
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x20]
add eax, ecx
mov dword [rsp + 0x20], eax
jmp 0x1800c38e2
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov r8d, dword [0x1800daf88]
lea rdx, [rsp + 0x3c]
mov rcx, qword [rcx + 0x80]
call fcn.1800c01a0
test eax, eax
jne 0x1800c3842
xor eax, eax
jmp 0x1800c38ec
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx + 8]
mov eax, dword [rsp + 0x3c]
mov dword [rcx + rdx*4], eax
cmp dword [rsp + 0x80], 0
je 0x1800c3874
cmp dword [rsp + 0x24], 0
ja 0x1800c3874
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x58], eax
jmp 0x1800c387c
mov dword [rsp + 0x58], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x34], eax
jmp 0x1800c389c
mov eax, dword [rsp + 0x34]
add eax, 1
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x34], eax
jae 0x1800c38e2
mov rcx, qword [rsp + 0x70]
mov rcx, qword [rcx + 8]
mov r8d, dword [rsp + 0x3c]
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx + 0x80]
call fcn.1800c0f10
test eax, eax
jne 0x1800c38cd
xor eax, eax
jmp 0x1800c38ec
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rsp + 0x30]
mov dword [rcx + rdx*4], eax
jmp 0x1800c3886
jmp 0x1800c3713
mov eax, 1
add rsp, 0x68
ret