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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x70
mov rbx, r8
mov rax, rcx
test r8, r8
je 0x1400a5f81
test byte [r8 + 0x23c], 0x80
je 0x1400a5f81
mov rcx, qword [rsp + 0xa0]
call fcn.140077120
mov eax, reloc.WS2_32.dll_ntohl
add rsp, 0x70
pop rbx
ret
mov r8, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rdi
test r8, r8
je 0x1400a5fe3
test rdx, rdx
je 0x1400a5fd9
movzx eax, word [rsp + 0xb8]
mov rdi, qword [rsp + 0xa0]
mov r9, rdx
mov edx, dword [rsp + 0xa8]
mov rcx, rdi
mov word [rsp + 0x20], ax
call fcn.1400be100
mov rdx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x80]
mov r9, qword [rsp + 0x98]
jmp 0x1400a5feb
mov rdi, qword [rsp + 0xa0]
jmp 0x1400a5feb
mov rdi, qword [rsp + 0xa0]
mov qword [rsp + 0x38], r15
test rbx, rbx
je 0x1400a5fff
movzx r15d, byte [rbx + 0x224]
jmp 0x1400a6014
test rdx, rdx
je 0x1400a600d
mov r15b, byte [rdx + 0x718]
jmp 0x1400a6014
mov r15b, byte [rax + 0x2c0]
cmp word [r9], 0x7b
je 0x1400a6038
mov rcx, rdi
call fcn.140077120
mov r15, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
mov eax, reloc.WS2_32.dll_ntohl
add rsp, 0x70
pop rbx
ret
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x50], r12
mov esi, reloc.WS2_32.dll_inet_ntoa
xor ebx, ebx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r14
lea ebp, [rsi - 0xb]
lea r13d, [rsi - 0xa]
mov r12, rbx
mov r14, rbx
nop word [rax + rax]
cmp esi, 0xb0
jle 0x1400a6118
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400a60ca
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bp
add rax, 0x50
mov qword [rdi + 0x28], rbx
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov rcx, qword [0x1402e6b50]
mov qword [rdi + 0x50], rbx
call fcn.1401e3610
mov rcx, qword [0x1402e6b58]
mov rbx, rax
call fcn.1401e3610
mov dword [rax], ebp
or dword [rdi + 0x1c], ebp
mov qword [rdi + 0x50], rbx
mov qword [rdi + 0x10], rbx
xor ebx, ebx
mov qword [rdi + 0x70], rax
mov dword [rdi + 0x68], 0x800
mov dword [rdi + 0x78], ebp
mov eax, 0x800
mov qword [rdi + 0x58], rbx
mov qword [rdi + 0x60], rbx
jmp 0x1400a61af
test r13b, 2
je 0x1400a6178
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400a616c
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], 2
mov word [rax + 0x20], bp
add rax, 0x50
mov qword [rdi + 0x28], rbx
mov dword [rdi + 0x38], ebx
mov qword [rdi + 0x30], rbx
mov qword [rdi + 0x10], rax
mov dword [rdi + 0x3c], ebx
mov dword [rdi + 0x40], ebx
mov word [rdi + 0x44], bx
mov word [rdi + 0x46], bx
mov qword [rdi + 0x48], rbx
mov eax, 0xb0
cmp esi, eax
cmovl eax, esi
jmp 0x1400a61af
mov rcx, qword [0x1402e6b48]
call fcn.1401e3610
mov rdi, rax
test rax, rax
je 0x1400a61a5
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov dword [rax + 0x18], ebx
mov dword [rax + 0x1c], ebx
mov word [rax + 0x20], bp
add rax, 0x28
mov qword [rdi + 0x10], rax
mov eax, 0xd8
cmp esi, eax
cmovl eax, esi
test rdi, rdi
je 0x1400a63a0
cmp eax, 0xc
jl 0x1400a639b
sub esi, eax
test r14, r14
je 0x1400a61cd
mov qword [r14], rdi
jmp 0x1400a61d0
mov r12, rdi
and r13d, 0xfffffffd
mov r14, rdi
test esi, esi
jg 0x1400a6070
test r13b, 4
je 0x1400a61f0
or dword [rdi + 0x1c], 4
nop dword [rax]
test r12, r12
je 0x1400a63ad
mov eax, dword [r12 + 0x1c]
test al, 2
je 0x1400a620d
add qword [r12 + 0x10], 0xa4
jmp 0x1400a621b
test bpl, al
jne 0x1400a621b
add qword [r12 + 0x10], 0xcc
mov rcx, qword [rsp + 0xa0]
mov edi, reloc.WS2_32.dll_inet_ntoa
mov esi, ebx
mov qword [r12], rcx
mov dword [r12 + 0x18], edi
mov rax, r12
nop word [rax + rax]
add esi, dword [rax + 0x18]
mov rax, qword [rax]
test rax, rax
jne 0x1400a6240
cmp dword [rsp + 0x100], 0
mov rbx, qword [r12 + 0x10]
movzx eax, word [rsp + 0xd8]
mov dword [r12 + 0x38], esi
mov word [rbx], ax
movzx eax, word [rsp + 0xe0]
mov word [rbx + 2], ax
mov eax, dword [rsp + 0xe8]
mov dword [rbx + 8], 0
mov dword [rbx + 4], eax
je 0x1400a6291
lock xadd dword [0x1402e6950], ebp
jmp 0x1400a62b9
cmp dword [0x1402e6b40], 0
jne 0x1400a62b1
xor edx, edx
mov rcx, r12
call fcn.1400a47a0
mov dword [rbx + 8], eax
lock xadd dword [0x1402e67fc], ebp
jmp 0x1400a62b9
lock xadd dword [0x1402e6800], ebp
test r15b, r15b
jne 0x1400a62cd
mov rax, qword [rsp + 0x80]
mov r15b, byte [rax + 0x90]
and r15b, 0xfc
cmp dword [rsp + 0xc8], 0
mov byte [rsp + 0x90], r15b
je 0x1400a630a
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1400a62fd
cmp byte [rax + 0x71b], 1
jne 0x1400a62fd
mov al, 2
jmp 0x1400a62ff
xor al, al
or r15b, al
mov byte [rsp + 0x90], r15b
movsxd r15, esi
mov rcx, r15
call fcn.1401e3610
mov r14, rax
test rax, rax
je 0x1400a638f
mov r13, rax
mov rbp, r12
test esi, esi
jle 0x1400a6358
nop word [rax + rax]
mov ecx, dword [rbp + 0x18]
mov rdx, qword [rbp + 0x10]
mov edi, esi
cmp ecx, esi
cmovl edi, ecx
mov rcx, r13
mov r8d, edi
mov ebx, edi
call fcn.1401e3ed0
mov rbp, qword [rbp]
sub esi, edi
add r13, rbx
test esi, esi
jg 0x1400a6330
movzx eax, byte [rsp + 0xc0]
mov rcx, qword [rsp + 0x98]
movzx r9d, byte [rsp + 0x90]
mov rcx, qword [rcx + 8]
mov r8, r15
mov rdx, r14
mov byte [rsp + 0x20], al
call qword [0x1402e6b30]
mov rcx, r14
mov edi, eax
call fcn.1401e36c8
mov rcx, r12
call fcn.140077120
mov eax, edi
jmp 0x1400a63bf
mov rcx, rdi
jmp 0x1400a63a8
test r12, r12
je 0x1400a63ad
mov rcx, r12
call fcn.140077120
mov rcx, qword [rsp + 0xa0]
call fcn.140077120
mov eax, reloc.WS2_32.dll_inet_ntoa
mov r14, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x58]
add rsp, 0x70
pop rbx
ret