Function at 0x140008550
Capabilities:
Get hostname

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x348
movdqa xmmword [rsp + 0x330], xmm8
movdqa xmmword [rsp + 0x320], xmm7
movdqa xmmword [rsp + 0x310], xmm6
lea rsi, [rsp + 0x240]
mov rcx, rsi
call fcn.140042db0
mov rcx, rsi
call fcn.140043080
mov dword [rsp + 0xc0], 0
lea r8, [rsp + 0xc0]
mov ecx, 5
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x1400085ea
mov edi, dword [rsp + 0xc0]
test rdi, rdi
je 0x1400085fc
lea rdx, [rdi + rdi]
movzx eax, byte [0x141d049e0]
mov ecx, 8
call fcn.14003c1f0
test rax, rax
je 0x14000b07b
mov rbx, rax
jmp 0x140008601
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [rsp + 0xc0]
test rdi, rdi
jne 0x1400085c7
mov ebx, 2
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rdi
lea rsi, [rsp + 0xc0]
mov ecx, 5
mov rdx, rbx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140008653
test rdi, rdi
je 0x14000867f
lea rax, [rdi + rdi]
xor r14d, r14d
nop dword [rax]
cmp word [rbx + r14*2], 0
je 0x140008683
inc r14
add rax, 0xfffffffffffffffe
jne 0x140008640
jmp 0x140008697
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rdi, rdi
je 0x140008670
mov rcx, qword [0x141d049c8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movabs rbx, 0x8000000000000000
mov r13, rbx
jmp 0x1400086e6
xor edi, edi
jmp 0x140008697
mov r15, r14
sub r15, rdi
ja 0x14000af6f
mov qword [rsp + 0x70], r14
mov rdi, r14
lea rcx, [rsp + 0xf0]
mov rdx, rbx
mov r8, rdi
call fcn.140011ad0
mov r13, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x100]
cmp qword [rsp + 0x60], 0
je 0x1400086dc
mov rcx, qword [0x141d049c8]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movabs rbx, 0x8000000000000000
lea rax, [0x141ce8644]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x60], 0xe6193e9a
mov edx, dword [rsp + 0x60]
call fcn.140006a50
movabs rcx, 0x4c9e8ac8ef319d88
xor rcx, qword [rax]
mov edx, 0x253f414b
xor edx, dword [rax + 8]
movzx r8d, byte [rax + 0xe]
movzx eax, word [rax + 0xc]
mov r9d, eax
shr r9d, 8
xor al, 0xc0
xor r9b, 0xbf
xor r8b, 0xde
mov r10d, 1
mov qword [rsp + 0xf0], rcx
mov dword [rsp + 0xf8], edx
mov byte [rsp + 0xfc], al
mov byte [rsp + 0xfd], r9b
mov byte [rsp + 0xfe], r8b
cmp r13, rbx
cmovne r10, rdi
je 0x140008797
cmp r14, 0xf
jne 0x140008797
mov rax, qword [rdi]
xor rax, qword [rsp + 0xf0]
mov rcx, qword [rdi + 7]
xor rcx, qword [rsp + 0xf7]
or rcx, rax
je 0x1400096f2
mov qword [rsp + 0x220], r10
lea rcx, [rsp + 0xf0]
call fcn.140043b50
cmp byte [rsp + 0xf0], 0x12
jne 0x14000b07b
lea rax, [0x141ced0ff]
mov qword [rsp + 0xf0], rax
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0xf0]
mov dword [rsp + 0xf0], 0x9c033dbd
mov edx, dword [rsp + 0xf0]
call fcn.1400068f0
movabs rcx, 0xe5db86cfc15003bc
xor rcx, qword [rax]
movabs rdx, 0xff36abd53547a58e
xor rdx, qword [rax + 8]
movabs r8, 0xe06042dd63cfc093
xor r8, qword [rax + 0x10]
movabs r9, 0x14b49c88ef494ec0
xor r9, qword [rax + 0x18]
movzx r10d, byte [rax + 0x22]
movzx eax, word [rax + 0x20]
mov r11d, eax
shr r11d, 8
xor al, 0x5a
xor r11b, 0x3c
xor r10b, 0x9e
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov byte [rsp + 0x80], al
mov byte [rsp + 0x81], r11b
mov byte [rsp + 0x82], r10b
lea rax, [rsp + 0x60]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], 0x23
mov qword [rsp + 0x48], rsi
lea rax, [0x1400042d0]
mov qword [rsp + 0x50], rax
lea rax, [0x1400586d8]
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0xf8], 2
mov qword [rsp + 0x110], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x108], 1
lea rcx, [rsp + 0xf0]
call fcn.140031ac0
test r13, r13
je 0x14000a8d5
mov rcx, qword [0x141d049c8]
xor edx, edx
mov r8, rdi
jmp 0x14000a8cf
mov qword [rsp + 0x20], 2
lea rcx, [rsp + 0x60]
mov r9d, 2
mov rdx, rdi
mov r8, r15
call fcn.140052410
mov rbx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
lea rcx, [rbx + r12*2]
cmp r15, 2
jb 0x14000afc7
not rdi
add r14, rdi
add r14, r14
xor edx, edx
mov r8, r14
call fcn.140048cd0
lea rax, [r12 + r15]
lea rcx, [rbx + rax*2]
add rcx, 0xfffffffffffffffe
add r12, r15
dec r12
mov word [rcx], 0
inc r12
mov r14, r12
jmp 0x14000868f