Function at 0x180008ab0
Capabilities:
Get hostname
Get memory capacity
Get session user name
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x108]
sub rsp, 0x208
cmp dword [rcx + 0x14c], 0
mov r15, r8
mov r14, rdx
lea rdi, [r8 + 0x10]
je 0x180008aec
mov dword [rdi + 0x6c], 0xff
jmp 0x180008af5
mov eax, dword [rdx + 0x84]
mov dword [rdi + 0x6c], eax
xor r13d, r13d
mov ecx, 0x1002
mov r12d, r13d
mov qword [rsp + 0x30], r13
mov esi, r13d
mov qword [rbp + 0x168], r13
call fcn.1800251fc
mov rbx, rax
mov eax, r13d
test rbx, rbx
je 0x180008b2b
mov eax, 0x1000
mov word [rbx + 0x1000], si
lea rdx, [rbp + 0x158]
mov rcx, rbx
mov dword [rbp + 0x158], eax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x180008b5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x180008ba5
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
jmp 0x180008ba5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r13d, eax
add r13d, r13d
lea eax, [r13 + 2]
movsxd rcx, eax
call fcn.1800251fc
mov r12, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180008b95
movsxd r8, r13d
mov rdx, rbx
mov rcx, rax
mov word [r8 + rax], si
call fcn.18002525c
test rbx, rbx
je 0x180008ba2
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
xor r13d, r13d
mov ecx, 0x1002
call fcn.1800251fc
mov rbx, rax
mov eax, r13d
test rbx, rbx
je 0x180008bc6
mov eax, 0x1000
mov word [rbx + 0x1000], si
lea rdx, [rbp + 0x160]
mov rcx, rbx
mov dword [rbp + 0x160], eax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
jne 0x180008bf5
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x180008c44
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
jmp 0x180008c44
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r13d, eax
add r13d, r13d
lea ecx, [r13 + 2]
movsxd rcx, ecx
call fcn.1800251fc
mov rsi, rax
mov qword [rbp + 0x168], rax
test rax, rax
je 0x180008c34
movsxd r8, r13d
mov rdx, rbx
mov rcx, rax
mov word [r8 + rax], 0
call fcn.18002525c
test rbx, rbx
je 0x180008c41
mov rcx, rbx
call sub.KERNEL32.dll_LocalFree
xor r13d, r13d
lea rcx, [rdi + 0x10]
call fcn.18001d230
test eax, eax
je 0x180008c55
mov dword [rdi + 0x10], r13d
cmp qword [0x180037b18], 0
jne 0x180008c8e
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037b18], rax
test rax, rax
jne 0x180008c8e
mov dword [rdi + 0x50], r13d
jmp 0x180008cac
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rdi + 0x50]
mov rcx, rax
call qword [0x180037b18]
mov ecx, r13d
test eax, eax
setne cl
mov dword [rdi + 0x50], ecx
lea rcx, [rdi + 0x54]
call fcn.18001c800
test eax, eax
je 0x180008cc0
mov dword [rdi + 0x54], 1
lea rcx, [rdi + 0x58]
call fcn.18001c950
test eax, eax
je 0x180008cd1
mov dword [rdi + 0x58], r13d
lea rcx, [rdi + 0x5c]
call fcn.18001cb30
test eax, eax
je 0x180008ce2
mov dword [rdi + 0x5c], r13d
lea rdx, [rdi + 8]
mov rcx, r14
mov dword [rdi + 4], r13d
mov dword [rdx], r13d
call qword [r14]
lea rcx, [rsp + 0x68]
mov dword [rbp - 0x60], 0x40
mov dword [rsp + 0x68], SQLMoreResults
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [0x180037928]
test rax, rax
jne 0x180008d42
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037928], rax
test rax, rax
je 0x180008d50
lea rcx, [rbp - 0x60]
call rax
test eax, eax
mov rax, qword [rbp - 0x58]
jne 0x180008d55
mov rax, qword [rsp + 0x70]
shr rax, 0xa
lea rcx, [rbp - 0x20]
mov dword [rbp - 0x20], 0x11c
mov dword [rdi + 0xc], eax
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp - 0x1c]
mov r11d, dword [rbp - 0x14]
mov dword [rdi + 0x38], eax
mov eax, dword [rbp - 0x18]
mov dword [rdi + 0x3c], eax
mov eax, dword [rbp - 0x10]
lea rcx, [rsp + 0x20]
mov dword [rdi + 0x44], eax
movzx eax, byte [rbp + 0xfa]
mov dword [rdi + 0x40], r11d
mov word [rdi + 0x4e], ax
movzx eax, word [rbp + 0xf4]
mov word [rdi + 0x48], ax
movzx eax, word [rbp + 0xf6]
mov word [rdi + 0x4a], ax
movzx eax, word [rbp + 0xf8]
mov word [rdi + 0x4c], ax
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rsp + 0x22]
movzx r11d, word [rsp + 0x20]
mov word [rdi + 0x62], ax
movzx eax, word [rsp + 0x26]
mov word [rdi + 0x64], ax
movzx eax, word [rsp + 0x28]
mov word [rdi + 0x60], r11w
mov word [rdi + 0x66], ax
movzx eax, word [rsp + 0x2a]
mov word [rdi + 0x68], ax
movzx eax, word [rsp + 0x2c]
mov word [rdi + 0x6a], ax
mov rax, qword [0x180037930]
test rax, rax
jne 0x180008e38
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180037930], rax
test rax, rax
jne 0x180008e38
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x180008e3f
lea rcx, [rsp + 0x38]
call rax
mov eax, dword [rsp + 0x58]
xor ecx, ecx
mov qword [0x180037938], r13
mov dword [rdi + 0x2c], eax
movzx eax, word [rsp + 0x38]
mov dword [rdi + 0x34], r13d
mov dword [rdi + 0x28], eax
mov eax, dword [rsp + 0x5c]
mov dword [rdi], 0x20190520
mov dword [rdi + 0x30], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 1
mov dword [rdi + 0x14], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x59
mov dword [rdi + 0x18], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rdi + 0x1c], eax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [rdi + 0x20], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8, qword [rbp + 0x150]
mov dword [rdi + 0x24], eax
mov eax, 0x78
lea rcx, [rdi + 0x78]
lea rdx, [0x18002cf8c]
add r8, 0x10
mov word [rdi + 0x70], ax
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, qword [rbp + 0x168]
lea rdx, [0x18002cf8c]
lea ebx, [rax + rax + 0x7a]
movsxd rcx, ebx
mov word [rdi + 0x74], bx
add rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8, qword [rsp + 0x30]
lea rdx, [0x18002cf8c]
lea ebx, [rbx + rax*2 + 2]
movsxd rcx, ebx
mov word [rdi + 0x72], bx
add rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbp - 0xc]
lea rdx, [0x18002cf8c]
lea ebx, [rbx + rax*2 + 2]
movsxd rcx, ebx
mov word [rdi + 0x76], bx
add rcx, rdi
call qword [sym.imp.USER32.dll_wsprintfW]
mov r8d, 0x7530
mov rdx, r15
lea ecx, [rbx + rax*2 + 2]
mov dword [r15], 0x20190520
mov dword [r15 + 4], 1
mov dword [r15 + 8], ecx
mov rcx, r14
mov dword [r15 + 0xc], r13d
call fcn.180020860
mov ebx, eax
test eax, eax
je 0x180008f75
test rsi, rsi
je 0x180008f64
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
test r12, r12
je 0x180008f71
mov rcx, r12
call sub.KERNEL32.dll_LocalFree
mov eax, ebx
jmp 0x180008f91
test rsi, rsi
je 0x180008f82
mov rcx, rsi
call sub.KERNEL32.dll_LocalFree
test r12, r12
je 0x180008f8f
mov rcx, r12
call sub.KERNEL32.dll_LocalFree
xor eax, eax
add rsp, 0x208
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret