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

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x40
mov r14, qword [rcx + 0x90]
mov rdi, rcx
mov rax, qword [rcx]
mov rsi, qword [rcx + 0x10]
mov qword [rsp + 0x60], rax
test r14, r14
je 0x14017e8de
mov qword [rsp + 0x68], rbx
xor r11d, r11d
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x78], r12
nop dword [rax]
nop dword [rax + rax]
movsxd rbx, dword [r14 + 0x10]
lea r12, [rsi + 0x88]
mov r15d, dword [r14 + 0x14]
shl rbx, 5
add rbx, qword [rax + 0x20]
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x14017e657
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x14017e666
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xd0]
movsxd rcx, dword [rsi + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rsi + 0x94], ecx
jg 0x14017e696
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, gethostname
mov rcx, rsi
call fcn.140139520
xor r11d, r11d
jmp 0x14017e6c1
lea eax, [rcx + 1]
mov dword [rsi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r12]
mov dword [rax + rcx*8], gethostname
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r11
mov rax, qword [rbx + 0x18]
mov edx, dword [r14 + 0x10]
mov r10, qword [rdi + 0x10]
mov rbx, qword [rax + 0x68]
test byte [rbx + 0x30], 0x80
jne 0x14017e73d
movsxd rcx, dword [r10 + 0x90]
movsx r8d, word [rbx + 0x38]
mov r9d, dword [rbx + 0x28]
cmp dword [r10 + 0x94], ecx
jg 0x14017e70d
mov dword [rsp + 0x28], r8d
mov rcx, r10
xor r8d, r8d
mov dword [rsp + 0x20], edx
lea edx, [r8 + 0x71]
call fcn.140139580
jmp 0x14017e7ba
lea eax, [rcx + 1]
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov qword [rax + rcx*8], 0xfd71
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], edx
mov dword [rax + rcx*8 + 0x10], r8d
jmp 0x14017e7bd
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x14017e758
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x14017e758
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14017e746
movsxd rcx, dword [r10 + 0x90]
mov r8d, dword [rbx + 0x58]
cmp dword [r10 + 0x94], ecx
jg 0x14017e784
mov r9d, r8d
mov dword [rsp + 0x20], edx
xor r8d, r8d
mov rcx, r10
lea edx, [r8 + 0x71]
call fcn.140139520
jmp 0x14017e7af
lea eax, [rcx + 1]
mov dword [r10 + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [r10 + 0x88]
mov qword [rax + rcx*8], WSACleanup
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r11
mov rdx, rbx
mov rcx, rdi
call fcn.14013acf0
xor r11d, r11d
mov eax, dword [rsi + 0x90]
add eax, 5
cmp eax, dword [rsi + 0x94]
jle 0x14017e7e1
mov rcx, rsi
call fcn.1401393e0
test eax, eax
jne 0x14017e8c5
xor r11d, r11d
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [r12]
mov dword [rax + rcx*8 + 8], 2
mov byte [rax + rcx*8], 0x33
mov dword [rax + rcx*8 + 4], r11d
lea rdx, [rax + rcx*8]
mov eax, dword [rsi + 0x90]
mov dword [rdx + 0xc], r11d
add eax, 2
mov dword [rdx + 8], eax
mov byte [rdx + 1], 0
mov qword [rdx + 0x10], r11
mov word [rdx + 2], r11w
mov qword [rdx + 0x18], 0x7f
mov qword [rdx + 0x20], 0
mov qword [rdx + 0x28], r11
mov qword [rdx + 0x30], 0x61
mov qword [rdx + 0x38], 2
mov qword [rdx + 0x40], r11
mov qword [rdx + 0x48], pe_nt_image_headers64
mov qword [rdx + 0x50], 0
mov qword [rdx + 0x58], r11
mov qword [rdx + 0x60], 0x7a
mov qword [rdx + 0x68], 0
mov qword [rdx + 0x70], r11
add dword [rsi + 0x90], 5
test rdx, rdx
je 0x14017e8c5
mov dword [rdx + 0x3c], ebp
lea ecx, [r15 + 1]
mov dword [rdx + 4], ecx
lea eax, [r15 - 1]
mov dword [rdx + 0x20], ecx
mov dword [rdx + 0x34], eax
mov dword [rdx + 0x54], ecx
mov dword [rdx + 0x50], ebp
mov word [rdx + 0x4a], 8
test ebp, ebp
je 0x14017e8b4
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x14017e8b4
mov dword [rdi + rax*4 + 0xd0], ebp
inc byte [rdi + 0x1f]
mov r14, qword [r14]
mov rax, qword [rsp + 0x60]
test r14, r14
jne 0x14017e630
mov r12, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
mov r13, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x68]
mov r15, qword [rsp + 0x30]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret