Function at 0x140002440
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.140004ad0
sub rsp, rax
mov rax, qword [0x140009040]
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, [0x140005df0]
mov qword [rbp + 0xd0], rax
lea rax, [0x140005d54]
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 0x14000261e
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002600
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call rax
lea rcx, [rbp + 0xe0]
test eax, eax
jne 0x1400025e9
lea rdx, str.Windows_Version:
call fcn.140001a90
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.140003850
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.140003850
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.140003850
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002631
lea rdx, str.Failed_to_get_Windows_version_n
call fcn.140001a90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002631
lea rdx, str.Failed_to_get_function_address_for_RtlGetVersion_n
lea rcx, [rbp + 0xe0]
call fcn.140001a90
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002631
lea rdx, str.Failed_to_load_ntdll.dll_n
lea rcx, [rbp + 0xe0]
call fcn.140001a90
mov dword [rbp + 0x70], 0x10
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2dd0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140002771
lea rdx, [rbp + 0x2dd0]
lea rcx, [rbp + 0x80]
call fcn.140003500
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.140003720
nop
lea rdx, str.Computer_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001a90
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140001d20
mov dl, 0xa
mov rcx, rax
call fcn.140003850
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140002716
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002711
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002711
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003c48
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140002784
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000276a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000276a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003c48
jmp 0x140002784
lea rdx, str.Failed_to_get_computer_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001a90
mov dword [rbp + 0x70], 0x101
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2df0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x1400029d0
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 0x1400027c1
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x140002dbe
cmp rbx, 7
ja 0x140002811
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 0x1400028be
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140002860
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140002890
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002db8
mov rcx, rax
call fcn.140003c0c
test rax, rax
je 0x1400029c2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140002898
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140002db8
add rcx, rcx
jne 0x14000282b
mov rdi, r15
jmp 0x140002898
call fcn.140003c0c
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.140003720
nop
lea rdx, str.User_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001a90
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rax
call fcn.140001d20
mov dl, 0xa
mov rcx, rax
call fcn.140003850
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140002972
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000296d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000296d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003c48
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x1400029e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400029c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400029c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003c48
jmp 0x1400029e3
lea rdx, str.Failed_to_get_user_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001a90
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 0x140002a33
lea rdx, str.IP_Address:
call fcn.140001a90
mov rcx, rax
lea rdx, [rbp + 0x390]
call fcn.140001a90
mov rcx, rax
mov dl, 0xa
call fcn.140003850
jmp 0x140002a3f
lea rdx, str.Failed_to_get_IP_address_information_n
call fcn.140001a90
mov word [rbp + 0x78], r15w
mov edx, 0x55
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x140002b33
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 0x140002b2a
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.140003500
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.140003720
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 0x140002b69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b23
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b23
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003c48
jmp 0x140002b69
lea rdx, str.Failed_to_get_country_code_from_locale_n
jmp 0x140002b3a
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.140001a90
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 0x140002bb8
lea rdx, str.Country_Code:
call fcn.140001a90
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
mov rcx, rax
call fcn.140001d20
mov dl, 0xa
mov rcx, rax
call fcn.140003850
jmp 0x140002bc4
lea rdx, str.Failed_to_get_country_code_n
call fcn.140001a90
mov dword [rbp + 0x78], 8
lea rcx, [rbp + 0x78]
call qword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x140002bf2
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 0x140002c08
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.140001a90
mov ebx, r15d
lea rdx, str.Idle_time:
lea rcx, [rbp + 0xe0]
call fcn.140001a90
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, [0x140005d44]
call fcn.140001a90
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 0x140002c94
mov rax, qword [rbp + 0x128]
mov r8, qword [rax]
test r8, r8
je 0x140002c94
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x150]
cmovb r8, qword [rbp + 0x150]
sub r8, rdx
jmp 0x140002ccc
test cl, 4
jne 0x140002cc4
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002cc4
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 0x140002ccc
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x140002cda
mov rcx, r14
call fcn.140001930
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140002d1e
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d19
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d19
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003c48
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.1400033d0
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.140003a70
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