Function at 0x140003700
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.140005da0
sub rsp, rax
mov rax, qword [0x14000b040]
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, [0x1400080b0]
mov qword [rbp + 0xd0], rax
lea rax, [0x140008014]
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 0x1400038de
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400038c0
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call rax
lea rcx, [rbp + 0xe0]
test eax, eax
jne 0x1400038a9
lea rdx, str.Windows_Version:
call fcn.140001e70
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.140004b20
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.140004b20
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.140004b20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400038f1
lea rdx, str.Failed_to_get_Windows_version_n
call fcn.140001e70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400038f1
lea rdx, str.Failed_to_get_function_address_for_RtlGetVersion_n
lea rcx, [rbp + 0xe0]
call fcn.140001e70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1400038f1
lea rdx, str.Failed_to_load_ntdll.dll_n
lea rcx, [rbp + 0xe0]
call fcn.140001e70
mov dword [rbp + 0x70], 0x10
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2dd0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x140003a31
lea rdx, [rbp + 0x2dd0]
lea rcx, [rbp + 0x80]
call fcn.1400047d0
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.1400049f0
nop
lea rdx, str.Computer_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001e70
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140002430
mov dl, 0xa
mov rcx, rax
call fcn.140004b20
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x1400039d6
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400039d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f18
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140003a44
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a2a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a2a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f18
jmp 0x140003a44
lea rdx, str.Failed_to_get_computer_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001e70
mov dword [rbp + 0x70], 0x101
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2df0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140003c90
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 0x140003a81
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x14000408e
cmp rbx, 7
ja 0x140003ad1
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 0x140003b7e
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140003b20
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003b50
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004088
mov rcx, rax
call fcn.140004edc
test rax, rax
je 0x140003c82
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140003b58
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140004088
add rcx, rcx
jne 0x140003aeb
mov rdi, r15
jmp 0x140003b58
call fcn.140004edc
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 [rbx + rdi], 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.1400049f0
nop
lea rdx, str.User_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001e70
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rax
call fcn.140002430
mov dl, 0xa
mov rcx, rax
call fcn.140004b20
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140003c32
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c2d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c2d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f18
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140003ca3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003c89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003c89
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f18
jmp 0x140003ca3
lea rdx, str.Failed_to_get_user_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001e70
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 0x140003cf3
lea rdx, str.IP_Address:
call fcn.140001e70
mov rcx, rax
lea rdx, [rbp + 0x390]
call fcn.140001e70
mov rcx, rax
mov dl, 0xa
call fcn.140004b20
jmp 0x140003cff
lea rdx, str.Failed_to_get_IP_address_information_n
call fcn.140001e70
mov word [rbp + 0x78], r15w
mov edx, 0x55
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x140003df7
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 0x140003dee
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.1400047d0
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.1400049f0
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 0x140003e39
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003de7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003de7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f18
jmp 0x140003e39
lea rdx, str.Failed_to_get_country_code_from_locale_n
jmp 0x140003dfe
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.140001e70
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r15
mov qword [rbp + 0xc0], r15
xor r8d, r8d
lea rdx, [0x140007843]
lea rcx, [rbp + 0xa8]
call fcn.140001410
nop
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xb8], 0
je 0x140003e88
lea rdx, str.Country_Code:
call fcn.140001e70
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
mov rcx, rax
call fcn.140002430
mov dl, 0xa
mov rcx, rax
call fcn.140004b20
jmp 0x140003e94
lea rdx, str.Failed_to_get_country_code_n
call fcn.140001e70
mov dword [rbp + 0x78], 8
lea rcx, [rbp + 0x78]
call qword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x140003ec2
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 0x140003ed8
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.140001e70
mov ebx, r15d
lea rdx, str.Idle_time:
lea rcx, [rbp + 0xe0]
call fcn.140001e70
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, [0x140008004]
call fcn.140001e70
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 0x140003f64
mov rax, qword [rbp + 0x128]
mov r8, qword [rax]
test r8, r8
je 0x140003f64
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x150]
cmovb r8, qword [rbp + 0x150]
sub r8, rdx
jmp 0x140003f9c
test cl, 4
jne 0x140003f94
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax]
test rcx, rcx
je 0x140003f94
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 0x140003f9c
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x140003faa
mov rcx, r14
call fcn.140001ca0
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x140003fee
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fe9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003fe9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140004f18
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.1400046a0
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.140004d40
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