Function at 0x140081460
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1404b3028]
xor rax, rsp
mov qword [rbp - 8], rax
mov rsi, rcx
cmp edx, 1
jne 0x140081b82
call fcn.140080670
mov qword [rbp - 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1400814e3
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x38]
call fcn.14005a460
test rax, rax
je 0x1400814bd
mov eax, dword [rax + 0x20]
jmp 0x140081bcd
cmp qword [0x1404b3060], 0
je 0x140081bc8
lea rax, str.wxLocaltime_r___failed
mov edx, 0x819
lea r9, str._tm_
jmp 0x140081b9f
lea r8, [rbp - 0x48]
mov dword [rbp - 0x48], 0xffffffff
lea rdx, [rbp - 0x30]
mov rcx, rsi
call fcn.140080770
mov r13d, dword [rax + 0x10]
call fcn.14007ef80
xor r14d, r14d
mov r12d, eax
cmp eax, 5
jne 0x140081b18
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x50]
mov dword [rbp - 0x50], 0x7b3
mov dword [rbp - 0x48], 9
call fcn.1400821b0
mov edi, dword [rbp - 0x50]
xor r8d, r8d
mov ebx, dword [rbp - 0x48]
mov edx, edi
mov ecx, ebx
call fcn.1400803e0
mov edx, Ordinal_33
lea r8, str.date_out_of_range___cant_convert_to_JDN
lea rcx, str.Invalid_date_in_wxDateTime::Set__
movabs r15, 0x8000000000000000
cmp dx, ax
ja 0x140081721
cmp edi, 0x7b2
jl 0x1400815d8
cmp edi, 0x7f5
jg 0x1400815d8
lea eax, [rdi - 0x76c]
mov dword [rbp - 0x24], edx
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x1c], eax
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x20], ebx
mov qword [rbp - 0x2c], r14
mov dword [rbp - 0x30], r14d
mov dword [rbp - 0x10], 0xffffffff
call fcn.140082410
mov rbx, qword [rbp - 0x40]
cmp rbx, r15
je 0x14008176e
movabs rax, 0x20c49ba5e353f7cf
imul rbx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rbx, rdx, 0x3e8
jmp 0x140081766
cmp edi, 0xffffed97
jg 0x140081627
jne 0x1400815e9
cmp ebx, 0xa
jg 0x140081627
je 0x14008162c
cmp qword [0x1404b3060], r14
je 0x140081627
mov qword [rsp + 0x20], r8
lea r9, str._year___JDN_0_YEAR_____year__JDN_0_YEAR____mon___JDN_0_MONTH______year__JDN_0_YEAR____mon__JDN_0_MONTH____day___JDN_0_DAY__
lea r8, str.GetTruncatedJDN
mov edx, 0xf9
lea rcx, str.C:LibrarieswxWidgets3.2.4_srccommondatetime.cpp
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x140081627
mov byte [0x1404c47a8], r14b
int3
cmp ebx, 2
jl 0x14008163c
imul r9d, ebx, 0x99
sub r9d, 0x130
jmp 0x14008164a
imul r9d, ebx, 0x99
add r9d, 0x5fc
mov eax, r14d
cmp ebx, 2
setge al
lea ecx, [rax + 0x12bf]
mov eax, 0x51eb851f
add ecx, edi
imul ecx
mov r8d, edx
sar r8d, 5
mov eax, r8d
shr eax, 0x1f
add r8d, eax
imul eax, r8d, 0x64
sub ecx, eax
imul eax, ecx, 0x5b5
cdq
and edx, 3
lea ecx, [rdx + rax]
imul eax, r8d, 0x23ab1
sar ecx, 2
cdq
and edx, 3
add eax, edx
sar eax, 2
add ecx, eax
mov eax, 0x66666667
imul r9d
add ecx, 0xffff82f1
sar edx, 1
mov eax, edx
add edx, ecx
shr eax, 0x1f
add eax, edx
movsxd rcx, eax
sub rcx, 0x253d8b
imul rbx, rcx, 0x5265c00
call fcn.14005a330
cdqe
imul rdi, rax, 0x3e8
cmp rbx, r15
jne 0x14008171c
cmp qword [0x1404b3060], r14
je 0x14008171c
lea rax, str.invalid_wxDateTime
mov edx, 0x74b
lea r9, str.IsValid__
mov qword [rsp + 0x20], rax
lea r8, str.wxDateTime::Add
lea rcx, str.C:LibrarieswxWidgets3.2.4includewxdatetime.h
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x14008171c
mov byte [0x1404c47a8], r14b
int3
add rbx, rdi
jmp 0x140081766
cmp qword [0x1404b3060], r14
je 0x14008175f
mov qword [rsp + 0x20], rcx
lea r9, str.__0___day____day___GetNumberOfDays_month__year___
lea rcx, str.C:LibrarieswxWidgets3.2.4_srccommondatetime.cpp
mov edx, 0x4ea
lea r8, str.wxDateTime::Set
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x14008175f
mov byte [0x1404c47a8], r14b
int3
mov rbx, qword [0x1404b3470]
mov rax, rbx
cmp rbx, r15
jne 0x1400817b5
cmp qword [0x1404b3060], r14
lea rdi, str.invalid_wxDateTime
je 0x1400817bc
lea r9, str.IsValid__
mov qword [rsp + 0x20], rdi
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:LibrarieswxWidgets3.2.4includewxdatetime.h
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x1400817bc
mov byte [0x1404c47a8], r14b
int3
lea rdi, str.invalid_wxDateTime
cmp qword [rsi], r15
jne 0x1400817ff
cmp qword [0x1404b3060], r14
je 0x1400817ff
lea r9, str.IsValid__
mov qword [rsp + 0x20], rdi
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:LibrarieswxWidgets3.2.4includewxdatetime.h
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x1400817ff
mov byte [0x1404c47a8], r14b
int3
cmp qword [rsi], rbx
jge 0x140081b18
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x40], r14
lea rcx, [rbp - 0x48]
mov dword [rbp - 0x48], 0x7b0
mov dword [rbp - 0x50], 9
call fcn.1400821b0
mov ebx, dword [rbp - 0x48]
xor r8d, r8d
mov edi, dword [rbp - 0x50]
mov edx, ebx
mov ecx, edi
call fcn.1400803e0
mov ecx, reloc.WLDAP32.dll_Ordinal_27
cmp cx, ax
ja 0x140081a24
cmp ebx, 0x7b2
jl 0x1400818b6
cmp ebx, 0x7f5
jg 0x1400818b6
lea eax, [rbx - 0x76c]
mov dword [rbp - 0x24], ecx
lea rcx, [rbp - 0x40]
mov dword [rbp - 0x1c], eax
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x20], edi
mov qword [rbp - 0x2c], r14
mov dword [rbp - 0x30], r14d
mov dword [rbp - 0x10], 0xffffffff
call fcn.140082410
mov rbx, qword [rbp - 0x40]
cmp rbx, r15
je 0x140081a78
movabs rax, 0x20c49ba5e353f7cf
imul rbx
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rbx, rdx, 0x3e8
jmp 0x140081a70
mov r15d, ebx
cmp ebx, 0xffffed97
jg 0x140081925
jne 0x1400818e0
cmp edi, 0xa
jg 0x140081925
jne 0x1400818e0
imul r9d, edi, 0x99
add ebx, 0x12c0
sub r9d, 0x130
jmp 0x140081955
cmp qword [0x1404b3060], r14
je 0x140081925
lea rax, str.date_out_of_range___cant_convert_to_JDN
mov edx, 0xf9
lea r9, str._year___JDN_0_YEAR_____year__JDN_0_YEAR____mon___JDN_0_MONTH______year__JDN_0_YEAR____mon__JDN_0_MONTH____day___JDN_0_DAY__
mov qword [rsp + 0x20], rax
lea r8, str.GetTruncatedJDN
lea rcx, str.C:LibrarieswxWidgets3.2.4_srccommondatetime.cpp
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x140081925
mov byte [0x1404c47a8], r14b
int3
add ebx, 0x12c0
cmp edi, 2
jl 0x140081940
imul r9d, edi, 0x99
sub r9d, 0x130
jmp 0x140081955
imul r9d, edi, 0x99
lea ebx, [r15 + 0x12bf]
add r9d, 0x5fc
mov eax, 0x51eb851f
imul ebx
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
imul eax, ecx, 0x64
sub ebx, eax
imul eax, ebx, 0x5b5
cdq
and edx, 3
lea r8d, [rdx + rax]
imul eax, ecx, 0x23ab1
sar r8d, 2
cdq
and edx, 3
add eax, edx
sar eax, 2
add r8d, eax
mov eax, 0x66666667
imul r9d
add r8d, 0xffff82ed
sar edx, 1
mov eax, edx
add edx, r8d
shr eax, 0x1f
add eax, edx
movsxd rcx, eax
sub rcx, 0x253d8b
imul rbx, rcx, 0x5265c00
call fcn.14005a330
cdqe
movabs r15, 0x8000000000000000
imul rdi, rax, 0x3e8
cmp rbx, r15
jne 0x140081a1f
cmp qword [0x1404b3060], r14
je 0x140081a1f
lea rax, str.invalid_wxDateTime
mov edx, 0x74b
lea r9, str.IsValid__
mov qword [rsp + 0x20], rax
lea r8, str.wxDateTime::Add
lea rcx, str.C:LibrarieswxWidgets3.2.4includewxdatetime.h
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x140081a1f
mov byte [0x1404c47a8], r14b
int3
add rbx, rdi
jmp 0x140081a70
cmp qword [0x1404b3060], r14
je 0x140081a69
lea rax, str.Invalid_date_in_wxDateTime::Set__
mov edx, 0x4ea
lea r9, str.__0___day____day___GetNumberOfDays_month__year___
mov qword [rsp + 0x20], rax
lea r8, str.wxDateTime::Set
lea rcx, str.C:LibrarieswxWidgets3.2.4_srccommondatetime.cpp
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x140081a69
mov byte [0x1404c47a8], r14b
int3
mov rbx, qword [0x1404b3470]
mov rax, rbx
cmp rbx, r15
jne 0x140081abf
cmp qword [0x1404b3060], r14
lea rdi, str.invalid_wxDateTime
je 0x140081ac6
lea r9, str.IsValid__
mov qword [rsp + 0x20], rdi
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:LibrarieswxWidgets3.2.4includewxdatetime.h
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x140081ac6
mov byte [0x1404c47a8], r14b
int3
lea rdi, str.invalid_wxDateTime
cmp qword [rsi], r15
jne 0x140081b09
cmp qword [0x1404b3060], r14
je 0x140081b09
lea r9, str.IsValid__
mov qword [rsp + 0x20], rdi
lea r8, str.wxDateTime::GetValue
mov edx, 0x6b8
lea rcx, str.C:LibrarieswxWidgets3.2.4includewxdatetime.h
call fcn.140042050
cmp byte [0x1404c47a8], r14b
je 0x140081b09
mov byte [0x1404c47a8], r14b
int3
cmp qword [rsi], rbx
jle 0x140081b18
mov eax, 1
jmp 0x140081bcd
mov edx, r12d
mov ecx, r13d
call fcn.140081c00
test al, al
je 0x140081bc8
mov r8d, r12d
lea rcx, [rbp - 0x40]
mov edx, r13d
call fcn.14007f740
mov r8d, r12d
lea rcx, [rbp - 0x48]
mov edx, r13d
mov rbx, rax
call fcn.14007eb50
mov rcx, qword [rsi]
cmp rcx, qword [rax]
je 0x140081b77
cmp rcx, qword [rbx]
je 0x140081b77
mov rdx, rax
mov rcx, rsi
call fcn.14007dc90
test al, al
je 0x140081b7d
mov rdx, rbx
mov rcx, rsi
call fcn.14007dbb0
test al, al
je 0x140081b7d
mov r14d, 1
mov eax, r14d
jmp 0x140081bcd
cmp qword [0x1404b3060], 0
je 0x140081bc8
lea rax, str.country_support_not_implemented
mov edx, 0x810
lea r9, str._country__Country_Default_
lea r8, str.wxDateTime::IsDST
mov qword [rsp + 0x20], rax
lea rcx, str.C:LibrarieswxWidgets3.2.4_srccommondatetime.cpp
call fcn.140042050
cmp byte [0x1404c47a8], 0
je 0x140081bc8
mov byte [0x1404c47a8], 0
int3
mov eax, 0xffffffff
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003b100
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret