Function at 0x140001e80
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.1400044f0
sub rsp, rax
mov rax, qword [0x140008040]
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, [0x140005a10]
mov qword [rbp + 0xd0], rax
lea rax, [0x140005974]
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 0x14000205e
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140002040
mov dword [rsp + 0x30], 0x114
lea rcx, [rsp + 0x30]
call rax
lea rcx, [rbp + 0xe0]
test eax, eax
jne 0x140002029
lea rdx, str.Windows_Version:
call fcn.140001810
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.140003290
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.140003290
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.140003290
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002071
lea rdx, str.Failed_to_get_Windows_version_n
call fcn.140001810
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002071
lea rdx, str.Failed_to_get_function_address_for_RtlGetVersion_n
lea rcx, [rbp + 0xe0]
call fcn.140001810
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x140002071
lea rdx, str.Failed_to_load_ntdll.dll_n
lea rcx, [rbp + 0xe0]
call fcn.140001810
mov dword [rbp + 0x70], 0x10
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2dd0]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
je 0x1400021b1
lea rdx, [rbp + 0x2dd0]
lea rcx, [rbp + 0x80]
call fcn.140002f40
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.140003160
nop
lea rdx, str.Computer_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001810
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0xf
cmova rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140001cb0
mov dl, 0xa
mov rcx, rax
call fcn.140003290
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140002156
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002151
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002151
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034d0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x1400021c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400021aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400021aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034d0
jmp 0x1400021c4
lea rdx, str.Failed_to_get_computer_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001810
mov dword [rbp + 0x70], 0x101
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x2df0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
test eax, eax
je 0x140002410
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 0x140002201
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1400027fe
cmp rbx, 7
ja 0x140002251
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 0x1400022fe
mov rax, rbx
or rax, 7
cmp rax, rsi
jbe 0x1400022a0
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x1400022d0
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400027f8
mov rcx, rax
call fcn.1400034d8
test rax, rax
je 0x140002402
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400022d8
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400027f8
add rcx, rcx
jne 0x14000226b
mov rdi, r15
jmp 0x1400022d8
call fcn.1400034d8
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.140003160
nop
lea rdx, str.User_Name:
lea rcx, [rbp + 0xe0]
call fcn.140001810
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 0xf
cmova rdx, qword [rbp + 0x80]
mov r8, qword [rbp + 0x90]
mov rcx, rax
call fcn.140001cb0
mov dl, 0xa
mov rcx, rax
call fcn.140003290
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 0xf
jbe 0x1400023b2
inc rdx
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400023ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400023ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034d0
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
mov rdx, qword [rbp + 0x68]
cmp rdx, 7
jbe 0x140002423
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002409
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002409
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034d0
jmp 0x140002423
lea rdx, str.Failed_to_get_user_name_n
lea rcx, [rbp + 0xe0]
call fcn.140001810
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 0x140002473
lea rdx, str.IP_Address:
call fcn.140001810
mov rcx, rax
lea rdx, [rbp + 0x390]
call fcn.140001810
mov rcx, rax
mov dl, 0xa
call fcn.140003290
jmp 0x14000247f
lea rdx, str.Failed_to_get_IP_address_information_n
call fcn.140001810
mov word [rbp + 0x78], r15w
mov edx, 0x55
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLocaleName]
test eax, eax
je 0x140002573
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 0x14000256a
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x80]
call fcn.140002f40
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.140003160
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 0x1400025a9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002563
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002563
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034d0
jmp 0x1400025a9
lea rdx, str.Failed_to_get_country_code_from_locale_n
jmp 0x14000257a
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.140001810
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 0x1400025f8
lea rdx, str.Country_Code:
call fcn.140001810
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0xf
cmova rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
mov rcx, rax
call fcn.140001cb0
mov dl, 0xa
mov rcx, rax
call fcn.140003290
jmp 0x140002604
lea rdx, str.Failed_to_get_country_code_n
call fcn.140001810
mov dword [rbp + 0x78], 8
lea rcx, [rbp + 0x78]
call qword [sym.imp.USER32.dll_GetLastInputInfo]
test eax, eax
je 0x140002632
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 0x140002648
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.140001810
mov ebx, r15d
lea rdx, str.Idle_time:
lea rcx, [rbp + 0xe0]
call fcn.140001810
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, [0x140005964]
call fcn.140001810
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 0x1400026d4
mov rax, qword [rbp + 0x128]
mov r8, qword [rax]
test r8, r8
je 0x1400026d4
mov rax, qword [rbp + 0x108]
mov rdx, qword [rax]
cmp r8, qword [rbp + 0x150]
cmovb r8, qword [rbp + 0x150]
sub r8, rdx
jmp 0x14000270c
test cl, 4
jne 0x140002704
mov rax, qword [rbp + 0x120]
mov rcx, qword [rax]
test rcx, rcx
je 0x140002704
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 0x14000270c
mov r8, qword [rbp + 0x58]
mov rdx, qword [rbp + 0x50]
test rdx, rdx
je 0x14000271a
mov rcx, r14
call fcn.140001650
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0xf
jbe 0x14000275e
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002759
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002759
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400034d0
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.140002e10
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.1400034b0
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