Function at 0x140060d50
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.140079740
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rax
call fcn.140070120
lea rbx, [rbp - 0x50]
lea r8, [rbp - 0x20]
mov rcx, rbx
mov edx, eax
call fcn.14001f770
mov rcx, rbx
call fcn.14001e160
mov dword [rbp], 0
lea rax, [0x14008fd00]
mov qword [rbp + 8], rax
lea rcx, [rbp - 0x20]
mov r8, rbp
mov rdx, rbx
call fcn.140061390
cmp dword [rbp], 0
jne 0x1400611b9
mov rax, qword [rbp - 0x38]
cmp rax, 8
jb 0x140060e11
mov rcx, qword [rbp - 0x50]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140060e0c
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400611b4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14006e298
vmovups ymm0, ymmword [rbp - 0x20]
vmovups ymmword [rbp - 0x50], ymm0
cmp qword [rbp - 0x38], 8
jb 0x140060e26
mov rbx, qword [rbp - 0x50]
lea rdi, [rsi + 0x1ac]
lea rdx, [0x1400a1006]
mov rcx, rdi
mov r8, rbx
vzeroupper
call fcn.140061300
mov dword [rbp - 0x24], 0x106
lea rcx, [rsi + 0x20]
lea rdx, [rbp - 0x24]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [rsi + 0x1a8], 1
lea rcx, [rsi + 0x126]
lea r8, str.Windows
mov edx, 0x80
call fcn.1400795b8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp - 0x20]
mov rcx, rax
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140060ed0
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x54]
mov qword [rsp + 0x20], rax
mov r8, rbp
mov edx, setsockopt
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
setne al
cmp dword [rbp], 0
setne bl
and bl, al
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140060ed2
xor ebx, ebx
mov byte [rsi], bl
mov rax, qword [0x1400c1090]
lea rcx, [rsi + 0x2b0]
mov qword [rsp + 0x20], rax
lea r8, str._sAlgos_s
mov edx, 0x104
mov r9, rdi
call fcn.140008b70
mov rax, qword [0x1400c1090]
lea rcx, [rsi + 0x3b4]
mov qword [rsp + 0x20], rax
lea r8, str._sSockets_s
mov edx, 0x104
mov r9, rdi
call fcn.140008b70
mov rax, qword [0x1400c1090]
lea rbx, [rsi + 0x6c0]
mov qword [rsp + 0x20], rax
lea r8, str._sLogs_s
mov edx, 0x104
mov rcx, rbx
mov r9, rdi
call fcn.140008b70
mov rcx, rbx
call fcn.140079740
mov qword [rbp], rbx
mov qword [rbp + 8], rax
call fcn.140070120
lea rbx, [rbp - 0x20]
mov r8, rbp
mov rcx, rbx
mov edx, eax
call fcn.14001f770
cmp qword [rbp - 8], 8
jb 0x140060f7d
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.140070380
shr rax, 0x20
jne 0x1400611cc
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x140060fd5
mov rcx, qword [rbp - 0x20]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140060fd0
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400611b4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14006e298
mov rax, qword [0x1400c1090]
lea rbx, [rsi + 0x4b8]
mov qword [rsp + 0x20], rax
lea r8, str._sDAGs_s
mov edx, 0x104
mov rcx, rbx
mov r9, rdi
call fcn.140008b70
mov rcx, rbx
call fcn.140079740
mov qword [rbp], rbx
mov qword [rbp + 8], rax
call fcn.140070120
lea rbx, [rbp - 0x20]
mov r8, rbp
mov rcx, rbx
mov edx, eax
call fcn.14001f770
cmp qword [rbp - 8], 8
jb 0x140061030
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.140070380
shr rax, 0x20
jne 0x1400611de
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x140061088
mov rcx, qword [rbp - 0x20]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140061083
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400611b4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14006e298
mov rax, qword [0x1400c1090]
lea rbx, [rsi + 0x5bc]
mov qword [rsp + 0x20], rax
lea r8, str._sGpuConfig_s
mov edx, 0x104
mov rcx, rbx
mov r9, rdi
call fcn.140008b70
mov rcx, rbx
call fcn.140079740
mov qword [rbp], rbx
mov qword [rbp + 8], rax
call fcn.140070120
lea rbx, [rbp - 0x20]
mov r8, rbp
mov rcx, rbx
mov edx, eax
call fcn.14001f770
cmp qword [rbp - 8], 8
jb 0x1400610e3
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.140070380
shr rax, 0x20
jne 0x1400611f0
mov rax, qword [rbp - 8]
cmp rax, 8
jb 0x14006113b
mov rcx, qword [rbp - 0x20]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x140061136
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400611b4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14006e298
mov rax, qword [0x1400c1090]
add rsi, 0x7c4
mov qword [rsp + 0x20], rax
lea r8, str._stmp_s
mov edx, 0x104
mov rcx, rsi
mov r9, rdi
call fcn.140008b70
mov rax, qword [rbp - 0x38]
cmp rax, 8
jb 0x1400611a7
mov rcx, qword [rbp - 0x50]
lea rdx, [rax*2 + 2]
cmp rdx, 0x1000
jb 0x1400611a2
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x1400611b4
add rax, rax
add rax, 0x29
mov rdx, rax
mov rcx, r8
call fcn.14006e298
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop rbp
ret
call fcn.140078060
lea rcx, str.absolute
mov rdx, rbp
lea r8, [rbp - 0x50]
call fcn.140037150
lea rcx, str.create_directory
lea r8, [rbp - 0x20]
mov edx, eax
call fcn.14001cb90
lea rcx, str.create_directory
lea r8, [rbp - 0x20]
mov edx, eax
call fcn.14001cb90
lea rcx, str.create_directory
lea r8, [rbp - 0x20]
mov edx, eax
call fcn.14001cb90
int3