Function at 0x140040fd8
Capabilities:
Get geographical location
Get hostname
Get memory capacity
Get session user name
Get system firmware table
Get system information on windows
Identify system language via api

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x500]
sub rsp, 0x600
mov qword [rbp + 0x80], 0xfffffffffffffffe
mov rbx, rcx
xor r14d, r14d
mov dword [rbp + 0x530], r14d
lea rax, [0x14005e950]
mov qword [rsp + 0x70], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x530], 1
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.140005414
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + rcx + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140005560
nop
cmp qword [rbx + 0x18], 0x10
jb 0x140041074
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140015778
test rax, rax
jne 0x1400410af
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x70]
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], r14
cmove edx, eax
xor r8d, r8d
call fcn.14000307c
nop
cmp qword [rbp + 8], r14
je 0x14004166e
lea rcx, [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, 0x9c
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.140023a90
mov dword [rbp + 0x110], ebx
mov dword [rbp + 0xd0], 0x40
lea rcx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov dword [rbp + 0x538], 0x101
lea rdx, [rbp + 0x538]
lea rcx, [rbp + 0x2e0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [rbp + 0x540], 0x10
lea rdx, [rbp + 0x540]
lea rcx, [rbp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rbp + 0x110]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
call fcn.140046e34
mov rsi, rax
lea r8d, [rbx + 0x68]
lea rdx, [rbp + 0x3f0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rdx, str.___________________________
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
lea rdx, str.HellsDaySecurity_2.0
call fcn.140006580
mov rcx, rax
lea rdx, str.____________________________
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.User_Name:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
lea rdx, [rbp + 0x2e0]
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Computer_Name:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
lea rdx, [rbp + 0x88]
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
mov qword [rsp + 0x38], 0xf
mov qword [rsp + 0x30], r14
mov byte [rsp + 0x20], r14b
or rdi, 0xffffffffffffffff
cmp byte [rbp + 0x1b4], r14b
jne 0x140041251
mov r8, r14
jmp 0x140041264
lea rax, [rbp + 0x1b4]
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x14004125b
lea rdx, [rbp + 0x1b4]
lea rcx, [rsp + 0x20]
call fcn.14000159c
nop
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rbx, qword [rsp + 0x20]
lea rdx, str.HWID:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov rdx, rbx
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
nop
cmp qword [rsp + 0x38], 0x10
jb 0x1400412c9
mov rcx, qword [rsp + 0x20]
call fcn.1400208dc
lea rdx, str.OS:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov rdx, rsi
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Windows_Version:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov edx, dword [rbp + 0x114]
call fcn.14001527c
mov rcx, rax
lea rdx, [0x140059e4c]
call fcn.140006580
mov rcx, rax
mov edx, dword [rbp + 0x118]
call fcn.14001527c
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Install_Path:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
lea rdx, [rbp + 0x3f0]
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Processor_Architecture:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
movzx edx, word [rbp + 0x98]
call fcn.140014fa8
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Page_Size:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov edx, dword [rbp + 0x9c]
call fcn.14001527c
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Number_of_Processors:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov edx, dword [rbp + 0xb8]
call fcn.14001527c
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Processor_Type:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov edx, dword [rbp + 0xbc]
call fcn.14001527c
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
mov rbx, qword [rbp + 0xd8]
shr rbx, 0x14
lea rdx, str.RAM_Size:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov rdx, rbx
call fcn.1400153e4
mov rcx, rax
lea rdx, [0x140059e74]
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
lea rdx, str.Screen_Resolution:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov edx, dword [rsp + 0x68]
call fcn.140015114
mov rcx, rax
lea rdx, [0x140059e84]
call fcn.140006580
mov rcx, rax
mov edx, dword [rsp + 0x6c]
call fcn.140015114
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
mov r9d, 0x55
lea r8, [rbp + 0x230]
lea edx, [r9 + 4]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400415d9
mov ebx, 7
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
cmp word [rbp + 0x230], r14w
jne 0x14004151c
mov rdi, r14
jmp 0x14004152d
lea rax, [rbp + 0x230]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x140041523
mov r8, rdi
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x20]
call fcn.140001b58
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
lea r8, [rcx + rax*2]
lea rdx, [rsp + 0x20]
cmovae rdx, qword [rsp + 0x20]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r14
mov word [rsp + 0x40], r14w
lea rcx, [rsp + 0x40]
call fcn.1400176ec
nop
lea rdx, str.System_Language:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.140016cb4
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
nop
cmp qword [rsp + 0x58], 8
jb 0x1400415c7
mov rcx, qword [rsp + 0x40]
call fcn.1400208dc
nop
cmp qword [rsp + 0x38], 8
jb 0x1400415d9
mov rcx, qword [rsp + 0x20]
call fcn.1400208dc
mov ebx, 0x1000
mov ecx, ebx
call fcn.14002002c
mov rdi, rax
mov r9d, ebx
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
test eax, eax
je 0x14004162e
lea rdx, str.BIOS_Version:
lea rcx, [rsp + 0x70]
call fcn.140006580
mov rcx, rax
mov rdx, rdi
call fcn.140006580
mov rbx, rax
mov rcx, rax
call fcn.14001554c
mov rcx, rbx
call fcn.1400034b0
mov rcx, rdi
call fcn.140022090
lea rcx, [rsp + 0x78]
call fcn.140005674
test rax, rax
jne 0x14004166e
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x70]
mov edx, dword [rcx + 0x10]
or edx, 2
mov eax, edx
or eax, 4
cmp qword [rcx + 0x48], r14
cmove edx, eax
xor r8d, r8d
call fcn.14000307c
nop
lea rcx, [rbp + 0x18]
call fcn.140003bac
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.14001f3a0
add rsp, 0x600
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret