Function at 0x140002fe0
Capabilities:
Get geographical location
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3010]
mov eax, 0x3110
call fcn.140005670
sub rsp, rax
mov rax, qword [0x14000a040]
xor rax, rsp
mov qword [rbp + 0x3000], rax
mov r14, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xd0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140006e70]
mov qword [rbp + 0xd0], rax
lea rax, [0x140006dd4]
mov qword [rbp + 0xe0], rax
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x20], 2
xor r8d, r8d
lea rdx, [rbp + 0xe8]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0xd0], r12
mov rax, qword [rbp + 0xd0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xcc], edx
lea rcx, [rbp + 0xe8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xe8], rax
mov qword [rbp + 0x150], r15
mov dword [rbp + 0x158], r15d
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x1400031be
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400031a0
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call rax
lea rcx, [rbp + 0xe0]
test eax, eax
jne 0x140003189
lea rdx, str.Windows_Version:
call fcn.140001db0
mov rcx, rax
mov edx, dword [rsp + 0x34]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
mov dl, 0x2e
call fcn.1400043f0
mov rcx, rax
mov edx, dword [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
mov dl, 0x2e
call fcn.1400043f0
mov rcx, rax
mov edx, dword [rsp + 0x3c]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
mov dl, 0xa
call fcn.1400043f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400031d1
lea rdx, str.Failed_to_get_Windows_version_n
call fcn.140001db0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400031d1
lea rdx, str.Failed_to_get_function_address_for_RtlGetVersion_n
lea rcx, [rbp + 0xe0]
call fcn.140001db0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400031d1
lea rdx, str.Failed_to_load_ntdll.dll_n
lea rcx, [rbp + 0xe0]
call fcn.140001db0
mov dword [rbp + 0x70], 0x10
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2dd0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140003311
lea rdx, [rbp + 0x2dd0]
lea rcx, [rbp + 0x80]
call fcn.1400040a0
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x90]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0x80]
cmova rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.1400042c0
nop
lea rdx, str.Computer_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001db0
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140002850
mov dl, 0xa
mov rcx, rax
call fcn.1400043f0
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400032b6
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400032b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047e8
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140003324
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000330a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000330a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047e8
jmp 0x140003324
lea rdx, str.Failed_to_get_computer_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001db0
mov dword [rbp + 0x70], 0x101
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2df0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140003570
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x60], xmm1
lea rax, [rbp + 0x2df0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140003361
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14000395e
cmp rbx, 7
ja 0x1400033b1
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x2df0]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx + 0x50], r15w
jmp 0x14000345e
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140003400
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003430
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003958
mov rcx, rax
call fcn.1400047ac
test rax, rax
je 0x140003562
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140003438
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140003958
add rcx, rcx
jne 0x1400033cb
mov rdi, r15
jmp 0x140003438
call fcn.1400047ac
mov rdi, rax
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x2df0]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + rbx], r15w
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rdx, qword [rbp + 0x50]
mov rax, qword [rbp + 0x60]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0x50]
cmova rdx, qword [rbp + 0x50]
lea rcx, [rbp + 0x80]
call fcn.1400042c0
nop
lea rdx, str.User_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001db0
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rax
call fcn.140002850
mov dl, 0xa
mov rcx, rax
call fcn.1400043f0
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140003512
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000350d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000350d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047e8
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140003583
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003569
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003569
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047e8
jmp 0x140003583
lea rdx, str.Failed_to_get_user_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001db0
mov dword [rbp + 0xa0], 0x2c00
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea rcx, [rbp + 0xe0]
test eax, eax
jne 0x1400035d3
lea rdx, str.IP_Address:
call fcn.140001db0
mov rcx, rax
lea rdx, [rbp + 0x390]
call fcn.140001db0
mov rcx, rax
mov dl, 0xa
call fcn.1400043f0
jmp 0x1400035df
lea rdx, str.Failed_to_get_IP_address_information_n
call fcn.140001db0
mov word [rbp + 0x78], r15w
mov edx, 0x55
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x1400036d3
mov r9d, 3
lea r8, [rbp + 0x78]
mov edx, 0x5a
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
je 0x1400036ca
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.1400040a0
nop
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 7
cmova rdx, qword [rbp + 0x80]
mov rax, qword [rbp + 0x90]
lea r8, [rdx + rax*2]
lea rdx, [rbp + 0x80]
cmova rdx, qword [rbp + 0x80]
lea rcx, [rbp + 0x50]
call fcn.1400042c0
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rbp + 0xb8], xmm1
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140003709
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400036c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047e8
jmp 0x140003709
lea rdx, str.Failed_to_get_country_code_from_locale_n
jmp 0x1400036da
lea rdx, str.Failed_to_get_locale_information_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001db0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xb8], 0
je 0x140003758
lea rdx, str.Country_Code:
call fcn.140001db0
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
mov rcx, rax
call fcn.140002850
mov dl, 0xa
mov rcx, rax
call fcn.1400043f0
jmp 0x140003764
lea rdx, str.Failed_to_get_country_code_n
call fcn.140001db0
mov dword [rbp + 0x78], 8
lea rcx, [rbp + 0x78]
call qword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x140003792
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [rbp + 0x7c]
mov eax, 0x10624dd3
mul ecx
mov ebx, edx
shr ebx, 6
jmp 0x1400037a8
lea rdx, str.Failed_to_get_last_input_info._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001db0
mov ebx, r15d
lea rdx, str.Idle_time:
lea rcx, [rbp + 0xe0]
call fcn.140001db0
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x140006dc4]
call fcn.140001db0
nop
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov dword [rsp + 0x20], 0x16
movups xmmword [rbp + 0x50], xmm0
mov ecx, dword [rbp + 0x158]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140003834
mov rax, qword [rbp + 0x128]
mov r8, qword [rax]
test r8, r8
je 0x140003834
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x150]
cmovb r8, qword [rbp + 0x150]
sub r8, rdx
jmp 0x14000386c
test cl, 4
jne 0x140003864
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax]
test rcx, rcx
je 0x140003864
mov rax, qword [rbp + 0x100]
mov rdx, qword [rax]
mov rax, qword [rbp + 0x138]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
jmp 0x14000386c
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x14000387a
mov rcx, r14
call fcn.140001c50
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x1400038be
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400038b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400038b9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400047e8
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], 0xf
mov byte [rbp + 0xa8], 0
mov rcx, qword [rbp + 0xd0]
movsxd rdx, dword [rcx + 4]
mov qword [rbp + rdx + 0xd0], r12
mov rcx, qword [rbp + 0xd0]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rbp + rdx + 0xcc], r8d
lea rcx, [rbp + 0xe8]
call fcn.140003f70
lea rcx, [rbp + 0xf0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x168]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, r14
mov rcx, qword [rbp + 0x3000]
xor rcx, rsp
call fcn.140004610
lea r11, [rsp + 0x3110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140001120
nop
call fcn.1400011c0
int3