Function at 0x140038160
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x1400a5028]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov rsi, rcx
mov r8, rdx
lea rdx, [rbp + 7]
call fcn.140032800
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x11]
call qword [sym.imp.adp_core_6_1.dll_public:_void___cdecl_autodesk::platform::core::string::UTF8String::constructor_class_autodesk::platform::core::string::WideString_const____ptr64____ptr64]
nop
mov rcx, rax
call qword [sym.imp.adp_core_6_1.dll_public:_char_const____ptr64___cdecl_autodesk::platform::core::string::UTF8String::string_void_const___ptr64]
mov qword [rbp - 0x21], 0xf
xor r15d, r15d
mov qword [rbp - 0x29], r15
mov byte [rbp - 0x39], r15b
cmp byte [rax], r15b
jne 0x1400381da
mov r8d, r15d
jmp 0x1400381e9
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x1400381e0
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.140035240
nop
mov qword [rbp - 0x41], 0xf
mov qword [rbp - 0x49], r15
mov byte [rbp - 0x59], 0
mov r8d, 9
lea rdx, str.SunAndSky
lea rcx, [rbp - 0x59]
call fcn.140035240
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rsi + 0x340]
call fcn.140050d00
mov rdi, rax
mov rax, qword [rbp - 0x41]
cmp rax, 0x10
jb 0x14003829d
inc rax
mov rcx, qword [rbp - 0x59]
cmp rax, 0xffffffffffffffff
jbe 0x140038252
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rax, 0x1000
jb 0x140038297
test byte [rbp - 0x59], 0x1f
je 0x140038267
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140038277
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140038287
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x140038294
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonUndo::XElementButtonUndo]
mov qword [rbp - 0x41], 0xf
mov qword [rbp - 0x49], r15
mov byte [rbp - 0x59], 0
mov rax, qword [rbp - 0x21]
cmp rax, 0x10
jb 0x140038316
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0xffffffffffffffff
jbe 0x1400382cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rax, 0x1000
jb 0x140038310
test byte [rbp - 0x39], 0x1f
je 0x1400382e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400382f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rcx, rax
cmp rcx, 8
jae 0x140038300
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp rcx, 0x27
jbe 0x14003830d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rax
call qword [sym.imp.mfc140u.dll_CMFCRibbonInfo::XElementButtonUndo::XElementButtonUndo]
mov qword [rbp - 0x21], 0xf
mov qword [rbp - 0x29], r15
mov byte [rbp - 0x39], 0
lea rcx, [rbp - 0x11]
call qword [sym.imp.adp_core_6_1.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::UTF8String::destructor_void____ptr64]
test rbx, rbx
je 0x1400384d4
lea r14, str.degree
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rbx + 0x40]
lea r8, str.Longitude
mov rdx, rdi
call fcn.140032d70
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rbx + 0x38]
lea r8, str.Latitude
mov rdx, rdi
call fcn.140032d70
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rbx + 0x48]
lea r8, str.north_offset_from_x
mov rdx, rdi
call fcn.140032d70
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rbx + 0x30]
lea r8, str.TimeZoneOffset
mov rdx, rdi
call fcn.140032d70
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rbx + 8]
lea r8, str.multiplier
mov rdx, rdi
call fcn.140032d70
mov r9d, dword [rbx + 0x50]
lea r8, str.Year
mov rdx, rdi
call fcn.140032ae0
mov r9d, dword [rbx + 0x54]
lea r8, str.Month
mov rdx, rdi
call fcn.140032ae0
mov r9d, dword [rbx + 0x58]
lea r8, [0x1400805cc]
mov rdx, rdi
call fcn.140032ae0
movd xmm3, dword [rbx + 0x5c]
cvtdq2pd xmm3, xmm3
mulsd xmm3, qword [0x140081380]
movd xmm0, dword [rbx + 0x60]
cvtdq2pd xmm0, xmm0
addsd xmm3, xmm0
divsd xmm3, qword [0x140081380]
mov qword [rsp + 0x20], r15
lea r8, str.Time
mov rdx, rdi
call fcn.140032d70
movzx r9d, byte [rbx + 0x64]
lea r8, [0x1400805d8]
mov rdx, rdi
call fcn.1400328e0
movzx r9d, byte [rbx + 2]
lea r8, str.backgroundOn
mov rdx, rdi
call fcn.1400328e0
movzx r9d, byte [rbx]
lea r8, str.illuminationOn
mov rdx, rdi
call fcn.1400328e0
movzx r9d, byte [rbx + 1]
lea r8, str.shadowOn
mov rdx, rdi
call fcn.1400328e0
cmp byte [rbx + 2], 0
je 0x1400384d4
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rbx + 0x68]
lea r8, str.haze
mov rdx, rdi
call fcn.140032d70
lea r9, [rbx + 0x80]
mov qword [rsp + 0x20], r15
lea r8, str.ground_color
mov rdx, rdi
call fcn.140036370
lea r9, [rbx + 0xa0]
mov qword [rsp + 0x20], r15
lea r8, str.night_color
mov rdx, rdi
call fcn.140036370
inc dword [rsi + 0x230]
lea rcx, [rbp + 7]
call qword [sym.imp.adp_core_6_1.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::WideString::destructor_void____ptr64]
mov al, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140063e50
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret