Function at 0x140006c9c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x340
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140017060]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r12, r8
mov qword [rsp + 0x50], r8
mov rbx, rdx
mov r15, rcx
mov edi, 0x8007000e
mov ecx, 0x68
call fcn.14000a20c
mov qword [rbp - 0x80], rax
xor r13d, r13d
test rax, rax
je 0x140006d0b
mov rcx, rax
call fcn.1400097d4
mov rsi, rax
jmp 0x140006d0e
mov rsi, r13
test rsi, rsi
je 0x140007241
movups xmm0, xmmword [rbx + 0x20]
movdqu xmmword [rsi + 0x44], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x80], r13
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400071f0
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400071f0
mov qword [rbp - 0x78], 0x104
call qword [sym.imp.ole32.dll_CoImpersonateClient]
mov edi, eax
test eax, eax
js 0x14000720c
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
lea r8, [rbx + 0x20]
mov rdx, qword [rbx + 0x18]
call fcn.140007ec8
mov edi, eax
call qword [sym.imp.ole32.dll_CoRevertToSelf]
test edi, edi
js 0x14000720c
mov edi, 0x8007000e
mov r14, qword [rbp - 0x78]
inc r14
mov eax, 2
mul r14
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000a2b8
mov qword [rsi + 0x58], rax
test rax, rax
je 0x140006dcf
lea r8, [rbp + 0x20]
mov rdx, r14
mov rcx, rax
call fcn.140004ab8
mov edi, eax
test edi, edi
js 0x14000720c
mov qword [r15 + 0x70], rsi
cmp qword [rbx], r13
je 0x1400071e9
mov ecx, 0x70
call fcn.14000a20c
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140006e18
lea r8, [rbx + 8]
movzx ecx, word [rbx + 0x30]
mov word [rsp + 0x20], cx
mov r9, qword [rbx]
mov rdx, r15
mov rcx, rax
call fcn.140004bf4
mov r14, rax
jmp 0x140006e1b
mov r14, r13
mov qword [rsp + 0x48], r14
test r14, r14
je 0x1400071f5
cmp qword [rsi + 0x60], r14
je 0x140006e4b
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x140006e47
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi + 0x60], r14
call fcn.1400069f0
mov dword [rbp - 0x50], r13d
mov qword [rbp - 0x58], r13
lea rdx, [rbp - 0x58]
mov rcx, r14
call fcn.140004de8
mov edi, eax
test eax, eax
js 0x1400071de
mov dword [rbp - 0x60], r13d
mov qword [rbp - 0x68], r13
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.140004ea0
mov edi, eax
test eax, eax
js 0x1400071de
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
lea rcx, [rsp + 0x60]
call fcn.140008cb0
nop
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
lea rcx, [rsp + 0x70]
call fcn.140008cb0
nop
mov r13d, dword [rbp - 0x60]
test r13d, r13d
je 0x140006ee6
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140007954
mov edi, eax
test edi, edi
js 0x14000715b
mov r12d, dword [rbp - 0x50]
test r12d, r12d
je 0x140006f1e
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.140007954
mov edi, eax
test edi, edi
js 0x140007156
and dword [rsp + 0x40], 0
test edi, edi
jne 0x140006fa7
mov r13d, dword [rsp + 0x40]
mov r14, qword [rbp - 0x58]
cmp r13d, r12d
jae 0x140006f9c
mov eax, r13d
mov rdi, qword [r14 + rax*8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x10], xmm0
mov rax, qword [rdi]
lea rdx, [rbp]
mov rcx, rdi
call qword [rax + 0x18]
mov rcx, qword [rax]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rcx]
call fcn.14000b030
mov rbx, rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x10]
mov r8b, al
mov r9, rbx
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x70]
call fcn.14000a0f0
mov edi, eax
inc r13d
test eax, eax
je 0x140006f38
mov r14, qword [rsp + 0x48]
mov r13d, dword [rbp - 0x60]
test edi, edi
js 0x140007156
test r13d, r13d
je 0x140007156
movups xmm0, xmmword [0x1400037c0]
movdqu xmmword [rbp - 0x20], xmm0
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [0x1400037b8]
call fcn.14000b030
mov r9, rax
mov r8b, 5
lea rdx, [rbp - 0x20]
mov rcx, qword [rsp + 0x60]
call fcn.14000a0f0
mov edi, eax
test eax, eax
js 0x140007156
xor r12d, r12d
test eax, eax
jne 0x1400070a1
mov r14, qword [rbp - 0x68]
cmp r12d, r13d
jae 0x14000709c
mov rdi, qword [r14 + r12*8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
mov rcx, qword [rax]
cmp rcx, qword [0x140002720]
jne 0x140007040
mov rax, qword [rax + 8]
cmp rax, qword [0x140002728]
jne 0x140007040
mov r8, rdi
mov rdx, rsi
mov rcx, r15
call fcn.140007dc8
jmp 0x14000708f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x40], xmm0
mov rax, qword [rdi]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call qword [rax + 0x18]
mov rcx, qword [rax]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rcx]
call fcn.14000b030
mov rbx, rax
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + 0x10]
mov r8b, al
mov r9, rbx
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.14000a0f0
mov edi, eax
inc r12d
test eax, eax
je 0x140007001
mov r14, qword [rsp + 0x48]
xor r13d, r13d
test edi, edi
js 0x14000714f
mov dword [rsp + 0x40], r13d
lea r8, [rsp + 0x40]
xor edx, edx
lea ecx, [rdx + 5]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov edx, dword [rsp + 0x40]
test edx, edx
jne 0x1400070d3
mov ebx, r13d
mov qword [rsp + 0x48], rbx
jmp 0x1400070f3
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1400070f3
mov ecx, 0x8007000e
call fcn.140004a98
int3
lea r8, [rsp + 0x40]
mov rdx, rbx
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140007111
cmp dword [rsp + 0x40], r13d
jne 0x14000712e
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x48], r13
lea rcx, [rsp + 0x48]
call fcn.14000969c
mov rbx, qword [rsp + 0x48]
test byte [0x140019640], 1
je 0x140007143
mov r8, rbx
call fcn.140006ad4
mov edi, eax
jmp 0x140007146
mov edi, r13d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r12, qword [rsp + 0x50]
jmp 0x14000715e
mov r12, qword [rsp + 0x50]
xor r13d, r13d
mov rcx, qword [rsp + 0x78]
or rdx, 0xffffffffffffffff
test rcx, rcx
je 0x1400071a2
mov eax, edx
lock xadd dword [rcx + 8], eax
add eax, edx
jne 0x1400071a2
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or rdx, 0xffffffffffffffff
mov eax, edx
lock xadd dword [rbx + 0xc], eax
add eax, edx
jne 0x1400071a2
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + 8]
or rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400071de
mov eax, edx
lock xadd dword [rcx + 8], eax
add eax, edx
jne 0x1400071de
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or rcx, 0xffffffffffffffff
mov eax, ecx
lock xadd dword [rbx + 0xc], eax
add eax, ecx
jne 0x1400071de
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
jmp 0x1400071f5
mov edi, 0x80070057
jmp 0x14000720c
mov edi, 0x8000ffff
test edi, edi
js 0x14000720c
mov rax, qword [rbp - 0x70]
mov qword [r12], rax
mov rax, qword [rbp - 0x80]
mov qword [r12 + 8], rax
jmp 0x140007241
lea rbx, [r15 + 8]
mov qword [rsp + 0x50], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x58], 1
mov qword [r15 + 0x70], r13
mov rcx, rsi
call fcn.140009ab8
mov rcx, rsi
call fcn.140007274
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14000a5c0
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret