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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rsi, r8
mov r14d, edx
mov rdi, rcx
mov dword [rcx], 0x100
mov dword [rcx + 4], 1
xor ebp, ebp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], rbp
mov qword [rcx + 0x28], rbp
mov dword [rcx + 0x30], ebp
mov dword [rcx + 0x34], 0x4b
mov dword [rcx + 0x38], 0x3c
mov dword [rcx + 0x3c], 0xffffffff
mov dword [rcx + 0x40], 5
mov qword [rcx + 0x44], 5
mov qword [rcx + 0x50], 0xffffffffffffffff
mov qword [rcx + 0x58], rbp
mov qword [rcx + 0x60], rbp
mov qword [rcx + 0x68], rbp
lea ecx, [rbp + 0x38]
call fcn.18002b1a4
mov r15, rax
mov qword [rsp + 0x88], rax
mov word [rax], bp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rbp
mov dword [rax + 0x20], ebp
mov dword [rax + 0x24], 0xffffffff
mov qword [rax + 0x28], rbp
mov eax, 0xd05
mov word [r15 + 0x30], ax
mov qword [rsp + 0x88], r15
mov rcx, qword [rdi + 0x60]
lea rax, [rsp + 0x88]
cmp rax, rcx
jae 0x18004c6ed
mov rax, qword [rdi + 0x58]
lea rdx, [rsp + 0x88]
cmp rax, rdx
ja 0x18004c6ed
lea rbp, [rsp + 0x88]
sub rbp, rax
sar rbp, 3
cmp rcx, qword [rdi + 0x68]
jne 0x18004c6d7
lea rcx, [rdi + 0x58]
call fcn.180005180
mov rax, qword [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x18004c708
mov rax, qword [rax + rbp*8]
mov qword [rcx], rax
jmp 0x18004c708
cmp rcx, qword [rdi + 0x68]
jne 0x18004c6fc
lea rcx, [rdi + 0x58]
call fcn.180005180
mov rax, qword [rdi + 0x60]
test rax, rax
je 0x18004c708
mov qword [rax], r15
add qword [rdi + 0x60], 8
mov rdx, rsi
mov ecx, r14d
call fcn.18004c870
test eax, eax
js 0x18004c748
nop dword [rax]
mov r8, qword [0x1800928b0]
mov edx, eax
mov rcx, rdi
call fcn.18004be40
test al, al
je 0x18004c82d
mov rdx, rsi
mov ecx, r14d
call fcn.18004c870
test eax, eax
jns 0x18004c720
movsxd rax, dword [reloc.WS2_32.dll_accept]
cmp eax, r14d
jge 0x18004c77c
mov rbx, rax
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
mov r9, qword [rsi + rbx*8]
mov r8, qword [rsi]
lea rdx, str._s:_unsupported_non_option_argument__s_n
call fcn.180008b10
jmp 0x18004c82d
mov rax, qword [rdi + 0x58]
mov rcx, qword [rax]
cmp qword [rcx + 8], 0
je 0x18004c791
cmp word [rcx + 0x30], 0
ja 0x18004c7a1
call fcn.18004d280
mov rdx, rax
mov rcx, rdi
call fcn.18004b710
mov rax, qword [rdi + 0x58]
mov rcx, qword [rax]
cmp qword [rcx + 8], 0
je 0x18004c813
cmp word [rcx + 0x30], 0
jbe 0x18004c813
mov rcx, rdi
call fcn.18004b3c0
mov dword [rdi + 0x2c], eax
add eax, 0xfffffffe
test eax, 0xfffffffd
jne 0x18004c7cf
mov byte [rdi + 2], 1
mov ebx, dword [rdi + 0x48]
test ebx, ebx
jne 0x18004c7e8
mov r8d, dword [rdi + 0x34]
movzx edx, byte [rdi + 2]
mov ecx, dword [rdi + 0x28]
call fcn.1800506e0
jmp 0x18004c802
cmp byte [rdi + 6], 0
je 0x18004c805
mov r8d, dword [rdi + 0x34]
movzx edx, byte [rdi + 2]
mov ecx, dword [rdi + 0x28]
call fcn.1800506e0
cmp ebx, eax
jle 0x18004c805
mov dword [rdi + 0x48], eax
mov rcx, rdi
call fcn.18004bb80
mov byte [rdi + 5], 1
jmp 0x18004c82d
mov ecx, 2
call fcn.1800333cc
mov rcx, rax
lea rdx, str.No_pool_URL_supplied._Exiting._n
call fcn.180008b10
nop
mov rax, rdi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret