Function at 0x1400080e0
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.140043160
mov rcx, rsi
call fcn.140043430
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 0x14000817a
mov edi, dword [rsp + 0xc0]
test rdi, rdi
je 0x14000818c
lea rdx, [rdi + rdi]
movzx eax, byte [0x141d019e8]
mov ecx, 8
call fcn.14003c8f0
test rax, rax
je 0x14000ac0b
mov rbx, rax
jmp 0x140008191
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [rsp + 0xc0]
test rdi, rdi
jne 0x140008157
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 0x1400081e3
test rdi, rdi
je 0x14000820f
lea rax, [rdi + rdi]
xor r14d, r14d
nop dword [rax]
cmp word [rbx + r14*2], 0
je 0x140008213
inc r14
add rax, 0xfffffffffffffffe
jne 0x1400081d0
jmp 0x140008227
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rdi, rdi
je 0x140008200
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movabs rbx, 0x8000000000000000
mov r13, rbx
jmp 0x140008276
xor edi, edi
jmp 0x140008227
mov r15, r14
sub r15, rdi
ja 0x14000aaff
mov qword [rsp + 0x70], r14
mov rdi, r14
lea rcx, [rsp + 0xf0]
mov rdx, rbx
mov r8, rdi
call fcn.1400116b0
mov r13, qword [rsp + 0xf0]
mov rdi, qword [rsp + 0xf8]
mov r14, qword [rsp + 0x100]
cmp qword [rsp + 0x60], 0
je 0x14000826c
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapFree]
movabs rbx, 0x8000000000000000
lea rax, [0x141ce5c44]
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.140006af0
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 0x140008327
cmp r14, 0xf
jne 0x140008327
mov rax, qword [rdi]
xor rax, qword [rsp + 0xf0]
mov rcx, qword [rdi + 7]
xor rcx, qword [rsp + 0xf7]
or rcx, rax
je 0x140009282
mov qword [rsp + 0x220], r10
lea rcx, [rsp + 0xf0]
call fcn.140043dd0
cmp byte [rsp + 0xf0], 0x12
jne 0x14000ac0b
lea rax, [0x141cea6ff]
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.140007420
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, [0x140003ec0]
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.1400321b0
test r13, r13
je 0x14000a465
mov rcx, qword [0x141d019d0]
xor edx, edx
mov r8, rdi
jmp 0x14000a45f
mov qword [rsp + 0x20], 2
lea rcx, [rsp + 0x60]
mov r9d, 2
mov rdx, rdi
mov r8, r15
call fcn.140055f40
mov rbx, qword [rsp + 0x68]
mov r12, qword [rsp + 0x70]
lea rcx, [rbx + r12*2]
cmp r15, 2
jb 0x14000ab57
not rdi
add r14, rdi
add r14, r14
xor edx, edx
mov r8, r14
call fcn.140048bc0
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 0x14000821f