Function at 0x140003a40
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.1400060e0
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, [0x140007f18]
mov qword [rbp + 0xd0], rax
lea rax, [0x140007e7c]
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 0x140003c1e
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140003c00
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call rax
lea rcx, [rbp + 0xe0]
test eax, eax
jne 0x140003be9
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.140004e60
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.140004e60
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.140004e60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140003c31
lea rdx, str.Failed_to_get_Windows_version_n
call fcn.140001e70
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140003c31
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 0x140003c31
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 0x140003d71
lea rdx, [rbp + 0x2dd0]
lea rcx, [rbp + 0x80]
call fcn.140004b10
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.140004d30
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.140004e60
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140003d16
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x140003d84
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
jmp 0x140003d84
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 0x140003fd0
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 0x140003dc1
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1400043ce
cmp rbx, 7
ja 0x140003e11
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 0x140003ebe
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x140003e60
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003e90
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400043c8
mov rcx, rax
call fcn.14000521c
test rax, rax
je 0x140003fc2
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140003e98
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400043c8
add rcx, rcx
jne 0x140003e2b
mov rdi, r15
jmp 0x140003e98
call fcn.14000521c
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.140004d30
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.140004e60
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x140003f72
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f6d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140003fe3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003fc9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003fc9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
jmp 0x140003fe3
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 0x140004033
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.140004e60
jmp 0x14000403f
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 0x140004137
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 0x14000412e
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.140004b10
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.140004d30
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 0x140004179
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004127
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004127
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
jmp 0x140004179
lea rdx, str.Failed_to_get_country_code_from_locale_n
jmp 0x14000413e
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, [0x140007863]
lea rcx, [rbp + 0xa8]
call fcn.140001410
nop
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xb8], 0
je 0x1400041c8
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.140004e60
jmp 0x1400041d4
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 0x140004202
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 0x140004218
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, [0x140007e6c]
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 0x1400042a4
mov rax, qword [rbp + 0x128]
mov r8, qword [rax]
test r8, r8
je 0x1400042a4
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x150]
cmovb r8, qword [rbp + 0x150]
sub r8, rdx
jmp 0x1400042dc
test cl, 4
jne 0x1400042d4
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax]
test rcx, rcx
je 0x1400042d4
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 0x1400042dc
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x1400042ea
mov rcx, r14
call fcn.140001ca0
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14000432e
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004329
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004329
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005258
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.1400049e0
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.140005080
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