Function at 0x1400a5b50
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.1400a7ba0
mov dword [rsp + 0x28], eax
mov r8d, 5
mov edx, 5
mov ecx, dword [rsp + 0x78]
call fcn.1400a7ba0
mov dword [rsp + 0x30], eax
mov r8d, 9
mov edx, ntohs
mov ecx, dword [rsp + 0x78]
call fcn.1400a7ba0
mov eax, eax
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
and rax, 0x100
test rax, rax
je 0x1400a5bcf
mov rax, qword [rsp + 0x50]
or rax, 0xfffffffffffffe00
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x70]
call fcn.1400a3e50
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x758
ja 0x1400a5c24
cmp dword [rsp + 0x20], 0x757
jae case.0x1400a5c55.1884
mov eax, dword [rsp + 0x20]
sub eax, 0x3c6
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x48
ja case.0x1400a5c55.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa5f5c]
mov eax, dword [rcx + rax*4 + 0xa5f54]
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.0x1400a5c55.1886
mov eax, dword [rsp + 0x20]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa5fb0]
mov eax, dword [rcx + rax*4 + 0xa5fa8]
add rax, rcx
jmp rax
jmp 0x1400a5c77
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4e00
mov rcx, qword [rsp + 0x70]
call fcn.1400a3e50
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0x758
ja 0x1400a5cd3
cmp dword [rsp + 0x24], 0x757
jae case.0x1400a5d04.1894
mov eax, dword [rsp + 0x24]
sub eax, 0x3c6
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0xd7
ja case.0x1400a5d04.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa5ffc]
mov eax, dword [rcx + rax*4 + 0xa5fd8]
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.0x1400a5d04.1886
mov eax, dword [rsp + 0x24]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0xa60f4]
mov eax, dword [rcx + rax*4 + 0xa60d4]
add rax, rcx
jmp rax
xor eax, eax
jmp 0x1400a5f4f
mov eax, dword [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.1400a3bf0
jmp 0x1400a5e06
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4e70
jmp 0x1400a5e06
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4da0
jmp 0x1400a5e06
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4b70
jmp 0x1400a5e06
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4c20
jmp 0x1400a5e06
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4c80
jmp 0x1400a5e06
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4ce0
jmp 0x1400a5e06
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4d40
mov r9, qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x70]
call fcn.1400a4e00
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.1400a3bf0
mov r8d, 1
mov edx, socket
mov ecx, dword [rsp + 0x78]
call fcn.1400a7ba0
test eax, eax
je 0x1400a5e55
mov dword [rsp + 0x34], 1
jmp 0x1400a5e5d
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
jne 0x1400a5e6e
mov dword [rsp + 0x38], 0
jmp 0x1400a5e76
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.1400a7ba0
test eax, eax
je 0x1400a5ea1
mov dword [rsp + 0x3c], 1
jmp 0x1400a5ea9
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x3c], 0
jne 0x1400a5eba
mov dword [rsp + 0x40], 0
jmp 0x1400a5ec2
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.1400a7ba0
test eax, eax
je 0x1400a5eed
mov dword [rsp + 0x44], 1
jmp 0x1400a5ef5
mov dword [rsp + 0x44], 0
cmp dword [rsp + 0x44], 0
jne 0x1400a5f06
mov dword [rsp + 0x48], 0
jmp 0x1400a5f0e
mov dword [rsp + 0x48], 1
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x2e], al
movzx eax, byte [rsp + 0x2c]
test eax, eax
je 0x1400a5f4a
movzx eax, byte [rsp + 0x2d]
test eax, eax
je 0x1400a5f4a
movzx eax, byte [rsp + 0x2e]
test eax, eax
jne 0x1400a5f4a
cmp dword [rsp + 0x30], 0x1f
je 0x1400a5f4a
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x28], eax
jne 0x1400a5f4a
mov eax, 1
jmp 0x1400a5f4f
mov eax, 3
add rsp, 0x68
ret