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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1f8
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x50], 0
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x200]
call fcn.1800661d0
movzx eax, al
test eax, eax
jne 0x180065b80
xor al, al
jmp 0x1800661c0
mov rax, qword [rsp + 0x200]
cmp dword [rax + 0x24], 5
jne 0x180065dd4
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x180065dd4
mov eax, dword [rsp + 0x50]
and eax, 0x100
test eax, eax
je 0x180065dd4
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0x200]
call fcn.1800646d0
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rcx, rax
call fcn.180006c30
lea rax, str.object
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x58]
cmp byte [rax + rcx], 0
jne 0x180065c10
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xa8], rax
mov r8, qword [rsp + 0xa8]
lea rdx, str.object
lea rcx, [rsp + 0x150]
call fcn.1800065e0
lea rax, [rsp + 0x130]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rcx, rax
call fcn.180006c30
lea rax, str.BJData_object_does_not_support_ND_array_size_in_optimized_format
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x180065c89
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov r8, qword [rsp + 0xc0]
lea rdx, str.BJData_object_does_not_support_ND_array_size_in_optimized_format
lea rcx, [rsp + 0x130]
call fcn.1800065e0
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x130]
mov rax, qword [rsp + 0x200]
mov r8d, dword [rax + 0x24]
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0x200]
call fcn.180060d50
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xd0]
mov edx, reloc.WS2_32.dll_WSASetLastError
lea rcx, [rsp + 0x1b0]
call fcn.18001b690
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x128], rax
mov rax, qword [rsp + 0x98]
mov byte [rax + 0x28], 1
mov rax, qword [rsp + 0x98]
movzx eax, byte [rax + 0x29]
test eax, eax
je 0x180065d84
call fcn.1801b13dc
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x1b0]
call fcn.18002c3d0
lea rcx, [rsp + 0x170]
call fcn.180007650
lea rcx, [rsp + 0x130]
call fcn.180007650
lea rcx, [rsp + 0x150]
call fcn.180007650
lea rcx, [rsp + 0x190]
call fcn.180007650
movzx eax, byte [rsp + 0x30]
jmp 0x1800661c0
lea rax, [rsp + 0x68]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov rcx, rax
call fcn.180006c30
lea rcx, [rsp + 0x68]
call fcn.180007230
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x18006603d
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xe0], rax
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0xe0]
call fcn.180074d70
movzx eax, al
test eax, eax
jne 0x180065e4d
mov byte [rsp + 0x31], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x31]
jmp 0x1800661c0
cmp dword [rsp + 0x50], 0
je 0x180065f35
mov qword [rsp + 0x88], 0
jmp 0x180065e79
mov rax, qword [rsp + 0x88]
inc rax
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x88], rax
jae 0x180065f30
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x200]
call fcn.180068640
movzx eax, al
test eax, eax
je 0x180065ed5
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xe8], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xe8]
call fcn.18006ab80
movzx eax, al
test eax, eax
jne 0x180065eee
mov byte [rsp + 0x32], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x32]
jmp 0x1800661c0
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x200]
call fcn.180068d40
movzx eax, al
test eax, eax
jne 0x180065f1f
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x33]
jmp 0x1800661c0
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180052b80
jmp 0x180065e66
jmp 0x180066038
mov qword [rsp + 0x90], 0
jmp 0x180065f56
mov rax, qword [rsp + 0x90]
inc rax
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x90], rax
jae 0x180066038
mov r8b, 1
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x200]
call fcn.180068640
movzx eax, al
test eax, eax
je 0x180065fb2
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xf0], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0xf0]
call fcn.18006ab80
movzx eax, al
test eax, eax
jne 0x180065fcb
mov byte [rsp + 0x34], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x34]
jmp 0x1800661c0
mov eax, 1
test eax, eax
je 0x180065fe7
mov rcx, qword [rsp + 0x200]
call fcn.180063680
mov dword [rsp + 0x3c], eax
jmp 0x180065ff6
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x3c], eax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x200]
call fcn.180068d40
movzx eax, al
test eax, eax
jne 0x180066027
mov byte [rsp + 0x35], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x35]
jmp 0x1800661c0
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180052b80
jmp 0x180065f43
jmp 0x180066170
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xf8], rax
mov rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0xf8]
call fcn.180074d70
movzx eax, al
test eax, eax
jne 0x180066085
mov byte [rsp + 0x36], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x36]
jmp 0x1800661c0
mov rax, qword [rsp + 0x200]
cmp dword [rax + 0x10], 0x7d
je 0x180066170
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x200]
call fcn.180068640
movzx eax, al
test eax, eax
je 0x1800660e0
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x110], rax
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x110]
call fcn.18006ab80
movzx eax, al
test eax, eax
jne 0x1800660f9
mov byte [rsp + 0x37], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x37]
jmp 0x1800661c0
mov eax, 1
test eax, eax
je 0x180066115
mov rcx, qword [rsp + 0x200]
call fcn.180063680
mov dword [rsp + 0x40], eax
jmp 0x180066124
mov rax, qword [rsp + 0x200]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x200]
call fcn.180068d40
movzx eax, al
test eax, eax
jne 0x180066152
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x38]
jmp 0x1800661c0
mov rcx, qword [rsp + 0x200]
call fcn.180063680
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180052b80
jmp 0x180066085
mov rax, qword [rsp + 0x200]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
add rax, 8
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0xa0]
add rax, 8
mov rcx, rax
call fcn.1800702d0
mov byte [rsp + 0x39], 1
lea rcx, [rsp + 0x68]
call fcn.180007650
movzx eax, byte [rsp + 0x39]
add rsp, 0x1f8
ret