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

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx]
mov rsi, rcx
mov r13, qword [rcx + 8]
mov ebp, r8d
xor ecx, ecx
mov r15d, edx
mov dword [rsp + 0x80], ecx
mov r12d, dword [rdi + 0x44]
movzx eax, byte [r13 + 0x20]
dec r12d
mov rbx, qword [rsi + 0x10]
mov byte [rsp + 0x88], al
mov dword [rdi + 0x44], r12d
mov dword [rsp + 0x34], ecx
cmp edx, 2
jne 0x1401cc9f4
cmp byte [r13 + 0x21], 0x5a
jne 0x1401cc9f4
xor eax, eax
jmp 0x1401ccea5
mov r9d, 0x39
test ebp, ebp
jle 0x1401cca7d
cmp byte [r13 + 0x20], 0x59
jne 0x1401cca65
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x34], eax
cmp r15d, 2
jne 0x1401cca43
cmp byte [r13 + 0x21], 0x56
jne 0x1401cca22
mov r8d, dword [rsi + 0x34]
jmp 0x1401cca26
mov r8d, dword [rsi + 0x2c]
mov edx, 0x37
mov eax, 0x2c
cmovne edx, r9d
mov r9d, reloc.WS2_32.dll_gethostbyname
cmovne eax, r9d
mov ecx, dword [rax + rsi]
jmp 0x1401cca4f
mov r8d, dword [rsi + 0x3c]
mov edx, 0x36
mov ecx, dword [rsi + 0x34]
mov dword [rsp + 0x28], r12d
mov r9d, ebp
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1401ccec0
jmp 0x1401cca7d
mov r9d, r12d
mov dword [rsp + 0x20], 1
mov edx, 0x3b
mov rcx, rbx
call fcn.1401964e0
cmp r15d, 1
jne 0x1401cca97
cmp dword [r13 + 0x84], 0
jne 0x1401cca97
xor edx, edx
mov rcx, rsi
call fcn.1401cb790
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0x38], eax
movzx eax, byte [r13 + 0x22]
cmp byte [r13 + 0x21], al
jne 0x1401ccb97
test ebp, ebp
je 0x1401ccb97
cmp byte [r13 + 0x20], 0x59
jne 0x1401ccb97
movzx eax, byte [rdi + 0x1f]
lea rcx, [rdi + 0x38]
test al, al
jne 0x1401ccadc
mov ebp, dword [rcx]
inc ebp
mov dword [rcx], ebp
inc dword [rcx]
mov r14d, dword [rcx]
jmp 0x1401ccb04
sub al, 1
movzx edx, al
mov byte [rdi + 0x1f], dl
mov ebp, dword [rdi + rdx*4 + 0xe8]
jne 0x1401ccaf4
inc dword [rcx]
mov r14d, dword [rcx]
jmp 0x1401ccb04
dec dl
movzx eax, dl
mov byte [rdi + 0x1f], al
mov r14d, dword [rdi + rax*4 + 0xe8]
cmp r15d, 2
jne 0x1401ccb37
mov r8d, dword [rsi + 0x2c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.140196470
mov r8d, dword [rsi + 0x3c]
mov r9d, r14d
mov edx, 0x87
mov rcx, rbx
call fcn.140196470
mov r8d, r14d
jmp 0x1401ccb55
cmp dword [rsi + 0x28], 0
je 0x1401ccb69
mov r8d, dword [rsi + 0x3c]
mov r9d, ebp
mov edx, 0x87
mov rcx, rbx
call fcn.140196470
mov r8d, dword [rsi + 0x28]
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov edx, 0x39
mov rcx, rbx
call fcn.1401964e0
test ebp, ebp
je 0x1401ccb7f
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401ccb7f
mov dword [rdi + rax*4 + 0xe8], ebp
inc byte [rdi + 0x1f]
test r14d, r14d
je 0x1401ccb97
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401ccb97
mov dword [rdi + rax*4 + 0xe8], r14d
inc byte [rdi + 0x1f]
mov ecx, r15d
sub ecx, 1
je 0x1401ccc34
cmp ecx, 1
je 0x1401ccbf2
cmp dword [r13 + 0x84], 0
mov ebp, dword [rsi + 0x40]
mov r14d, dword [rsi + 0x3c]
mov dword [rsp + 0x30], ebp
je 0x1401ccbd8
mov r8d, dword [r13 + 0x88]
mov r9d, 1
mov rcx, rbx
lea edx, [r9 + 0x55]
call fcn.140196470
jmp 0x1401ccc47
mov eax, dword [rsi + 0x20]
xor r9d, r9d
mov r8d, r14d
mov dword [rsp + 0x20], eax
mov rdx, r13
mov rcx, rsi
call fcn.1401cbb70
jmp 0x1401ccc47
mov r8d, dword [r13 + 0x84]
mov r9d, 1
mov ebp, dword [rsi + 0x30]
mov r14d, dword [rsi + 0x2c]
mov dword [rsp + 0x30], ebp
test r8d, r8d
je 0x1401ccc1d
lea edx, [r9 + 0x55]
mov rcx, rbx
call fcn.140196470
jmp 0x1401ccc47
mov eax, dword [rsi + 0x20]
mov r8d, r14d
mov rdx, r13
mov dword [rsp + 0x20], eax
mov rcx, rsi
call fcn.1401cbb70
jmp 0x1401ccc47
mov eax, dword [rsi + 0x38]
mov rcx, rsi
mov r14d, dword [rsi + 0x34]
mov dword [rsp + 0x30], eax
call fcn.1401ce560
cmp r15d, dword [rsi + 0x24]
jne 0x1401ccc7d
mov r8d, r14d
mov edx, 0x82
mov rcx, rbx
call fcn.140196400
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1401ccc7d
lea rcx, [rax + rax*2]
mov edx, 2
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
cmp dword [rsp + 0x98], 0
movsxd rcx, dword [rbx + 0x90]
mov eax, dword [rbx + 0x94]
je 0x1401ccd1a
lea edx, [rcx + 2]
cmp eax, ecx
jg 0x1401cccbc
mov r9d, edx
mov dword [rsp + 0x20], 0
mov edx, 0x27
mov r8d, r14d
mov rcx, rbx
call fcn.140125400
jmp 0x1401ccced
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov edx, 9
mov rcx, rbx
call fcn.140196390
cmp byte [rsp + 0x88], 0x4c
mov r15d, eax
mov dword [rsp + 0x80], eax
je 0x1401cce18
xor r15d, r15d
jmp 0x1401ccd9a
movzx ebp, byte [rsp + 0x88]
xor r15d, r15d
cmp bpl, 0x4c
mov edx, r15d
setne dl
inc edx
add edx, ecx
cmp eax, ecx
jg 0x1401ccd50
mov r9d, edx
mov dword [rsp + 0x20], r15d
lea edx, [r15 + 0x27]
mov r8d, r14d
mov rcx, rbx
call fcn.140125400
jmp 0x1401ccd7e
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
cmp bpl, 0x4c
je 0x1401cce18
xor r8d, r8d
mov r9d, r12d
mov rcx, rbx
lea edx, [r8 + 9]
call fcn.140196470
mov rax, qword [r13 + 0x18]
test rax, rax
je 0x1401ccdb8
mov ebp, dword [rax]
test ebp, ebp
je 0x1401ccdbb
mov edx, ebp
mov rcx, rdi
call fcn.140173860
mov r15d, eax
jmp 0x1401ccdbb
mov ebp, r15d
mov r8d, r15d
mov edx, r14d
mov rcx, rsi
call fcn.1401ce400
mov eax, dword [rsp + 0x38]
mov r8d, r15d
mov r9d, dword [rsp + 0x30]
mov rcx, rdi
mov rdx, qword [r13 + 0x18]
mov dword [rsp + 0x20], eax
call fcn.1401cdf10
cmp ebp, 1
jne 0x1401cce04
test r15d, r15d
je 0x1401cce10
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1401cce10
mov dword [rdi + rax*4 + 0xe8], r15d
inc byte [rdi + 0x1f]
jmp 0x1401cce10
cmp ebp, dword [rdi + 0x28]
jle 0x1401cce10
mov dword [rdi + 0x28], ebp
mov dword [rdi + 0x2c], r15d
mov r15d, dword [rsp + 0x80]
mov edx, dword [rsp + 0x34]
test edx, edx
je 0x1401cce75
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1401cce48
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 9]
call fcn.140125400
jmp 0x1401cce75
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 9
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx + 0x18]
not r12d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1401cce91
mov r8d, r12d
mov rdx, rbx
call fcn.140143280
jmp 0x1401ccea2
mov rdx, qword [rcx + 0x50]
mov ecx, dword [rbx + 0x90]
movsxd r8, r12d
mov dword [rdx + r8*4], ecx
mov eax, r15d
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret