Function at 0x1400a6780
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.1400a87d0
mov dword [rsp + 0x28], eax
mov r8d, 5
mov edx, 5
mov ecx, dword [rsp + 0x78]
call fcn.1400a87d0
mov dword [rsp + 0x30], eax
mov r8d, 9
mov edx, ntohs
mov ecx, dword [rsp + 0x78]
call fcn.1400a87d0
mov eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and rax, 0x100
test rax, rax
je 0x1400a67ff
mov rax, qword [rsp + 0x50]
or rax, 0xfffffffffffffe00
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400a4a80
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x758
ja 0x1400a6854
cmp dword [rsp + 0x20], 0x757
jae case.0x1400a6885.1884
mov eax, dword [rsp + 0x20]
sub eax, 0x3c6
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x48
ja case.0x1400a6885.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6b8c]
mov eax, dword [rcx + rax*4 + 0xa6b84]
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.0x1400a6885.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6be0]
mov eax, dword [rcx + rax*4 + 0xa6bd8]
add rax, rcx
jmp rax
jmp 0x1400a68a7
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5a30
mov rcx, qword [rsp + 0x70]
call fcn.1400a4a80
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x758
ja 0x1400a6903
cmp dword [rsp + 0x24], 0x757
jae case.0x1400a6934.1894
mov eax, dword [rsp + 0x24]
sub eax, 0x3c6
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xd7
ja case.0x1400a6934.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6c2c]
mov eax, dword [rcx + rax*4 + 0xa6c08]
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.0x1400a6934.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa6d24]
mov eax, dword [rcx + rax*4 + 0xa6d04]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x1400a6b7f
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1400a4820
jmp 0x1400a6a36
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5aa0
jmp 0x1400a6a36
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a59d0
jmp 0x1400a6a36
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a57a0
jmp 0x1400a6a36
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5850
jmp 0x1400a6a36
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a58b0
jmp 0x1400a6a36
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5910
jmp 0x1400a6a36
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5970
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400a5a30
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4820
mov r8d, 1
mov edx, socket
mov ecx, dword [rsp + 0x78]
call fcn.1400a87d0
test eax, eax
je 0x1400a6a85
mov dword [rsp + 0x34], 1
jmp 0x1400a6a8d
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
jne 0x1400a6a9e
mov dword [rsp + 0x38], 0
jmp 0x1400a6aa6
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.1400a87d0
test eax, eax
je 0x1400a6ad1
mov dword [rsp + 0x3c], 1
jmp 0x1400a6ad9
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x3c], 0
jne 0x1400a6aea
mov dword [rsp + 0x40], 0
jmp 0x1400a6af2
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.1400a87d0
test eax, eax
je 0x1400a6b1d
mov dword [rsp + 0x44], 1
jmp 0x1400a6b25
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
jne 0x1400a6b36
mov dword [rsp + 0x48], 0
jmp 0x1400a6b3e
mov dword [rsp + 0x48], 1
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2e], al
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x1400a6b7a
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x1400a6b7a
movzx eax, byte [rsp + 0x2e]
test eax, eax
jne 0x1400a6b7a
cmp dword [rsp + 0x30], 0x1f
je 0x1400a6b7a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jne 0x1400a6b7a
mov eax, 1
jmp 0x1400a6b7f
mov eax, 3
add rsp, 0x68
ret