Function at 0x14000d9a8
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 [0x1400400b0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r15d, r15d
movsxd r13, r9d
mov r14, r8
mov ebx, edx
test rcx, rcx
jne 0x140025d5c
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 0x140025dab
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 0x140025d6c
movzx r8d, word [rsp + 0x6a]
mov rdx, r13
movzx r9d, word [rsp + 0x68]
mov dword [rsp + 0x48], ecx
lea rcx, [0x140052fa0]
mov qword [rsp + 0x40], rcx
mov rcx, r14
mov dword [rsp + 0x38], eax
lea rax, [0x140052fc0]
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.14000daf0
or rbx, 0xffffffffffffffff
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x14000dab3
mov eax, ebx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14001f920
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.14002c6c4
nop
jmp 0x14000da13
movzx r9d, word [rsp + 0x6a]
movzx edx, word [rsp + 0x68]
mov dword [rsp + 0x38], ecx
lea rcx, [0x140052fa0]
mov qword [rsp + 0x30], rcx
lea rcx, str._2d_s_02d_s_02d_s_02d
mov dword [rsp + 0x28], eax
lea rax, [0x140052fc0]
mov r8, rax
mov qword [rsp + 0x20], rax
call fcn.14000dc90
jmp 0x140025fa3
or rbx, 0xffffffffffffffff
cmp byte [0x14004cbc5], r15b
je 0x140025f0e
mov r12d, r15d
call fcn.14001ad38
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 0x140025e2a
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 0x140025e1b
movzx eax, word [rdx + rcx]
test ax, ax
je 0x140025e1b
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x140025df9
test rdi, rdi
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], r15w
movzx esi, word [rbp - 0x50]
lea rdi, [rbp - 0x50]
jmp 0x140025ec6
cmp si, 0x27
jne 0x140025e4f
mov eax, r15d
add rdi, 2
test r12d, r12d
sete al
mov r12d, eax
jmp 0x140025ebf
test r12d, r12d
je 0x140025e5a
add rdi, 2
jmp 0x140025ebf
lea eax, [rsi - 0x48]
cmp ax, 0x25
ja 0x140025ebf
movabs rcx, 0x2100000001
bt rcx, rax
jae 0x140025ebf
mov rcx, r15
inc rcx
lea rdi, [rdi + 2]
cmp word [rdi], si
je 0x140025e76
mov rax, rcx
neg rax
lea r15, [rdi + rax*2]
lea rdi, [r15 + 2]
cmp rcx, 1
jne 0x140025ebc
mov r8, rbx
xor eax, eax
inc r8
cmp word [r15 + r8*2], ax
jne 0x140025e9b
lea r8, [r8*2 + 2]
mov rdx, r15
mov rcx, rdi
call sub.api_ms_win_crt_private_l1_1_0.dll_memmove
mov word [r15], si
xor r15d, r15d
add rdi, 2
movzx esi, word [rdi]
test si, si
jne 0x140025e37
call fcn.14001ad38
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 0x140025f82
mov word [rsp + 0x70], r15w
jmp 0x140025f82
cmp dword [0x1400400e4], r15d
lea rcx, [0x140039628]
movzx r9d, word [rsp + 0x68]
je 0x140025f4b
cmp r9d, 0xc
jb 0x140025f3e
lea eax, [r9 - 0xc]
cmovbe eax, r9d
lea rcx, [0x14003962c]
mov r9d, eax
jmp 0x140025f52
test r9d, r9d
jne 0x140025f52
mov r9d, 0xc
jmp 0x140025f52
lea rcx, [0x140037aa8]
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, [0x140052fc0]
mov qword [rsp + 0x20], rax
call fcn.14000daf0
test r14, r14
jne 0x140025faa
lea rax, [rsp + 0x70]
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140025f8c
mov rdx, rbx
lea rcx, [rsp + 0x70]
call fcn.14000dd4c
mov ebx, eax
jmp 0x14000dabd
mov rdx, r13
lea r8, [rsp + 0x70]
mov rcx, r14
call fcn.1400158f0
inc rbx
cmp word [r14 + rbx*2], r15w
jne 0x140025fba
jmp 0x14000dabd