Function at 0x1400337c0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov rax, qword [0x1400b2a68]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov rsi, rcx
lea rcx, [rbp - 0x61]
call fcn.14002b600
nop
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 0x41]
call qword [sym.imp.adp_core_4_0.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_4_0.dll_public:_char_const____ptr64___cdecl_autodesk::platform::core::string::UTF8String::string_void_const___ptr64]
mov rdx, rax
mov qword [rbp + 0x17], 0xf
xor r12d, r12d
mov qword [rbp + 0xf], r12
mov byte [rbp - 1], r12b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 1]
call fcn.14002e730
nop
mov qword [rbp - 0x11], 0xf
mov qword [rbp - 0x19], r12
mov byte [rbp - 0x29], r12b
lea r8d, [r12 + 9]
lea rdx, str.SunAndSky
lea rcx, [rbp - 0x29]
call fcn.14002e730
nop
lea r8, [rbp - 1]
lea rdx, [rbp - 0x29]
mov rcx, qword [rsi + 0x3c0]
call fcn.140046ea0
mov rdi, rax
cmp qword [rbp - 0x11], 0x10
jb 0x140033891
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rbp - 0x11], 0xf
mov qword [rbp - 0x19], r12
mov byte [rbp - 0x29], 0
cmp qword [rbp + 0x17], 0x10
jb 0x1400338b2
mov rcx, qword [rbp - 1]
call qword [sym.imp.mfc100u.dll_CThreadLocalObject::CThreadLocalObject]
mov qword [rbp + 0x17], 0xf
mov qword [rbp + 0xf], r12
mov byte [rbp - 1], 0
lea rcx, [rbp - 0x41]
call qword [sym.imp.adp_core_4_0.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::UTF8String::destructor_void____ptr64]
test rbx, rbx
je 0x140033a63
lea r9, str.degree
movsd xmm2, qword [rbx + 0x40]
lea rdx, str.Longitude
mov rcx, rdi
call fcn.14002bb30
lea r9, str.degree
movsd xmm2, qword [rbx + 0x38]
lea rdx, str.Latitude
mov rcx, rdi
call fcn.14002bb30
lea r9, str.degree
movsd xmm2, qword [rbx + 0x48]
lea rdx, str.north_offset_from_x
mov rcx, rdi
call fcn.14002bb30
xor r9d, r9d
movsd xmm2, qword [rbx + 0x30]
lea rdx, str.TimeZoneOffset
mov rcx, rdi
call fcn.14002bb30
xor r9d, r9d
movsd xmm2, qword [rbx + 8]
lea rdx, str.multiplier
mov rcx, rdi
call fcn.14002bb30
mov r8d, dword [rbx + 0x50]
lea rdx, str.Year
mov rcx, rdi
call fcn.14002b850
mov r8d, dword [rbx + 0x54]
lea rdx, str.Month
mov rcx, rdi
call fcn.14002b850
mov r8d, dword [rbx + 0x58]
lea rdx, [0x14008a8ec]
mov rcx, rdi
call fcn.14002b850
movd xmm2, dword [rbx + 0x5c]
cvtdq2pd xmm2, xmm2
mulsd xmm2, qword [0x14008e558]
movd xmm0, dword [rbx + 0x60]
cvtdq2pd xmm0, xmm0
addsd xmm2, xmm0
divsd xmm2, qword [0x14008e558]
xor r9d, r9d
lea rdx, str.Time
mov rcx, rdi
call fcn.14002bb30
movzx r8d, byte [rbx + 0x64]
lea rdx, [0x14008a8f8]
mov rcx, rdi
call fcn.14002b6e0
movzx r8d, byte [rbx + 2]
lea rdx, str.backgroundOn
mov rcx, rdi
call fcn.14002b6e0
movzx r8d, byte [rbx]
lea rdx, str.illuminationOn
mov rcx, rdi
call fcn.14002b6e0
movzx r8d, byte [rbx + 1]
lea rdx, str.shadowOn
mov rcx, rdi
call fcn.14002b6e0
cmp byte [rbx + 2], 0
je 0x140033a63
xor r9d, r9d
movsd xmm2, qword [rbx + 0x68]
lea rdx, str.haze
mov rcx, rdi
call fcn.14002bb30
lea r8, [rbx + 0x80]
xor r9d, r9d
lea rdx, str.ground_color
mov rcx, rdi
call fcn.1400318f0
lea r8, [rbx + 0xa0]
xor r9d, r9d
lea rdx, str.night_color
mov rcx, rdi
call fcn.1400318f0
inc dword [rsi + 0x280]
lea rcx, [rbp - 0x61]
call qword [sym.imp.adp_core_4_0.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.140061f20
add rsp, 0xc0
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret