Function at 0x1400a5ae0
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
lea rdi, [rsp + 0x20]
mov ecx, Ordinal_27
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0xa8]
mov qword [rax], 0
lea r9, [rsp + 0x38]
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x1400a5b6d
mov eax, dword [rsp + 0x68]
jmp 0x1400a5dca
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
jmp 0x1400a5b87
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400a5d6d
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x18], 0
je 0x1400a5bb7
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x18]
call fcn.14010a4c0
inc rax
mov qword [rsp + 0x78], rax
jmp 0x1400a5bc0
mov qword [rsp + 0x78], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x20]
cmp dword [rax + 4], 2
jne 0x1400a5be0
mov qword [rsp + 0x60], reloc.WS2_32.dll_recv
jmp 0x1400a5bf8
mov rax, qword [rsp + 0x20]
cmp dword [rax + 4], 0x17
jne 0x1400a5bf6
mov qword [rsp + 0x60], Ordinal_32
jmp 0x1400a5bf8
jmp 0x1400a5b79
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x20], 0
je 0x1400a5c10
mov rax, qword [rsp + 0x20]
cmp qword [rax + 0x10], 0
ja 0x1400a5c15
jmp 0x1400a5b79
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
cmp qword [rax + 0x10], rcx
jae 0x1400a5c2a
jmp 0x1400a5b79
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
lea rax, [rax + rcx + 0x30]
mov rcx, rax
call qword [section..data]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x1400a5c5c
mov dword [rsp + 0x68], 8
jmp 0x1400a5d6d
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 4]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 8]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x20]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x28], 0
mov rax, qword [rsp + 0x58]
add rax, 0x30
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x20], rax
mov r8, qword [rsp + 0x60]
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x20]
call fcn.1400f6a70
cmp qword [rsp + 0x70], 0
je 0x1400a5d36
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
add rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
mov qword [rcx + 0x18], rax
mov r8, qword [rsp + 0x70]
mov rax, qword [rsp + 0x20]
mov rdx, qword [rax + 0x18]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x18]
call fcn.1400f6a70
cmp qword [rsp + 0x48], 0
jne 0x1400a5d48
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x50], 0
je 0x1400a5d5e
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x50], rax
jmp 0x1400a5b79
cmp qword [rsp + 0x38], 0
je 0x1400a5d80
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [rsp + 0x68], 0
je 0x1400a5d9c
mov rcx, qword [rsp + 0x48]
call fcn.1400a5a90
mov qword [rsp + 0x48], 0
jmp 0x1400a5db6
cmp qword [rsp + 0x48], 0
jne 0x1400a5db6
mov dword [rsp + 0x68], 0x2af9
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
mov eax, dword [rsp + 0x68]
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_accept
call fcn.1400f3380
mov rax, rdi
add rsp, 0x80
pop rdi
ret