Function at 0x140080f60
Capabilities:
Resolve dns

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
cmp r8, 0xffffffffffffffff
je 0x140081181
mov rbx, r8
mov r12, r8
inc r12
js 0x140081181
mov rdi, r9
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x1401bb111]
xor ecx, ecx
mov rdx, r12
call fcn.140089d40
test rax, rax
je 0x140081181
mov r15, rax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 0
mov rcx, rax
mov rdx, r14
mov r8, rbx
call sub.msvcrt.dll_memcpy
mov qword [rsp + 0x50], rbx
lea rax, [r14 + 7]
and rax, 0xfffffffffffffff8
sub rax, r14
je 0x14008100e
cmp rax, rbx
cmovae rax, rbx
test rax, rax
je 0x14008100e
xor ecx, ecx
cmp byte [r14 + rcx], 0
je 0x1400810d3
inc rcx
cmp rax, rcx
jne 0x140080ff0
lea rcx, [rbx - 0x10]
cmp rax, rcx
jbe 0x140081014
jmp 0x14008105e
lea rcx, [rbx - 0x10]
xor eax, eax
movdqa xmm0, xmmword [0x140127240]
movabs rdx, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [r14 + rax]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r8, xmm2
test r8, rdx
jne 0x14008105e
add rax, 0x10
cmp rax, rcx
jbe 0x140081030
cmp rax, rbx
je 0x14008107f
nop word cs:[rax + rax]
cmp byte [r14 + rax], 0
je 0x1400810d3
inc rax
cmp rbx, rax
jne 0x140081070
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x20], xmm0
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov r15, qword [rsp + 0x20]
cmp r15, rbx
jne 0x140081106
cmp rbx, 0xffffffffffffffff
je 0x140081181
lea r15, [rbx + 1]
mov rdx, r15
not rdx
shr rdx, 0x3f
test rbx, rbx
je 0x140081119
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x80], rbx
mov eax, 1
jmp 0x14008111b
lea rax, str.file_name_contained_an_unexpected_NUL_byte
mov qword [rsi + 8], rax
mov qword [rsi], 1
mov rcx, qword [0x1401bb0c8]
xor edx, edx
mov r8, r15
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.1400fda74
jne 0x140081149
lea rcx, [rsp + 0x20]
call fcn.14000f800
mov r15, qword [rsp + 0x20]
jmp 0x140081149
xor eax, eax
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x58]
lea r9, [rsp + 0x70]
mov r8, r15
call fcn.14000f760
cmp qword [rsp + 0x58], 0
jne 0x140081181
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r14, qword [rsp + 0x28]
mov byte [r14 + rbx], 0
inc rbx
mov qword [rsp + 0x30], rbx
cmp r15, rbx
jbe 0x14008118e
mov rcx, qword [0x1401bb0c8]
xor edx, edx
mov r8, r14
test rbx, rbx
je 0x140081183
mov r9, rbx
call sub.KERNEL32.dll_HeapReAlloc
mov r14, rax
test rax, rax
jne 0x14008118e
ud2
call fcn.1400fda74
mov r14d, 1
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x58], 0
lea r8, [rsp + 0x70]
lea r9, [rsp + 0x58]
mov rcx, r14
xor edx, edx
call sub.ws2_32.dll_getaddrinfo
test eax, eax
je 0x1400811e3
call sub.ws2_32.dll_WSAGetLastError
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400811f8
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x58]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [r14], 0
test rbx, rbx
je 0x140081219
mov rcx, qword [0x1401bb0c8]
xor edx, edx
mov r8, r14
call fcn.1400fda74
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret