Function at 0x14010fb58
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x88]
mov qword [rax], 0
lea r9, [rsp + 0x50]
mov r8, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14010fbc2
mov eax, dword [rsp + 0x20]
jmp 0x14010fdfe
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
jmp 0x14010fbdc
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14010fda1
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 2
jne 0x14010fbfe
mov qword [rsp + 0x40], reloc.WS2_32.dll_recv
jmp 0x14010fc00
jmp 0x14010fbce
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x20], 0
je 0x14010fc18
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x10], 0
ja 0x14010fc1a
jmp 0x14010fbce
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp qword [rax + 0x10], rcx
jae 0x14010fc2c
jmp 0x14010fbce
mov ecx, Ordinal_50
call qword [fcn.14008ac9c]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14010fc51
mov dword [rsp + 0x20], 8
jmp 0x14010fda1
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 4]
mov dword [rax + 4], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 8]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
mov ecx, dword [rcx + 0xc]
mov dword [rax + 0xc], ecx
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x20], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x18], 0
mov rax, qword [rsp + 0x28]
mov qword [rax + 0x28], 0
mov rcx, qword [rsp + 0x40]
call qword [fcn.14008ac9c]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x20], 0
jne 0x14010fcfa
mov dword [rsp + 0x20], 8
mov rcx, qword [rsp + 0x28]
call qword [fcn.140088928]
jmp 0x14010fda1
mov r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x20]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call fcn.14006dad0
mov rax, qword [rsp + 0x30]
cmp qword [rax + 0x18], 0
je 0x14010fd6a
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x18]
call qword [0x1401afc08]
mov rcx, qword [rsp + 0x28]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax + 0x18], 0
jne 0x14010fd6a
mov dword [rsp + 0x20], 8
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x20]
call qword [fcn.140088928]
mov rcx, qword [rsp + 0x28]
call qword [fcn.140088928]
jmp 0x14010fda1
cmp qword [rsp + 0x38], 0
jne 0x14010fd7c
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x48], 0
je 0x14010fd92
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 0x28], rcx
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
jmp 0x14010fbce
cmp qword [rsp + 0x50], 0
je 0x14010fdb4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [rsp + 0x20], 0
je 0x14010fdd0
mov rcx, qword [rsp + 0x38]
call fcn.14010fff0
mov qword [rsp + 0x38], 0
jmp 0x14010fdea
cmp qword [rsp + 0x38], 0
jne 0x14010fdea
mov dword [rsp + 0x20], 0x2af9
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x38]
mov qword [rax], rcx
mov eax, dword [rsp + 0x20]
add rsp, 0x68
ret