Function at 0x140001ac0
Capabilities:
Get geographical location

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov r12, rcx
mov rcx, qword [rdx + 8]
mov rbx, rdx
mov esi, r8d
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x140001bf0
call qword [sym.imp.oleaut32.dll_SysAllocString]
mov r13, rax
test rax, rax
je 0x140001bdc
mov rax, qword [r12]
lea rdx, [rsp + 0x48]
mov rcx, r12
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
mov rdx, r13
mov qword [rsp + 0x28], 0
call qword [rax + 0x30]
mov rcx, r13
mov r12d, eax
call qword [sym.imp.oleaut32.dll_SysFreeString]
test r12d, r12d
js 0x140001bdc
mov rcx, qword [rsp + 0x48]
lea r12, [rsp + 0x60]
mov rdx, qword [rbx + 0x10]
xor r8d, r8d
mov r9, r12
mov rax, qword [rcx]
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [rax + 0x20]
test eax, eax
js 0x140001c70
mov eax, dword [rbx + 0x20]
mov r13, qword [rsp + 0x68]
cmp eax, 2
je 0x140001c90
cmp eax, 3
je 0x140001f60
cmp eax, 1
je 0x140001da8
mov rcx, qword [rbx]
call qword [sym.imp.ucrtbase.dll_wcslen]
mov rbx, qword [rbx]
mov ecx, 1
sub rsi, rax
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov qword [rsp + 0x28], r13
mov r9, rsi
mov r8, rbx
mov rcx, rax
lea rax, [0x140005078]
lea rdx, str._s:_s__s_n
mov qword [rsp + 0x20], rax
call fcn.140001050
mov rcx, r12
call qword [sym.imp.oleaut32.dll_VariantClear]
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r13, qword [rdx + 0x10]
test r13, r13
je 0x140001c50
mov rcx, qword [rdx]
call qword [sym.imp.ucrtbase.dll_wcslen]
mov rbx, qword [rbx]
mov ecx, 1
sub rsi, rax
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov qword [rsp + 0x28], r13
mov r9, rsi
mov r8, rbx
mov rcx, rax
lea rax, [0x140005078]
lea rdx, str._s:_s__s_n
mov qword [rsp + 0x20], rax
call fcn.140001050
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov edx, dword [rdx + 0x20]
mov r8d, esi
mov rcx, r12
call qword [rbx + 0x18]
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
xor eax, eax
mov ecx, 0x15
lea rdi, [rsp + 0xc0]
mov qword [rsp + 0x80], 0
rep stosq qword [rdi], rax
xor eax, eax
lea r8, [rsp + 0x50]
mov rcx, r13
lea rdx, [0x140005558]
lea r13, [rsp + 0xc0]
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov word [rdi], ax
lea rdi, [rsp + 0x80]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.140001a70
mov ecx, dword [rsp + 0x50]
xor r9d, r9d
mov rdx, rdi
mov r8d, 0x20
call qword [sym.imp.kernel32.dll_LCIDToLocaleName]
mov r8, r13
mov r9d, 0x55
mov edx, 0x72
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.kernel32.dll_GetLocaleInfoW]
mov rcx, qword [rbx]
call qword [sym.imp.ucrtbase.dll_wcslen]
mov rbx, qword [rbx]
mov ecx, 1
sub rsi, rax
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov qword [rsp + 0x30], r13
mov r9, rsi
mov r8, rbx
mov rcx, rax
lea rax, [0x140005078]
mov qword [rsp + 0x28], rdi
lea rdx, str._s:_s__s__s_n
mov qword [rsp + 0x20], rax
call fcn.140001050
jmp 0x140001bd2
lea rax, [rsp + 0x5c]
lea rdi, [rsp + 0x50]
mov rcx, r13
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x5a]
lea r9, [rsp + 0x52]
mov r8, rdi
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
lea r13, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x56]
lea rbp, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea rdx, str._04u_02u_02u_02u_02u_02u
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xe0], 0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
call fcn.140001a70
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x28], 0x20
mov ecx, 0x800
mov qword [rsp + 0x20], r13
call qword [sym.imp.kernel32.dll_GetDateFormatW]
xor r9d, r9d
mov r8, rdi
xor edx, edx
mov dword [rsp + 0x28], 0x20
mov ecx, 0x800
mov qword [rsp + 0x20], rbp
call qword [sym.imp.kernel32.dll_GetTimeFormatW]
mov rcx, qword [rbx]
call qword [sym.imp.ucrtbase.dll_wcslen]
mov rbx, qword [rbx]
mov ecx, 1
sub rsi, rax
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov qword [rsp + 0x30], rbp
mov r9, rsi
mov r8, rbx
mov rcx, rax
lea rax, [0x140005078]
mov qword [rsp + 0x28], r13
lea rdx, str._s:_s__s___s_n
mov qword [rsp + 0x20], rax
call fcn.140001050
jmp 0x140001bd2
lea r8, [rsp + 0xc0]
mov rcx, r13
lea rdx, str._I64u
mov qword [rsp + 0xc0], 0
call fcn.140001a70
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [rbx]
call qword [sym.imp.ucrtbase.dll_wcslen]
mov rbx, qword [rbx]
mov ecx, 1
sub rsi, rax
shr rdi, 0xa
call qword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov qword [rsp + 0x28], rdi
mov r9, rsi
mov r8, rbx
mov rcx, rax
lea rax, [0x140005078]
lea rdx, str._s:_s__I64u_MB_n
mov qword [rsp + 0x20], rax
call fcn.140001050
jmp 0x140001bd2