Function at 0x14005dc10
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rsp - 0x300]
sub rsp, 0x400
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r12, rcx
lea rdx, [rbp - 8]
add rcx, 0x88
call fcn.14005c040
xor r13d, r13d
or ebx, 0xffffffff
cmp qword [rbp + 8], r13
je 0x14005df20
lea rdx, [0x140117ea0]
lea rcx, [rbp - 0x40]
xor r8d, r8d
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r13
mov word [rbp - 0x40], r13w
call fcn.1400067c0
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xc0]
call fcn.1400b34d0
lea rcx, [rbp + 0x100]
call fcn.14005c0a0
mov r9, qword [rbp - 8]
mov rcx, qword [rbp + 0x10]
mov rax, qword [rbp + 8]
cmp rcx, 8
lea r11, [rbp - 8]
cmovae r11, r9
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x20]
cmovae rdx, r9
movzx r9d, byte [rsp + 0x20]
lea r8, [r11 + rax*2]
mov qword [rbp + 0x38], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x30], r13
mov byte [rbp + 0x20], r13b
call fcn.1400a0510
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0xc0]
call fcn.1400aef70
test al, al
je 0x14005dea2
cmp qword [rbp + 0x1f0], 8
lea rdx, [rbp + 0x1d8]
lea rcx, [rbp - 0x78]
cmovae rdx, qword [rbp + 0x1d8]
call fcn.14000fdc0
lea rdx, [rbp - 0x78]
lea rcx, [r12 + 0x1d0]
call fcn.1400f02a0
mov rdx, qword [rbp - 0x78]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005dd58
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x218], 8
lea rdx, [rbp + 0x200]
lea rcx, [rbp - 0x68]
cmovae rdx, qword [rbp + 0x200]
call fcn.14000fdc0
lea rdx, [rbp - 0x68]
lea rcx, [r12 + 0x1d0]
call fcn.1400f0370
mov rdx, qword [rbp - 0x68]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005dda7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x1b8]
mov r9, qword [rbp + 0x1a0]
mov r8, qword [rbp + 0x1b0]
cmp rcx, 0x10
lea rdx, [rbp + 0x1a0]
mov qword [rbp + 0x60], 7
cmovae rdx, r9
mov qword [rbp + 0x58], r13
mov word [rbp + 0x48], r13w
add r8, rdx
cmp rcx, 0x10
lea rdx, [rbp + 0x1a0]
cmovae rdx, r9
movzx r9d, byte [rsp + 0x20]
lea rcx, [rbp + 0x48]
call fcn.14005bcf0
cmp qword [rbp + 0x60], 8
lea rdx, [rbp + 0x48]
cmovae rdx, qword [rbp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.14000fdc0
lea rdx, [rbp - 0x58]
lea rcx, [r12 + 0x1d0]
call fcn.1400f0030
mov rdx, qword [rbp - 0x58]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005de43
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x60], 8
jb 0x14005de53
mov rcx, qword [rbp + 0x48]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
cmp qword [rbp + 0x240], 8
lea rdx, [rbp + 0x228]
lea rcx, [rbp - 0x60]
cmovae rdx, qword [rbp + 0x228]
call fcn.14000fdc0
lea rdx, [rbp - 0x60]
lea rcx, [r12 + 0x1d0]
call fcn.1400f01d0
mov rdx, qword [rbp - 0x60]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005dea2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x10], 8
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x70]
cmovae rdx, qword [rbp - 8]
call fcn.14000fdc0
lea rcx, [r12 + 0x1d0]
lea rdx, [rbp - 0x70]
call fcn.1400f0100
mov rdx, qword [rbp - 0x70]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005dee8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x38], 0x10
jb 0x14005def8
mov rcx, qword [rbp + 0x20]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
lea rcx, [rbp + 0x100]
mov qword [rbp + 0x38], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rbp + 0x30], r13
mov byte [rbp + 0x20], r13b
call fcn.140005a70
lea rcx, [rbp + 0xc8]
call fcn.14000a5c0
mov rax, qword [str._h_r_]
lea rcx, str._h_r_
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdx, str.SNVersion
add rax, 0x18
mov qword [rsp + 0x38], rax
test rdx, 0xffffffffffff0000
jne 0x14005df6d
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.140001110
test rax, rax
je 0x14005df7d
lea rcx, [rsp + 0x38]
mov r8d, edi
mov rdx, rax
call fcn.140004fb0
jmp 0x14005df7d
lea rcx, [rsp + 0x38]
mov r8d, 9
call fcn.14000c510
lea rcx, [rbp - 0x50]
call fcn.14005bea0
lea rdx, [rsp + 0x38]
lea rcx, [r12 + 0x1d0]
mov r8, rax
mov r9b, 1
call fcn.1400f0510
mov rdx, qword [rbp - 0x50]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005dfbc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x38]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005dfdb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [str._h_r_]
lea rcx, str._h_r_
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rsp + 0x50]
add rax, 0x18
mov qword [rsp + 0x50], rax
call fcn.14000eeb0
test al, al
je 0x14005e015
lea rdx, [rsp + 0x50]
lea rcx, [r12 + 0x1d0]
call fcn.1400eff60
lea rcx, [rsp + 0x70]
call fcn.14005d290
cmp dword [rsp + 0x70], r13d
jl 0x14005e1ae
cmp dword [rsp + 0x74], r13d
jl 0x14005e1ae
cmp dword [rsp + 0x78], r13d
jl 0x14005e1ae
cmp dword [rsp + 0x7c], r13d
jl 0x14005e1ae
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x70]
call fcn.14005d4b0
mov rcx, qword [rbp + 0xb0]
mov r9, qword [rbp + 0x98]
mov r8, qword [rbp + 0xa8]
cmp rcx, 0x10
lea r11, [rbp + 0x98]
cmovae r11, r9
lea rdx, [rbp + 0x98]
mov qword [rbp + 0x88], 7
add r8, r11
cmp rcx, 0x10
lea rcx, [rbp + 0x70]
cmovae rdx, r9
movzx r9d, byte [rsp + 0x20]
mov qword [rbp + 0x80], r13
mov word [rbp + 0x70], r13w
call fcn.14005bcf0
cmp qword [rbp + 0x88], 8
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x80]
cmovae rdx, qword [rbp + 0x70]
call fcn.14000fdc0
mov rax, qword [str._h_r_]
lea rcx, str._h_r_
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdx, str.SMVersion
add rax, 0x18
mov qword [rsp + 0x30], rax
test rdx, 0xffffffffffff0000
jne 0x14005e11f
movzx esi, dx
xor edx, edx
mov ecx, esi
call fcn.140001110
test rax, rax
je 0x14005e12f
lea rcx, [rsp + 0x30]
mov r8d, esi
mov rdx, rax
call fcn.140004fb0
jmp 0x14005e12f
lea rcx, [rsp + 0x30]
mov r8d, 9
call fcn.14000c510
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x30]
lea rcx, [r12 + 0x1d0]
mov r9b, 1
call fcn.1400f0510
mov rdx, qword [rsp + 0x30]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005e167
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x80]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005e185
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x88], 8
jb 0x14005e198
mov rcx, qword [rbp + 0x70]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
cmp qword [rbp + 0xb0], 0x10
jb 0x14005e1ae
mov rcx, qword [rbp + 0x98]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rax, qword [str._h_r_]
lea rcx, str._h_r_
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov edx, 1
add rax, 0x18
mov qword [rsp + 0x28], rax
mov ecx, dword [rax - 0xc]
sub edx, dword [rax - 8]
sub ecx, 0x55
or edx, ecx
jge 0x14005e1ee
lea rcx, [rsp + 0x28]
mov edx, 0x55
call fcn.140001b30
mov rax, qword [rsp + 0x28]
mov r9d, 0x55
mov r8, rax
mov ecx, 0x800
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rcx, qword [rsp + 0x28]
movsxd rdx, dword [rcx - 0xc]
mov esi, eax
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x14005e433
mov rcx, qword [rsp + 0x28]
cmp eax, dword [rcx - 0xc]
jg 0x14005e433
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsp + 0x28]
mov word [rax + rcx*2], r13w
test esi, esi
je 0x14005e258
lea rdx, [rsp + 0x28]
lea rcx, [r12 + 0x1d0]
call fcn.1400efdc0
jmp 0x14005e2e6
mov rax, qword [str._h_r_]
lea rcx, str._h_r_
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdx, [0x1401230ec]
add rax, 0x18
mov qword [rsp + 0x40], rax
test rdx, 0xffffffffffff0000
jne 0x14005e2a5
movzx esi, dx
xor edx, edx
mov ecx, esi
call fcn.140001110
test rax, rax
je 0x14005e2b5
lea rcx, [rsp + 0x40]
mov r8d, esi
mov rdx, rax
call fcn.140004fb0
jmp 0x14005e2b5
lea rcx, [rsp + 0x40]
mov r8d, 2
call fcn.14000c510
lea rdx, [rsp + 0x40]
lea rcx, [r12 + 0x1d0]
call fcn.1400efdc0
mov rdx, qword [rsp + 0x40]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005e2e6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x48]
call fcn.140060b00
lea rcx, [r12 + 0x1d0]
mov rdx, rax
call fcn.1400efe90
mov rdx, qword [rbp - 0x48]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005e31d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x18]
mov rcx, r12
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
call fcn.14005b280
mov rax, qword [str._h_r_]
lea rcx, str._h_r_
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rcx, [rsp + 0x68]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x6c], eax
call fcn.1400f0580
lea rdx, [0x1401230e4]
lea rcx, [rsp + 0x48]
mov r8d, eax
call fcn.14000ee80
lea rdx, [rsp + 0x48]
lea rcx, [r12 + 0x1d0]
call fcn.1400f0440
mov rdx, qword [rsp + 0x48]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005e3bb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x28]
mov eax, ebx
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005e3da
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14005e3f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp qword [rbp + 0x10], 8
jb 0x14005e407
mov rcx, qword [rbp - 8]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.1400d6f80
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80070057
call fcn.140001000
int3