Function at 0x140007a00
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 - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rax, qword [0x140019060]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov r15, r8
mov qword [rbp - 0x70], r8
mov rdi, rdx
mov r13, rcx
mov qword [rbp - 0x50], rcx
mov esi, 0x8007000e
mov ecx, 0x70
call fcn.14000b330
mov qword [rsp + 0x70], rax
xor r12d, r12d
test rax, rax
je 0x140007a73
mov rcx, rax
call fcn.14000a788
mov r14, rax
jmp 0x140007a76
mov r14, r12
test r14, r14
je 0x140008067
movups xmm0, xmmword [rdi + 0x20]
movdqu xmmword [r14 + 0x4c], xmm0
mov qword [rbp - 0x68], r12
mov qword [rsp + 0x70], r12
lea rcx, [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140008013
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140008013
mov qword [rbp - 0x78], 0x104
call qword [sym.imp.ole32.dll_CoImpersonateClient]
mov esi, eax
test eax, eax
js 0x140008034
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x20]
lea r8, [rdi + 0x20]
mov rdx, qword [rdi + 0x18]
call fcn.140008e2c
mov esi, eax
test eax, eax
js 0x140007b21
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea r9, [r14 + 0x40]
xor r8d, r8d
lea edx, [r8 + 0xc]
call qword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x140007b21
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
call qword [sym.imp.ole32.dll_CoRevertToSelf]
test esi, esi
js 0x140008034
mov esi, 0x8007000e
mov rbx, qword [rbp - 0x78]
inc rbx
mov eax, 2
mul rbx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14000b3b0
mov qword [r14 + 0x60], rax
test rax, rax
je 0x140007b70
lea r8, [rbp + 0x20]
mov rdx, rbx
mov rcx, rax
call fcn.140005408
mov esi, eax
test esi, esi
js 0x140008034
mov qword [r13 + 0x70], r14
cmp qword [rdi], r12
je 0x14000800c
mov ecx, 0x70
call fcn.14000b330
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140007bb9
lea r8, [rdi + 8]
movzx ecx, word [rdi + 0x30]
mov word [rsp + 0x20], cx
mov r9, qword [rdi]
mov rdx, r13
mov rcx, rax
call fcn.1400055d8
mov r15, rax
jmp 0x140007bbc
mov r15, r12
mov qword [rsp + 0x48], r15
test r15, r15
je 0x14000801a
lea rcx, [r14 + 0x68]
cmp qword [rcx], r15
je 0x140007bdb
mov rdx, r15
call fcn.140004404
call fcn.1400076cc
mov dword [rbp - 0x58], r12d
mov qword [rbp - 0x60], r12
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.140005908
mov esi, eax
test eax, eax
js 0x140007ff5
mov dword [rbp - 0x80], r12d
mov qword [rsp + 0x78], r12
lea rdx, [rsp + 0x78]
mov rcx, r15
call fcn.140005a08
mov esi, eax
test eax, eax
js 0x140007ff5
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x50]
call fcn.140009dfc
nop
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea rcx, [rsp + 0x60]
call fcn.140009dfc
nop
cmp dword [rbp - 0x80], r12d
jbe 0x140007c75
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r12d
mov byte [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call fcn.140008808
mov esi, eax
test esi, esi
js 0x140007f3f
mov r12d, dword [rbp - 0x58]
xor ebx, ebx
test r12d, r12d
je 0x140007cad
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], bl
mov r9b, 1
xor r8d, r8d
mov rdx, r14
mov rcx, r13
call fcn.140008808
mov esi, eax
test esi, esi
js 0x140007f3c
jne 0x140007d5b
mov r13d, ebx
mov r15, qword [rbp - 0x60]
cmp r13d, r12d
jae 0x140007d52
mov eax, r13d
mov rsi, qword [r15 + rax*8]
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x10], xmm0
mov rax, qword [rsi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.1400049d0]
lea rdx, [rbp]
mov rcx, rsi
call rbx
mov rcx, qword [rax]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rcx]
call fcn.14000c170
mov rdi, rax
mov rdx, qword [rsi]
mov rbx, qword [rdx + 0x10]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov r8b, al
mov r9, rdi
lea rdx, [rbp - 0x10]
mov rcx, qword [rsp + 0x60]
call fcn.14000b1ac
mov esi, eax
inc r13d
test eax, eax
je 0x140007cc2
mov r15, qword [rsp + 0x48]
mov r13, qword [rbp - 0x50]
xor r12d, r12d
test esi, esi
js 0x140007f3f
cmp dword [rbp - 0x80], r12d
jbe 0x140007f3f
movups xmm0, xmmword [0x1400039f0]
movdqu xmmword [rbp - 0x50], xmm0
xor edx, edx
lea r8d, [r12 + 0x10]
mov rcx, qword [0x1400039e8]
call fcn.14000c170
mov r9, rax
mov r8b, 5
lea rdx, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.14000b1ac
mov esi, eax
test eax, eax
js 0x140007f3f
jne 0x140007e8c
mov r15, qword [rsp + 0x78]
cmp r12d, dword [rbp - 0x80]
jae 0x140007e87
mov eax, r12d
mov rsi, qword [r15 + rax*8]
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov rcx, qword [rax]
cmp rcx, qword [0x140002870]
jne 0x140007e07
mov rax, qword [rax + 8]
cmp rax, qword [0x140002878]
jne 0x140007e07
mov r8, rsi
mov rdx, r14
mov rcx, r13
call fcn.140008cf8
jmp 0x140007e7a
mov rax, qword [rsi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x40], xmm0
mov rax, qword [rsi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.1400049d0]
lea rdx, [rbp + 0x10]
mov rcx, rsi
call rbx
mov rcx, qword [rax]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, qword [rcx]
call fcn.14000c170
mov rdi, rax
mov rcx, qword [rsi]
mov rbx, qword [rcx + 0x10]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rsi
call rbx
mov r8b, al
mov r9, rdi
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x50]
call fcn.14000b1ac
mov esi, eax
inc r12d
test eax, eax
je 0x140007db8
mov r15, qword [rsp + 0x48]
xor r12d, r12d
test esi, esi
js 0x140007f3f
mov dword [rsp + 0x40], r12d
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 0x140007ebe
mov ebx, r12d
mov qword [rsp + 0x48], rbx
jmp 0x140007ede
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140007ede
mov ecx, 0x8007000e
call fcn.140005490
int3
lea r8, [rsp + 0x40]
mov rdx, rbx
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140007efc
cmp dword [rsp + 0x40], r12d
jne 0x140007f19
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x48], r12
lea rcx, [rsp + 0x48]
call fcn.14000a650
mov rbx, qword [rsp + 0x48]
test byte [0x14001b640], 1
je 0x140007f2e
mov r8, rbx
call fcn.1400077b0
mov esi, eax
jmp 0x140007f31
mov esi, r12d
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x140007f3f
xor r12d, r12d
mov rcx, qword [rsp + 0x68]
or rdx, 0xffffffffffffffff
test rcx, rcx
je 0x140007f9e
mov eax, edx
lock xadd dword [rcx + 8], eax
add eax, edx
jne 0x140007f9e
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rdi
call rbx
or rdx, 0xffffffffffffffff
mov eax, edx
lock xadd dword [rdi + 0xc], eax
add eax, edx
jne 0x140007f9e
mov rdi, qword [rsp + 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rdi
call rbx
or rdx, 0xffffffffffffffff
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140007ff5
mov eax, edx
lock xadd dword [rcx + 8], eax
add eax, edx
jne 0x140007ff5
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rdi
call rbx
or rcx, 0xffffffffffffffff
mov eax, ecx
lock xadd dword [rdi + 0xc], eax
add eax, ecx
jne 0x140007ff5
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, rdi
call rbx
mov rax, qword [r15]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.1400049d0]
mov rcx, r15
call rbx
jmp 0x14000801a
mov esi, 0x80070057
jmp 0x140008034
mov esi, 0x8000ffff
jmp 0x14000801e
mov r15, qword [rbp - 0x70]
test esi, esi
js 0x140008034
mov rax, qword [rbp - 0x68]
mov qword [r15], rax
mov rax, qword [rsp + 0x70]
mov qword [r15 + 8], rax
jmp 0x140008067
lea rbx, [r13 + 8]
mov qword [rbp - 0x30], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rbp - 0x28], 1
mov qword [r13 + 0x70], r12
mov rcx, r14
call fcn.14000aa54
mov rcx, r14
call fcn.14000809c
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.14000b710
mov rbx, qword [rsp + 0x398]
add rsp, 0x340
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret