Function at 0x140028340
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x120
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140729900]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rdi, rdx
mov rbx, rcx
xor esi, esi
mov byte [rsp + 0x30], sil
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0xde
lea r9, str.NGUDCApp::JsonWriter::createInstallDefaults
lea r8, [0x1407457b0]
mov rdx, qword [0x1407453c0]
lea rcx, [rsp + 0x70]
call fcn.14000a880
nop
call fcn.14002e510
mov qword [rbx + 0x30], rax
movzx ecx, word [rdi]
call fcn.14002e700
mov r8, rax
lea rdx, str.LANG_ID
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
movzx ecx, word [rdi + 2]
call fcn.14002e700
mov r8, rax
lea rdx, str.LANG_ID_UGWLG
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
lea rdx, [rdi + 8]
cmp qword [rdx + 0x18], 8
jb 0x1400283fb
mov rdx, qword [rdx]
or r15d, 0xffffffff
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
lea r14d, [r15 + 0x11]
cmp qword [rax + 0x18], r14
jb 0x14002841a
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.LANG_CODE
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov r13d, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x140028456
inc rdx
mov r8d, r13d
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov r12d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0x28]
cmp qword [rdx + 0x18], 8
jb 0x140028479
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x140028490
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.LANG_CODE_2LETTERS
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x1400284c6
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
movzx ecx, byte [rdi + 0x48]
call fcn.14002e620
mov r8, rax
lea rdx, str.Is64bitOS
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
movzx ecx, byte [rdi + 0x49]
call fcn.14002e620
mov r8, rax
lea rdx, str.IsWin8
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
movzx ecx, byte [rdi + 0x4a]
call fcn.14002e620
mov r8, rax
lea rdx, str.IsWin10
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
movzx ecx, byte [rdi + 0x4b]
call fcn.14002e620
mov r8, rax
lea rdx, str.IsVista
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
movzx ecx, byte [rdi + 0x4c]
call fcn.14002e620
mov r8, rax
lea rdx, str.IsXP
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
movzx ecx, byte [rdi + 0x4d]
call fcn.14002e620
mov r8, rax
lea rdx, str.IsSubscribedToInstantInk
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
lea rdx, [rdi + 0x50]
cmp qword [rdx + 0x18], 8
jb 0x14002858b
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x1400285a2
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.COUNTRY_CODE
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x1400285d8
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0x70]
cmp qword [rdx + 0x18], 8
jb 0x1400285f5
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x14002860c
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.MODEL_NAME
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x140028642
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0x90]
cmp qword [rdx + 0x18], 8
jb 0x140028662
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x140028679
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.PROGRAMFILES
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x1400286af
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0xb0]
cmp qword [rdx + 0x18], 8
jb 0x1400286cf
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x1400286e6
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.PROGRAMFILES_X86
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x14002871c
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0xd0]
cmp qword [rdx + 0x18], 8
jb 0x14002873c
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x140028753
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.DEVICE_DATA
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x140028789
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0xf0]
cmp qword [rdx + 0x18], 8
jb 0x1400287a9
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x1400287c0
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.HELP_DATA
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x1400287f6
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0x110]
cmp qword [rdx + 0x18], 8
jb 0x140028816
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x14002882d
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.INSTALLDIR
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x140028863
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0x130]
cmp qword [rdx + 0x18], 8
jb 0x140028883
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x14002889a
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.INSTALLDIR_X86
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x1400288d0
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0x150]
cmp qword [rdx + 0x18], 8
jb 0x1400288f0
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x140028907
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.SxS_INSTALLDIR
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x14002893d
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
lea rdx, [rdi + 0x170]
cmp qword [rdx + 0x18], 8
jb 0x14002895d
mov rdx, qword [rdx]
mov r8d, r15d
lea rcx, [rsp + 0x48]
call fcn.140016870
nop
cmp qword [rax + 0x18], r14
jb 0x140028974
mov rax, qword [rax]
mov rcx, rax
call fcn.14002e880
mov r8, rax
lea rdx, str.SxS_INSTALLDIR_X86
mov rcx, qword [rbx + 0x30]
call fcn.14002e570
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, r14
jb 0x1400289aa
inc rdx
mov r8, r13
mov rcx, qword [rsp + 0x48]
call fcn.140009bb0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], rsi
mov byte [rsp + 0x48], sil
mov rcx, qword [rbx + 0x30]
call fcn.14002e2c0
mov rcx, rax
call fcn.14029c0f8
mov qword [rbx + 0x28], rax
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x1400289e3
add dword [rax + 0x18], r15d
jne 0x1400289e3
mov rcx, rax
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbx + 0x28]
lea rcx, [rsp + 0x70]
call fcn.14000a9d0
mov rax, rbx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1402812e0
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret