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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov rbx, rcx
mov rcx, qword [0x18008a130]
lea r12, [0x18008a130]
cmp rcx, r12
je 0x1800063a4
test dword [rcx + 0x1c], 0x400
jne 0x18005059c
mov rdi, qword [rbx + 0x320]
xor r15d, r15d
mov dword [rbx + 0x26c], 1
mov dword [rbx + 0x18c], r15d
mov dword [rbx + 0x130], r15d
mov dword [rbx + 0x148], r15d
mov qword [rbx + 0x1ac], r15
mov qword [rbx + 0x1b4], r15
mov qword [rbx + 0x310], r15
mov qword [rbx + 0x318], r15
mov qword [rbx + 0x1a0], r15
mov dword [rbx + 0x19c], r15d
mov dword [rbx + 0x194], r15d
mov qword [rbx + 0x150], r15
mov qword [rbx + 0x158], r15
mov rax, qword [0x18008a130]
cmp rax, r12
je 0x180006425
test dword [rax + 0x1c], 0x10000000
jne 0x1800505d4
test dword [rax + 0x1c], 0x1000000
jne 0x180050600
and dword [rdi + 0x3c], 0xf0010000
or dword [rdi + 0x3c], 0x10000
mov r8d, r15d
cmp dword [rdi + 0x44], r15d
jbe 0x18000649e
mov eax, r8d
imul rcx, rax, 0x88
mov rdx, qword [rcx + rdi + 0x88]
test rdx, rdx
je 0x180006495
and dword [rcx + rdi + 0xac], 0xf0000000
mov dword [rcx + rdi + 0xa8], r15d
mov ecx, r15d
cmp dword [rdx + 4], ecx
jbe 0x180006495
mov eax, ecx
inc ecx
shl rax, 6
mov dword [rax + rdx + 0x48], r15d
mov dword [rax + rdx + 0x4c], 0xffffffff
cmp ecx, dword [rdx + 4]
jb 0x18000647b
inc r8d
cmp r8d, dword [rdi + 0x44]
jb 0x180006449
mov rbp, qword [rbx + 0x320]
mov r10, qword [0x18008a130]
cmp r10, r12
je 0x1800064bf
test dword [r10 + 0x1c], 0x10000000
jne 0x180050615
test dword [r10 + 0x1c], 0x1000000
jne 0x180050641
mov rdi, qword [rbp + 0x20]
cmp r10, r12
je 0x1800064e4
test dword [r10 + 0x1c], 0x10000000
jne 0x18005065c
test rdi, rdi
je 0x18000650f
mov ecx, r15d
mov dword [rdi + 8], r15d
cmp dword [rdi], ecx
jbe 0x180006508
mov eax, ecx
inc ecx
add rax, rax
mov word [rdi + rax*8 + 0x18], r15w
cmp ecx, dword [rdi]
jb 0x1800064f4
jmp 0x180006508
mov r10, qword [0x18008a130]
mov esi, r15d
cmp dword [rbp + 0x44], r15d
jbe 0x180006568
mov eax, esi
imul rcx, rax, 0x88
mov rdi, qword [rcx + rbp + 0x78]
cmp r10, r12
je 0x180006539
test dword [r10 + 0x1c], 0x10000000
jne 0x180050688
test rdi, rdi
je 0x180006561
mov ecx, r15d
mov dword [rdi + 8], r15d
cmp dword [rdi], ecx
jbe 0x18000655a
mov eax, ecx
inc ecx
add rax, rax
mov word [rdi + rax*8 + 0x18], r15w
cmp ecx, dword [rdi]
jb 0x180006549
mov r10, qword [0x18008a130]
inc esi
cmp esi, dword [rbp + 0x44]
jb 0x180006518
test dword [r10 + 0x1c], 0x1000000
jne 0x1800506b4
mov rax, qword [rbx + 0x320]
movabs rcx, 0xffffdffff8ffffff
mov rdx, r14
mov qword [rbx + 0x1c0], rax
mov eax, dword [rbx + 0x110]
mov dword [r14], 1
mov dword [rbx + 0x214], eax
mov rax, qword [rbx + 0xb0]
and rax, rcx
mov rcx, rbx
mov qword [rbx + 0x218], rax
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
jmp fcn.180005e60
movzx eax, word [rbx + 0xa8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xbe
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0xb0]
mov r9, rbx
mov dword [rsp + 0x28], eax
mov rax, qword [rbx + 0x98]
mov qword [rsp + 0x20], rax
call fcn.18005ed90
nop
jmp 0x1800063a4
mov rcx, qword [rax + 0x10]
lea r8, [0x180082108]
mov edx, 0x3b
mov r9, rdi
mov dword [rsp + 0x20], 0xf0000000
call fcn.180058cf4
mov rax, qword [0x18008a130]
jmp 0x180006425
lea r8, [0x1800820f0]
mov r9, rdi
call fcn.18006bc70
nop
jmp 0x180006432
mov rcx, qword [r10 + 0x10]
lea r8, [0x180082108]
mov edx, 0x39
mov r9, rbp
mov dword [rsp + 0x20], 0xffff0000
call fcn.180058cf4
mov r10, qword [0x18008a130]
jmp 0x1800064bf
lea r8, [0x1800506d0]
mov r9, rbp
call fcn.18006bc70
mov r10, qword [0x18008a130]
jmp 0x1800064cd
mov rcx, qword [r10 + 0x10]
lea r8, [0x180082108]
mov edx, reloc.WS2_32.dll_listen
mov r9, rdi
mov dword [rsp + 0x20], 0xffff0000
call fcn.180058cf4
mov r10, qword [0x18008a130]
jmp 0x1800064e4
mov rcx, qword [r10 + 0x10]
lea r8, [0x180082108]
mov edx, reloc.WS2_32.dll_listen
mov r9, rdi
mov dword [rsp + 0x20], 0xffff0000
call fcn.180058cf4
mov r10, qword [0x18008a130]
jmp 0x180006539
lea r8, [0x1800506f8]
mov r9, rbp
call fcn.18006bc70
nop
jmp 0x180006576