Function at 0x1400124fc
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 [0x14003b0f8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r15d, r15d
movsxd r13, r9d
mov r14, r8
mov ebx, edx
test rcx, rcx
jne 0x14001de46
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTime]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FileTimeToLocalFileTime]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_timezone_l1_1_0.dll_FileTimeToSystemTime]
cmp ebx, 1
jne 0x14001de95
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 0x14001de56
movzx r8d, word [rsp + 0x6a]
mov rdx, r13
movzx r9d, word [rsp + 0x68]
mov dword [rsp + 0x48], ecx
lea rcx, [0x140049d70]
mov qword [rsp + 0x40], rcx
mov rcx, r14
mov dword [rsp + 0x38], eax
lea rax, [0x140049d90]
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.140012978
or rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x1400125ef
mov eax, ebx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400182e0
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.140026efc
nop
jmp 0x14001255b
movzx r9d, word [rsp + 0x6a]
movzx edx, word [rsp + 0x68]
mov dword [rsp + 0x38], ecx
lea rcx, [0x140049d70]
mov qword [rsp + 0x30], rcx
lea rcx, str._2d_s_02d_s_02d_s_02d
mov dword [rsp + 0x28], eax
lea rax, [0x140049d90]
mov r8, rax
mov qword [rsp + 0x20], rax
call fcn.14001277c
jmp 0x14001e084
or rbx, 0xffffffffffffffff
cmp byte [0x140043aa5], r15b
je 0x14001dfef
mov r12d, r15d
call fcn.140014404
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]
test eax, eax
jne 0x14001df0e
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 0x14001deff
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14001deff
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14001dedd
test rdi, rdi
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
movzx esi, word [rbp - 0x50]
lea rdi, [rbp - 0x50]
jmp 0x14001dfad
cmp si, 0x27
jne 0x14001df33
mov eax, r15d
add rdi, 2
test r12d, r12d
sete al
mov r12d, eax
jmp 0x14001dfa6
test r12d, r12d
je 0x14001df3e
add rdi, 2
jmp 0x14001dfa6
lea eax, [rsi - 0x48]
cmp ax, 0x25
ja 0x14001dfa6
movzx eax, ax
movabs rcx, 0x2100000001
bt rcx, rax
jae 0x14001dfa6
mov rcx, r15
inc rcx
lea rdi, [rdi + 2]
cmp word [rdi], si
je 0x14001df5d
mov rax, rcx
neg rax
lea r15, [rdi + rax*2]
lea rdi, [r15 + 2]
cmp rcx, 1
jne 0x14001dfa3
mov r8, rbx
xor eax, eax
inc r8
cmp word [r15 + r8*2], ax
jne 0x14001df82
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 0x14001df1b
call fcn.140014404
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]
test eax, eax
jne 0x14001e063
mov word [rsp + 0x70], r15w
jmp 0x14001e063
cmp dword [0x14003b114], r15d
lea rcx, [0x140033f28]
movzx r9d, word [rsp + 0x68]
je 0x14001e02c
cmp r9d, 0xc
jb 0x14001e01f
lea eax, [r9 - 0xc]
cmovbe eax, r9d
lea rcx, [0x140033f2c]
mov r9d, eax
jmp 0x14001e033
test r9d, r9d
jne 0x14001e033
mov r9d, 0xc
jmp 0x14001e033
lea rcx, [0x140032318]
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, [0x140049d90]
mov qword [rsp + 0x20], rax
call fcn.140012978
test r14, r14
jne 0x14001e08b
lea rax, [rsp + 0x70]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14001e06d
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.1400127d4
mov ebx, eax
jmp 0x1400125f9
mov rdx, r13
lea r8, [rsp + 0x70]
mov rcx, r14
call fcn.1400106e0
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x14001e09b
jmp 0x1400125f9