Function at 0x140036ea0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov rax, qword [0x140097030]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, r9
mov r14, rdx
mov rsi, rcx
test rdx, rdx
jne 0x140036edb
xor al, al
jmp 0x140037218
lea rdx, str.ENV:
lea rcx, [rbp - 0x11]
call qword [sym.imp.adp_core_6_1.dll_public:_void___cdecl_autodesk::platform::core::string::WideString::constructor_wchar_t_const____ptr64____ptr64]
mov rbx, rax
mov rdx, r14
lea rcx, [rbp - 0x49]
call qword [sym.imp.adp_core_6_1.dll_public:_void___cdecl_autodesk::platform::core::string::WideString::constructor_wchar_t_const____ptr64____ptr64]
nop
lea r8, [rbp - 0x49]
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.adp_core_6_1.dll_public:_class_autodesk::platform::core::string::WideString___cdecl_autodesk::platform::core::string::WideString::concat_class_autodesk::platform::core::string::WideString_const____ptr64____ptr64]
nop
lea rcx, [rbp - 0x49]
call qword [sym.imp.adp_core_6_1.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::WideString::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x11]
call qword [sym.imp.adp_core_6_1.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::WideString::destructor_void____ptr64]
nop
mov rbx, qword [rsi + 0x340]
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x29]
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]
xor r15d, r15d
mov qword [rbp - 0x69], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], r15b
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r15b
jne 0x140036f62
mov rdx, rax
lea rcx, [rbp - 0x69]
call fcn.140003900
nop
mov qword [rsp + 0x30], r15
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], 0xf
mov byte [rsp + 0x30], 0
mov r8d, 9
lea rdx, str.SunAndSky
lea rcx, [rsp + 0x30]
call fcn.140003900
nop
lea r8, [rbp - 0x69]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14004fa40
mov rbx, rax
mov rdx, qword [rbp - 0x71]
cmp rdx, 0x10
jb 0x140036ff9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036ff4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140036ff4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400624c4
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x51]
cmp rdx, 0x10
jb 0x140037048
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140037043
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140037043
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400624c4
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], 0xf
mov byte [rbp - 0x69], 0
lea rcx, [rbp - 0x29]
call qword [sym.imp.adp_core_6_1.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::UTF8String::destructor_void____ptr64]
test rdi, rdi
je 0x140037206
lea r14, str.degree
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rdi + 0x40]
lea r8, str.Longitude
mov rdx, rbx
call fcn.140031810
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rdi + 0x38]
lea r8, str.Latitude
mov rdx, rbx
call fcn.140031810
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rdi + 0x48]
lea r8, str.north_offset_from_x
mov rdx, rbx
call fcn.140031810
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rdi + 0x30]
lea r8, str.TimeZoneOffset
mov rdx, rbx
call fcn.140031810
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rdi + 8]
lea r8, str.multiplier
mov rdx, rbx
call fcn.140031810
mov r9d, dword [rdi + 0x50]
lea r8, str.Year
mov rdx, rbx
call fcn.140031540
mov r9d, dword [rdi + 0x54]
lea r8, str.Month
mov rdx, rbx
call fcn.140031540
mov r9d, dword [rdi + 0x58]
lea r8, [0x1400791b4]
mov rdx, rbx
call fcn.140031540
movd xmm3, dword [rdi + 0x5c]
cvtdq2pd xmm3, xmm3
mulsd xmm3, qword [0x140079f68]
movd xmm0, dword [rdi + 0x60]
cvtdq2pd xmm0, xmm0
addsd xmm3, xmm0
divsd xmm3, qword [0x140079f68]
mov qword [rsp + 0x20], r15
lea r8, str.Time
mov rdx, rbx
call fcn.140031810
movzx r9d, byte [rdi + 0x64]
lea r8, [0x1400791c0]
mov rdx, rbx
call fcn.1400313e0
movzx r9d, byte [rdi + 2]
lea r8, str.backgroundOn
mov rdx, rbx
call fcn.1400313e0
movzx r9d, byte [rdi]
lea r8, str.illuminationOn
mov rdx, rbx
call fcn.1400313e0
movzx r9d, byte [rdi + 1]
lea r8, str.shadowOn
mov rdx, rbx
call fcn.1400313e0
cmp byte [rdi + 2], 0
je 0x140037206
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rdi + 0x68]
lea r8, str.haze
mov rdx, rbx
call fcn.140031810
lea r9, [rdi + 0x80]
mov qword [rsp + 0x20], r15
lea r8, str.ground_color
mov rdx, rbx
call fcn.140034e80
lea r9, [rdi + 0xa0]
mov qword [rsp + 0x20], r15
lea r8, str.night_color
mov rdx, rbx
call fcn.140034e80
inc dword [rsi + 0x230]
lea rcx, [rbp + 0xf]
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 + 0x2f]
xor rcx, rsp
call fcn.1400621d0
mov rbx, qword [rsp + 0x130]
add rsp, 0xf0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret