Function at 0x140164030
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x90
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
cmp edx, 1
jne 0x1401642f3
call fcn.1401631d0
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x1401640b9
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.1401194c0
test rax, rax
je 0x140164093
mov eax, dword [rax + 0x20]
jmp 0x14016433e
cmp qword [0x14055a4b8], 0
je 0x140164339
lea rax, str.wxLocaltime_r___failed
mov edx, 0x832
lea r9, str._tm_
jmp 0x140164310
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0xffffffff
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.1401632d0
mov r14d, dword [rax + 0x10]
call fcn.140161ec0
xor esi, esi
mov ebp, eax
cmp eax, 5
jne 0x14016428a
mov word [rsp + 0x38], si
lea edx, [rax + 0x1a]
mov word [rsp + 0x30], si
lea r8d, [rax + 4]
mov word [rsp + 0x28], si
lea rcx, [rsp + 0x40]
mov r9d, 0x7b3
mov word [rsp + 0x20], si
mov qword [rsp + 0x40], rsi
call fcn.140164f20
mov rbx, qword [rsp + 0x40]
lea r15, str.invalid_wxDateTime
movabs r12, 0x8000000000000000
cmp rbx, r12
jne 0x140164172
cmp qword [0x14055a4b8], rsi
je 0x140164172
lea r9, str.IsValid__
mov qword [rsp + 0x20], r15
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewxdatetime.h
call fcn.1401190f0
cmp byte [0x1405750a8], sil
je 0x140164172
mov byte [0x1405750a8], sil
int3
cmp qword [rdi], r12
jne 0x1401641b5
cmp qword [0x14055a4b8], rsi
je 0x1401641b5
lea r9, str.IsValid__
mov qword [rsp + 0x20], r15
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewxdatetime.h
call fcn.1401190f0
cmp byte [0x1405750a8], sil
je 0x1401641b5
mov byte [0x1405750a8], sil
int3
cmp qword [rdi], rbx
jge 0x14016428a
mov word [rsp + 0x38], si
lea rcx, [rsp + 0x40]
mov edx, reloc.WLDAP32.dll_Ordinal_27
mov word [rsp + 0x30], si
mov word [rsp + 0x28], si
mov r9d, 0x7b0
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x20], si
lea r8d, [rdx - 0x12]
call fcn.140164f20
mov rbx, qword [rsp + 0x40]
cmp rbx, r12
jne 0x140164238
cmp qword [0x14055a4b8], rsi
je 0x140164238
lea r9, str.IsValid__
mov qword [rsp + 0x20], r15
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewxdatetime.h
call fcn.1401190f0
cmp byte [0x1405750a8], sil
je 0x140164238
mov byte [0x1405750a8], sil
int3
cmp qword [rdi], r12
jne 0x14016427b
cmp qword [0x14055a4b8], rsi
je 0x14016427b
lea r9, str.IsValid__
mov qword [rsp + 0x20], r15
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:ProjectwxWidgets_3.2.2.1includewxdatetime.h
call fcn.1401190f0
cmp byte [0x1405750a8], sil
je 0x14016427b
mov byte [0x1405750a8], sil
int3
cmp qword [rdi], rbx
jle 0x14016428a
mov eax, 1
jmp 0x14016433e
mov edx, ebp
mov ecx, r14d
call fcn.140164370
test al, al
je 0x140164339
mov r8d, ebp
lea rcx, [rsp + 0x40]
mov edx, r14d
call fcn.140162330
mov r8d, ebp
lea rcx, [rsp + 0x50]
mov edx, r14d
mov rbx, rax
call fcn.140161a90
mov rcx, qword [rdi]
cmp rcx, qword [rax]
je 0x1401642ea
cmp rcx, qword [rbx]
je 0x1401642ea
mov rdx, rax
mov rcx, rdi
call fcn.140160b20
test al, al
je 0x1401642ef
mov rdx, rbx
mov rcx, rdi
call fcn.140160a40
test al, al
je 0x1401642ef
mov esi, 1
mov eax, esi
jmp 0x14016433e
cmp qword [0x14055a4b8], 0
je 0x140164339
lea rax, str.country_support_not_implemented
mov edx, 0x829
lea r9, str._country__Country_Default_
lea r8, str.wxDateTime::IsDST
mov qword [rsp + 0x20], rax
lea rcx, str.C:ProjectwxWidgets_3.2.2.1_srccommondatetime.cpp
call fcn.1401190f0
cmp byte [0x1405750a8], 0
je 0x140164339
mov byte [0x1405750a8], 0
int3
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14036c0d0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret