Function at 0x140013140
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x14003d0f8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r15d, r15d
movsxd r13, r9d
mov r14, r8
mov ebx, edx
test rcx, rcx
jne 0x14001e54e
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
nop dword [rax + rax]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToFileTime]
nop dword [rax + rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FileTimeToLocalFileTime]
nop dword [rax + rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_FileTimeToSystemTime]
nop dword [rax + rax]
cmp ebx, 1
jne 0x14001e59d
movzx ecx, word [rsp + 0x6e]
mov eax, 0xcccccccd
mul ecx
movzx eax, word [rsp + 0x6c]
mov ecx, edx
shr ecx, 3
test r14, r14
je 0x14001e55e
movzx r8d, word [rsp + 0x6a]
mov rdx, r13
movzx r9d, word [rsp + 0x68]
mov dword [rsp + 0x48], ecx
lea rcx, [0x14004bdd0]
mov qword [rsp + 0x40], rcx
mov rcx, r14
mov dword [rsp + 0x38], eax
lea rax, [0x14004bdf0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r8d
lea r8, str._2d_s_02d_s_02d_s_02d
mov qword [rsp + 0x20], rax
call fcn.1400133f0
or rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x14001324b
mov eax, ebx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140018f90
mov rbx, qword [rsp + 0x208]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rdx, [rsp + 0x50]
call fcn.140028614
nop
jmp 0x1400131ab
movzx r9d, word [rsp + 0x6a]
movzx edx, word [rsp + 0x68]
mov dword [rsp + 0x38], ecx
lea rcx, [0x14004bdd0]
mov qword [rsp + 0x30], rcx
lea rcx, str._2d_s_02d_s_02d_s_02d
mov dword [rsp + 0x28], eax
lea rax, [0x14004bdf0]
mov r8, rax
mov qword [rsp + 0x20], rax
call fcn.140013448
jmp 0x14001e795
or rbx, 0xffffffffffffffff
cmp byte [0x140045b25], r15b
je 0x14001e700
mov r12d, r15d
call fcn.140015508
mov edi, 0x80
lea r8, [rbp - 0x50]
mov r9d, edi
mov ecx, eax
mov edx, 0x1003
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
jne 0x14001e61c
lea rdx, str.HH:mm:ss_t
lea rax, [rbp - 0x50]
sub rdx, rax
lea rcx, [rbp - 0x50]
lea rax, [rdi + 0x7fffff7e]
test rax, rax
je 0x14001e60d
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14001e60d
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14001e5eb
test rdi, rdi
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
movzx esi, word [rbp - 0x50]
lea rdi, [rbp - 0x50]
jmp 0x14001e6b8
cmp si, 0x27
jne 0x14001e641
mov eax, r15d
add rdi, 2
test r12d, r12d
sete al
mov r12d, eax
jmp 0x14001e6b1
test r12d, r12d
je 0x14001e64c
add rdi, 2
jmp 0x14001e6b1
lea eax, [rsi - 0x48]
cmp ax, 0x25
ja 0x14001e6b1
movabs rcx, 0x2100000001
bt rcx, rax
jae 0x14001e6b1
mov rcx, r15
inc rcx
lea rdi, [rdi + 2]
cmp word [rdi], si
je 0x14001e668
mov rax, rcx
neg rax
lea r15, [rdi + rax*2]
lea rdi, [r15 + 2]
cmp rcx, 1
jne 0x14001e6ae
mov r8, rbx
xor eax, eax
inc r8
cmp word [r15 + r8*2], ax
jne 0x14001e68d
lea r8, [r8*2 + 2]
mov rdx, r15
mov rcx, rdi
call sub.msvcrt.dll_memmove
mov word [r15], si
xor r15d, r15d
add rdi, 2
movzx esi, word [rdi]
test si, si
jne 0x14001e629
call fcn.140015508
mov ecx, eax
mov dword [rsp + 0x28], 0x20
lea rax, [rsp + 0x70]
mov edx, 2
lea r9, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetTimeFormatW]
nop dword [rax + rax]
test eax, eax
jne 0x14001e774
mov word [rsp + 0x70], r15w
jmp 0x14001e774
cmp dword [0x14003d114], r15d
lea rcx, [0x140035f58]
movzx r9d, word [rsp + 0x68]
je 0x14001e73d
cmp r9d, 0xc
jb 0x14001e730
lea eax, [r9 - 0xc]
cmovbe eax, r9d
lea rcx, [0x140035f5c]
mov r9d, eax
jmp 0x14001e744
test r9d, r9d
jne 0x14001e744
mov r9d, 0xc
jmp 0x14001e744
lea rcx, [0x1400342a0]
movzx eax, word [rsp + 0x6a]
lea r8, str._02d_s_02d_s
mov qword [rsp + 0x30], rcx
mov edx, 0x20
mov dword [rsp + 0x28], eax
lea rcx, [rsp + 0x70]
lea rax, [0x14004bdf0]
mov qword [rsp + 0x20], rax
call fcn.1400133f0
test r14, r14
jne 0x14001e79c
lea rax, [rsp + 0x70]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14001e77e
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400134a0
mov ebx, eax
jmp 0x140013255
mov rdx, r13
lea r8, [rsp + 0x70]
mov rcx, r14
call fcn.1400113e0
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x14001e7ac
jmp 0x140013255