Function at 0x1400a6610
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, 0x68
mov r8d, 5
xor edx, edx
mov ecx, dword [rsp + 0x78]
call fcn.1400a8660
mov dword [rsp + 0x28], eax
mov r8d, 5
mov edx, 5
mov ecx, dword [rsp + 0x78]
call fcn.1400a8660
mov dword [rsp + 0x30], eax
mov r8d, 9
mov edx, ntohs
mov ecx, dword [rsp + 0x78]
call fcn.1400a8660
mov eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and rax, 0x100
test rax, rax
je 0x1400a668f
mov rax, qword [rsp + 0x50]
or rax, 0xfffffffffffffe00
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400a4910
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x758
ja 0x1400a66e4
cmp dword [rsp + 0x20], 0x757
jae case.0x1400a6715.1884
mov eax, dword [rsp + 0x20]
sub eax, 0x3c6
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x48
ja case.0x1400a6715.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6a1c]
mov eax, dword [rcx + rax*4 + 0xa6a14]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
sub eax, 0x75c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x24
ja case.0x1400a6715.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6a70]
mov eax, dword [rcx + rax*4 + 0xa6a68]
add rax, rcx
jmp rax
jmp 0x1400a6737
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400a58c0
mov rcx, qword [rsp + 0x70]
call fcn.1400a4910
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x758
ja 0x1400a6793
cmp dword [rsp + 0x24], 0x757
jae case.0x1400a67c4.1894
mov eax, dword [rsp + 0x24]
sub eax, 0x3c6
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xd7
ja case.0x1400a67c4.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6abc]
mov eax, dword [rcx + rax*4 + 0xa6a98]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x24]
sub eax, 0x75c
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x34
ja case.0x1400a67c4.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6bb4]
mov eax, dword [rcx + rax*4 + 0xa6b94]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x1400a6a0f
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1400a46b0
jmp 0x1400a68c6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5930
jmp 0x1400a68c6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5860
jmp 0x1400a68c6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5630
jmp 0x1400a68c6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a56e0
jmp 0x1400a68c6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5740
jmp 0x1400a68c6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a57a0
jmp 0x1400a68c6
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5800
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400a58c0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.1400a46b0
mov r8d, 1
mov edx, socket
mov ecx, dword [rsp + 0x78]
call fcn.1400a8660
test eax, eax
je 0x1400a6915
mov dword [rsp + 0x34], 1
jmp 0x1400a691d
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
jne 0x1400a692e
mov dword [rsp + 0x38], 0
jmp 0x1400a6936
mov dword [rsp + 0x38], 1
movzx eax, byte [rsp + 0x38]
mov byte [rsp + 0x2c], al
mov r8d, 2
mov edx, 0xa
mov ecx, dword [rsp + 0x78]
call fcn.1400a8660
test eax, eax
je 0x1400a6961
mov dword [rsp + 0x3c], 1
jmp 0x1400a6969
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x3c], 0
jne 0x1400a697a
mov dword [rsp + 0x40], 0
jmp 0x1400a6982
mov dword [rsp + 0x40], 1
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x2d], al
mov r8d, 1
mov edx, 0x1a
mov ecx, dword [rsp + 0x78]
call fcn.1400a8660
test eax, eax
je 0x1400a69ad
mov dword [rsp + 0x44], 1
jmp 0x1400a69b5
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
jne 0x1400a69c6
mov dword [rsp + 0x48], 0
jmp 0x1400a69ce
mov dword [rsp + 0x48], 1
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2e], al
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x1400a6a0a
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x1400a6a0a
movzx eax, byte [rsp + 0x2e]
test eax, eax
jne 0x1400a6a0a
cmp dword [rsp + 0x30], 0x1f
je 0x1400a6a0a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jne 0x1400a6a0a
mov eax, 1
jmp 0x1400a6a0f
mov eax, 3
add rsp, 0x68
ret