Function at 0x180001470
Capabilities:
Get hostname

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
test r8, r8
je 0x1800014e2
movdqu xmm0, xmmword [rcx]
pcmpeqb xmm0, xmmword [section..data]
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1800014ec
mov eax, dword [0x18001988c]
lea ecx, [rax - 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete cl
cmp dword [0x180019888], 0xa
setl dl
mov eax, 0x80004005
test dl, cl
jne 0x18000185c
xor dl, cl
jne 0x18000185c
nop word cs:[rax + rax]
nop
jmp 0x1800014e0
mov eax, 0x80070057
jmp 0x18000185c
mov rsi, r8
lea rdx, [0x1800102c0]
lea rdi, [rsp + 0x60]
mov r8d, 0x1b0
mov rcx, rdi
call fcn.180004560
mov dword [rsp + 0x2c], 0x1b0
lea r8, [rsp + 0x2c]
mov ecx, 1
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov r12d, dword [rsp + 0x2c]
test r12, r12
je 0x1800017ae
cmp r12d, 7
ja 0x18000153f
xor ecx, ecx
jmp 0x180001799
mov qword [rsp + 0x30], rsi
movabs rdx, 0xc79d76081fef2439
movabs rax, 0x60089d96d05d15c6
movabs r15, 0x321fed13dbfeb1fc
mov ecx, r12d
and ecx, 0xfffffff8
mov r14, 0xffffffffffffffff
xor r9d, r9d
movdqa xmm0, xmmword [str.aaaaaaaa]
pxor xmm1, xmm1
mov r10, rax
not r10
and rax, 0xfffffffffffffffd
mov qword [rsp + 0x38], rax
mov r11, r15
not r11
and r15, 0xfffffffffffffffb
mov rax, rdx
not rax
movabs r13, 0x7ffffffffffffff9
and r13, rdx
jmp 0x1800015c1
add r9, 8
add r14, 0xfffffffffffffff8
cmp rcx, r9
je 0x18000177c
movdqa xmm2, xmmword [rsp + r9*2 + 0x60]
movdqa xmm3, xmm0
psubusw xmm3, xmm2
pcmpeqw xmm3, xmm1
movd ebp, xmm3
test bpl, 1
je 0x1800015ed
movd r8d, xmm2
add r8d, 0xffffffe0
mov word [rsp + r9*2 + 0x60], r8w
shr ebp, 0x10
test bpl, 1
je 0x180001613
pextrw ebp, xmm2, 1
add ebp, 0xffffffe0
mov ebx, r9d
and ebx, 1
mov rdi, r9
xor rdi, 1
or rdi, rbx
mov word [rsp + rdi*2 + 0x60], bp
pextrw ebp, xmm3, 2
test bpl, 1
je 0x180001664
pextrw ebp, xmm2, 2
add ebp, 0xffffffe0
mov rdx, r14
movabs rsi, 0x60089d96d05d15c6
and rdx, rsi
mov ebx, r14d
not ebx
mov rdi, r9
and rdi, r10
or rdi, rdx
mov edx, r10d
and edx, 2
add rdx, qword [rsp + 0x38]
xor rdx, rdi
mov edi, esi
or edi, r10d
and edi, ebx
and edi, 2
or rdi, rdx
mov word [rsp + rdi*2 + 0x60], bp
pextrw edx, xmm3, 3
test dl, 1
je 0x18000168b
pextrw edx, xmm2, 3
add edx, 0xffffffe0
mov ebp, r9d
and ebp, 3
mov rbx, r9
xor rbx, 3
or rbx, rbp
mov word [rsp + rbx*2 + 0x60], dx
pextrw edx, xmm3, 4
test dl, 1
je 0x1800016d9
pextrw ebp, xmm2, 4
add ebp, 0xffffffe0
mov rdx, r14
movabs rsi, 0x321fed13dbfeb1fc
and rdx, rsi
mov ebx, r14d
not ebx
mov rdi, r9
and rdi, r11
or rdi, rdx
mov edx, r11d
and edx, 4
or rdx, r15
xor rdx, rdi
mov edi, esi
or edi, r11d
and edi, ebx
and edi, 4
or rdi, rdx
mov word [rsp + rdi*2 + 0x60], bp
pextrw edx, xmm3, 5
test dl, 1
je 0x180001700
pextrw edx, xmm2, 5
add edx, 0xffffffe0
mov ebp, r9d
and ebp, 5
mov rbx, r9
xor rbx, 5
or rbx, rbp
mov word [rsp + rbx*2 + 0x60], dx
pextrw edx, xmm3, 6
test dl, 1
je 0x18000174c
pextrw ebp, xmm2, 6
add ebp, 0xffffffe0
mov rdx, r14
movabs rsi, 0xc79d76081fef2439
and rdx, rsi
mov ebx, r14d
not ebx
mov rdi, r9
and rdi, rax
or rdi, rdx
mov edx, eax
and edx, 6
or rdx, r13
xor rdx, rdi
mov edi, esi
or edi, eax
and edi, ebx
and edi, 6
or rdi, rdx
mov word [rsp + rdi*2 + 0x60], bp
pextrw edx, xmm3, 7
test dl, 1
je 0x1800015b0
pextrw edx, xmm2, 7
add edx, 0xffffffe0
mov ebp, r9d
and ebp, 7
mov rbx, r9
xor rbx, 7
or rbx, rbp
mov word [rsp + rbx*2 + 0x60], dx
jmp 0x1800015b0
cmp rcx, r12
mov rsi, qword [rsp + 0x30]
jne 0x180001799
jmp 0x1800017ae
add rcx, 1
cmp rcx, r12
jae 0x1800017ae
movzx eax, word [rsp + rcx*2 + 0x60]
cmp ax, 0x61
jb 0x180001790
add eax, 0xffffffe0
mov word [rsp + rcx*2 + 0x60], ax
jmp 0x180001790
lea rdi, [rsp + 0x210]
mov rcx, rdi
call fcn.180001870
lea rdx, [rsp + 0x60]
mov rcx, rdi
mov r8d, 0x1b0
call fcn.180001890
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov rdx, rdi
call fcn.180003920
mov rcx, rdi
call fcn.180001870
mov rcx, rdi
mov rdx, rbx
mov r8d, 0x10
call fcn.180001890
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.180003920
movdqa xmm0, xmmword [rsp + 0x40]
pcmpeqb xmm0, xmmword [0x1800102b0]
pmovmskb ecx, xmm0
mov eax, 0x80004005
cmp ecx, 0xffff
jne 0x18000185c
lea rcx, [0x1800198b0]
lea r8, [rsp + 0x50]
mov edx, 0x10
mov r9d, 0x10
call fcn.18000447c
lea rax, [0x1800010c0]
mov qword [0x180019880], rax
lea rax, [0x180019880]
mov qword [rsi], rax
xor eax, eax
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret