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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x24], 3
mov r8d, 4
mov edx, SafeArrayGetDim
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x2c], eax
mov r8d, 4
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x28], eax
mov r8d, 4
xor edx, edx
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x38], eax
mov r8d, 1
mov edx, reloc.WLDAP32.dll_Ordinal_22
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x34], eax
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x68], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_socket
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
not eax
and eax, 1
shl eax, 8
mov dword [rsp + 0x40], eax
mov r8d, 4
mov edx, Ordinal_32
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x6c], eax
mov r8d, 1
mov edx, reloc.WS2_32.dll_setsockopt
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x58], eax
mov r8d, 1
mov edx, SafeArrayPutElement
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x58], 1
jne 0x1401a6f92
mov dword [rsp + 0x60], 1
jmp 0x1401a6f9a
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x4c], 0
jne 0x1401a6fab
mov dword [rsp + 0x5c], 1
jmp 0x1401a6fb3
mov dword [rsp + 0x5c], 0
mov eax, dword [rsp + 0x5c]
mov ecx, dword [rsp + 0x60]
or ecx, eax
mov eax, ecx
test eax, eax
jne 0x1401a6fcd
mov dword [rsp + 0x64], 0
jmp 0x1401a6fd5
mov dword [rsp + 0x64], 1
movzx eax, byte [rsp + 0x64]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x80]
call fcn.14015b950
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0xa4
jb 0x1401a702c
cmp dword [rsp + 0x48], 0xa6
jbe 0x1401a7019
cmp dword [rsp + 0x48], 0x1ae
jbe 0x1401a702c
cmp dword [rsp + 0x48], 0x1b1
jbe 0x1401a7019
jmp 0x1401a702c
mov eax, dword [rsp + 0x2c]
and eax, 1
test eax, eax
je 0x1401a702c
mov dword [rsp + 0x24], 1
mov rcx, qword [rsp + 0x80]
call fcn.14015b950
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xb8
ja 0x1401a7084
cmp dword [rsp + 0x30], 0xb6
jae case.0x1401a7082.179
mov eax, dword [rsp + 0x30]
sub eax, 0xa4
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xf
ja case.0x1401a7082.167
mov eax, dword [rsp + 0x30]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x1a768c]
add rax, rcx
jmp rax
cmp dword [rsp + 0x30], 0x1b6
ja 0x1401a70d5
cmp dword [rsp + 0x30], 0x1b6
je 0x1401a718c
cmp dword [rsp + 0x30], 0xbb
jb case.0x1401a7082.167
cmp dword [rsp + 0x30], 0xbc
jbe case.0x1401a7082.179
cmp dword [rsp + 0x30], 0x1ae
jbe case.0x1401a7082.167
cmp dword [rsp + 0x30], 0x1b1
jbe 0x1401a70f6
jmp case.0x1401a7082.167
cmp dword [rsp + 0x30], 0x1b9
jb case.0x1401a7082.167
cmp dword [rsp + 0x30], 0x1ba
jbe 0x1401a718c
jmp case.0x1401a7082.167
cmp dword [rsp + 0x4c], 0
jne 0x1401a710c
cmp dword [rsp + 0x58], 1
jne 0x1401a710c
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401a7138
cmp dword [rsp + 0x28], 0xf
je 0x1401a7130
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x1401a7130
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x1401a7138
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
je 0x1401a714e
cmp dword [rsp + 0x38], 0xf
jne 0x1401a714e
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x3c], 0xf
jne 0x1401a715d
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401a7187
mov r8d, 4
mov edx, 8
mov ecx, dword [rsp + 0x88]
call fcn.1401cb630
test eax, eax
je 0x1401a7187
mov dword [rsp + 0x24], 1
jmp case.0x1401a7082.167
cmp dword [rsp + 0x2c], 0xf
jne 0x1401a719b
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401a71bd
cmp dword [rsp + 0x28], 0xf
je 0x1401a71b5
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1401a71bd
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401a71d3
cmp dword [rsp + 0x38], 0xf
jne 0x1401a71d3
mov dword [rsp + 0x24], 1
jmp case.0x1401a7082.167
cmp dword [rsp + 0x34], 0
je 0x1401a71fa
cmp dword [rsp + 0x28], 0xf
jne 0x1401a71fa
cmp dword [rsp + 0x3c], 0xf
jne 0x1401a71f5
mov dword [rsp + 0x24], 1
jmp case.0x1401a7082.167
cmp dword [rsp + 0x4c], 0
jne 0x1401a7210
cmp dword [rsp + 0x58], 1
jne 0x1401a7210
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401a7241
cmp dword [rsp + 0x3c], 0xf
je 0x1401a7239
cmp dword [rsp + 0x38], 0xf
je 0x1401a7239
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x38], eax
je 0x1401a7239
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x38], eax
jne 0x1401a7241
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401a7260
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401a7260
cmp dword [rsp + 0x28], 0xf
jne 0x1401a7260
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401a7285
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
je 0x1401a727d
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x28], eax
jne 0x1401a7285
mov dword [rsp + 0x24], 1
jmp case.0x1401a7082.167
cmp dword [rsp + 0x34], 0
je 0x1401a72ac
cmp dword [rsp + 0x28], 0xf
jne 0x1401a72ac
cmp dword [rsp + 0x2c], 0xf
jne 0x1401a72a7
mov dword [rsp + 0x24], 1
jmp case.0x1401a7082.167
cmp dword [rsp + 0x2c], 0xf
jne 0x1401a72bb
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401a72d1
cmp dword [rsp + 0x38], 0xf
jne 0x1401a72d1
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401a72fa
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401a72fa
cmp dword [rsp + 0x28], 0xf
je 0x1401a72f2
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1401a72fa
mov dword [rsp + 0x24], 1
jmp case.0x1401a7082.167
cmp dword [rsp + 0x34], 0
je 0x1401a731e
cmp dword [rsp + 0x28], 0xf
jne 0x1401a731e
cmp dword [rsp + 0x2c], 0xf
jne 0x1401a731c
mov dword [rsp + 0x24], 1
jmp case.0x1401a7082.167
cmp dword [rsp + 0x34], 0
je 0x1401a7347
cmp dword [rsp + 0x2c], 0xf
je 0x1401a733f
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401a7347
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne 0x1401a7347
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne 0x1401a7364
cmp dword [rsp + 0x2c], 0xf
je 0x1401a735c
cmp dword [rsp + 0x38], 0xf
jne 0x1401a7364
mov dword [rsp + 0x24], 1
cmp dword [rsp + 0x34], 0
jne case.0x1401a7082.167
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x1401a7082.167
cmp dword [rsp + 0x28], 0xf
je 0x1401a7385
mov eax, dword [rsp + 0x2c]
cmp dword [rsp + 0x28], eax
jne case.0x1401a7082.167
mov dword [rsp + 0x24], 1
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x1401a744a
mov rax, qword [rsp + 0x80]
mov byte [rax + 0x32e], 1
cmp dword [rsp + 0x4c], 0
je 0x1401a73be
mov eax, dword [rsp + 0x40]
bts eax, 9
mov dword [rsp + 0x40], eax
jmp 0x1401a73ca
mov eax, dword [rsp + 0x40]
bts eax, 0xa
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x80]
call fcn.14015b950
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x1af
jb 0x1401a744a
cmp dword [rsp + 0x44], 0x1b1
jbe 0x1401a740f
cmp dword [rsp + 0x44], 0x1b6
je 0x1401a740f
cmp dword [rsp + 0x44], 0x1b8
jbe 0x1401a744a
cmp dword [rsp + 0x44], 0x1ba
jbe 0x1401a740f
jmp 0x1401a744a
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401a56d0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1401a5670
movzx eax, al
test eax, eax
jne 0x1401a744a
xor eax, eax
jmp 0x1401a7685
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
call fcn.1401a56d0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1401a5670
movzx eax, al
test eax, eax
jne 0x1401a7485
xor eax, eax
jmp 0x1401a7685
mov rcx, qword [rsp + 0x80]
call fcn.14015b950
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0xa4
jb 0x1401a74ff
cmp dword [rsp + 0x50], 0xa6
jbe 0x1401a74c0
cmp dword [rsp + 0x50], 0x1ae
jbe 0x1401a74ff
cmp dword [rsp + 0x50], 0x1b1
jbe 0x1401a74c0
jmp 0x1401a74ff
mov eax, dword [rsp + 0x2c]
inc eax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.1401a56d0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1401a5670
movzx eax, al
test eax, eax
jne 0x1401a74ff
xor eax, eax
jmp 0x1401a7685
movzx eax, byte [rsp + 0x20]
test eax, eax
je case.0x1401a754a.167
mov rcx, qword [rsp + 0x80]
call fcn.14015b950
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x54]
sub eax, 0xa4
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0x18
ja case.0x1401a754a.167
mov eax, dword [rsp + 0x54]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x1a76d4]
mov eax, dword [rcx + rax*4 + 0x1a76cc]
add rax, rcx
jmp rax
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401a56d0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1401a5670
movzx eax, al
test eax, eax
jne case.0x1401a754a.167
xor eax, eax
jmp 0x1401a7685
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
call fcn.1401a56d0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1401a5670
movzx eax, al
test eax, eax
jne 0x1401a75c2
xor eax, eax
jmp 0x1401a7685
cmp dword [rsp + 0x34], 0
je 0x1401a75fe
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.14015b640
mov eax, dword [rsp + 0x68]
shl eax, 4
mov ecx, dword [rsp + 0x40]
or ecx, eax
mov eax, ecx
or eax, dword [rsp + 0x38]
mov eax, eax
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.14015b6f0
jmp 0x1401a7649
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x80]
call fcn.1401a56d0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1401a5670
movzx eax, al
test eax, eax
jne 0x1401a7636
xor eax, eax
jmp 0x1401a7685
mov eax, dword [rsp + 0x40]
mov edx, eax
mov rcx, qword [rsp + 0x80]
call fcn.14015b6f0
mov r9, qword [rsp + 0x98]
mov r8, qword [rsp + 0x90]
mov edx, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x80]
call fcn.1401a5cc0
mov edx, eax
lea rcx, [rsp + 0x24]
call fcn.1401a5670
movzx eax, al
test eax, eax
jne 0x1401a7681
xor eax, eax
jmp 0x1401a7685
mov eax, dword [rsp + 0x24]
add rsp, 0x78
ret