Function at 0x140012fa8
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x870]
sub rsp, 0x970
mov rax, qword [0x14006f100]
xor rax, rsp
mov qword [rbp + 0x860], rax
mov dil, dl
mov dword [rbp - 0x60], ecx
mov r15d, 0x400
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.1400526b0
mov edx, 8
lea rcx, [rbp - 0x50]
call qword [sym.imp.WINMM.dll_timeGetDevCaps]
mov r14d, 1
test eax, eax
jne 0x14001301c
mov ecx, r14d
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, r14d
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov ebx, 0x10
mov dword [rbp - 0x58], ebx
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x460]
call fcn.1400526b0
mov dword [rbp - 0x54], ebx
lea rdx, [rbp - 0x54]
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140013097
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, r14d
mov edx, 0x80000000
lea rcx, str.5URczuFu.txt
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400130d4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140013117
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x20]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 8
lea rcx, [rbp - 8]
call qword [sym.imp.WINMM.dll_timeGetDevCaps]
test eax, eax
jne 0x14001313c
mov ecx, r14d
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov ecx, r14d
call qword [sym.imp.WINMM.dll_timeEndPeriod]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
xor edx, edx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14001317f
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x18]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [0x140070f60]
mov qword [rsp + 0x50], rcx
call fcn.14002b7c4
test eax, eax
jne 0x1400132f6
cmp dword [0x140070fac], 0x7fffffff
je 0x1400132e1
mov rcx, qword [0x140070fb0]
mov rax, qword [rcx + 8]
mov edx, dword [rbp - 0x60]
jmp 0x1400131c9
cmp dword [rax + 0x20], edx
jae 0x1400131c3
mov rax, qword [rax + 0x10]
jmp 0x1400131c9
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400131b8
cmp byte [rcx + 0x19], 0
jne 0x1400132af
cmp edx, dword [rcx + 0x20]
jb 0x1400132af
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x70]
lea r15, [0x140070fb0]
mov rcx, r15
call fcn.140012ab0
mov rbx, qword [rax]
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x140013213
lock add dword [rax + 8], r14d
mov rax, qword [rbx + 0x28]
mov qword [rsp + 0x40], rax
mov rbx, qword [rbx + 0x30]
mov qword [rsp + 0x48], rbx
mov byte [rax + 0x61], dil
mov byte [rax + 0x60], r14b
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.140012ab0
mov rdx, qword [rax]
add rdx, 0x28
lea rcx, [0x140070f30]
call fcn.1400092d4
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x70]
mov rcx, r15
call fcn.140007e64
movups xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r15
call fcn.140007ed8
nop
test rbx, rbx
je 0x1400132af
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400132af
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400132af
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
call fcn.14002b7ec
mov rcx, qword [rbp + 0x860]
xor rcx, rsp
call fcn.14002dcb0
lea r11, [rsp + 0x970]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov dword [0x140070fac], 0x7ffffffe
mov ecx, 6
call fcn.14002b648
int3
mov ecx, 5
call fcn.14002b648
int3