Function at 0x14009b300
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1e0
mov rsi, rcx
mov r14, qword [rdx]
mov rbx, qword [rdx + 8]
movzx edi, word [rdx + 0x10]
mov rax, qword [0x14016dbd8]
cmp rax, 3
add ecx, dword [rdi]
invalid
invalid
add dword [rax], eax
add byte [rax], al
cmp rbx, 0x17f
ja 0x14009b4df
lea r15, [rsp + 0x60]
mov rcx, r15
mov rdx, r14
mov r8, rbx
call fcn.1400becb0
mov byte [rsp + rbx + 0x60], 0
lea rax, [rbx + 1]
cmp rbx, 0xe
ja 0x14009b378
xor edx, edx
nop
cmp byte [rsp + rdx + 0x60], 0
je 0x14009b434
inc rdx
cmp rax, rdx
jne 0x14009b360
jmp 0x14009b494
lea rcx, [rsp + 0x67]
and rcx, 0xfffffffffffffff8
sub rcx, r15
je 0x14009b3ae
je 0x14009b3ae
xor edx, edx
nop word [rax + rax]
cmp byte [rsp + rdx + 0x60], 0
je 0x14009b434
inc rdx
cmp rcx, rdx
jne 0x14009b390
lea rdx, [rbx - 0xf]
cmp rcx, rdx
jbe 0x14009b3b4
jmp 0x14009b3fe
lea rdx, [rbx - 0xf]
xor ecx, ecx
movdqa xmm0, xmmword [0x1400d3760]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rsp + rcx + 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
jle 0x14009b3c1
test r9, r8
jne 0x14009b3fe
add rcx, 0x10
cmp rcx, rdx
cmp ecx, edx
jbe 0x14009b3d0
sub rax, rcx
je 0x14009b494
lea r8, [rsp + rcx]
add r8, 0x60
xor edx, edx
nop word cs:[rax + rax]
nop word cs:[rax + rax]
nop dword cs:[rax + rax]
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
cmp byte [r8 + rdx], 0
je 0x14009b431
invalid
inc rdx
cmp rax, rdx
jne 0x14009b420
jmp 0x14009b494
add rdx, rcx
cmp rdx, rbx
jne 0x14009b494
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x38], 1
add dword [rax], eax
add byte [rax], al
mov qword [rsp + 0x28], 0
lea rcx, [rsp + 0x60]
lea r8, [rsp + 0x30]
lea r9, [rsp + 0x28]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
adc eax, 0x380f1
test eax, eax
je 0x14009b4a8
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov dword [rsi + 8], eax
mov eax, 1
jmp case.0x140094fa4.338
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14009b4be
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x10], eax
mov word [rsi + 0x18], di
xor eax, eax
mov qword [rsi], rax
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.1400d13b0
cmp rbx, 0x17f
cmp ebx, 0x17f
add byte [rax], al
jbe 0x14009b33a
mov rcx, rsi
mov rdx, r14
mov r8, rbx
mov r9d, edi
add rsp, 0x1e0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp 0x1400d1410
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r9d
mov rsi, rcx
lea rcx, [rsp + 0x30]
call fcn.140010620
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400d146a
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
cmp qword [rsp + 0x38], 0
je 0x1400d14f4
mov edx, 1
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400bdee0
mov rdi, qword [rsp + 0x38]
mov r14, qword [rsp + 0x40]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x58], 1
mov qword [rsp + 0x28], 0
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x28]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400d14c9
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x1400d14dc
mov rax, qword [rsp + 0x28]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], bx
xor eax, eax
mov qword [rsi], rax
mov byte [rdi], 0
test r14, r14
je 0x1400d14f4
mov edx, 1
mov rcx, rdi
call fcn.1400bdee0
nop
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret