Function at 0x14013b300
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov qword [rsp + 0x50], r9
mov r14, r8
mov r15d, edx
mov r12, qword [rbp + 0x110]
mov r13, qword [rbp + 0x118]
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x48], reloc.OLEAUT32.dll_SafeArrayDestroy
xor esi, esi
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x60], sil
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], sil
lea r9d, [rsi + 0x64]
lea r8, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14013b692
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
cmp word [rbp - 0x40], si
jne 0x14013b3b1
mov r8d, esi
jmp 0x14013b3cb
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14013b3c0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400be520
nop
mov rdi, qword [rbp - 0x70]
lea rbx, [rdi*2 + 1]
add rbx, rdi
mov rcx, rbx
call fcn.140165478
mov rsi, rax
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov qword [rsp + 0x40], rcx
lea rdx, [rcx + rdi*2]
mov qword [rsp + 0x38], rax
lea r9, [rbx + rax]
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x40]
call fcn.14013eed0
test eax, eax
je 0x14013b437
mov rcx, rsi
call fcn.14016591c
mov ebx, 2
xor esi, esi
jmp 0x14013b472
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
cmp byte [rsi], 0
jne 0x14013b449
xor r8d, r8d
jmp 0x14013b45a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x14013b450
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400ccaa0
mov rcx, rsi
call fcn.14016591c
xor esi, esi
mov ebx, esi
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14013b48c
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400be810
test ebx, ebx
jne 0x14013b692
mov rcx, qword [rbp - 0x50]
inc rcx
call fcn.140165478
mov rbx, rax
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rax, qword [rbp - 0x60]
mov rdx, rbx
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rax]
mov byte [rdx], cl
inc rax
lea rdx, [rdx + 1]
test cl, cl
jne 0x14013b4c0
mov rcx, rbx
call fcn.1401ba054
cmp r15d, 0x44
lea ecx, [r15 - 0x37]
jl 0x14013b4e6
lea ecx, [r15 - 0x43]
mov r8d, 0xa
lea rdx, [rsp + 0x30]
call fcn.1401b8df4
cmp qword [r14 + 0x10], 0
je 0x14013b5b3
cmp qword [r14 + 0x18], 0x10
jb 0x14013b50d
mov rax, qword [r14]
jmp 0x14013b510
mov rax, r14
movzx edi, byte [rax]
mov rcx, qword [rsp + 0x78]
cmp rcx, 1
jae 0x14013b537
mov r8, qword [rsp + 0x70]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400cd4e0
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x60]
cmp rcx, 0x10
cmovae rax, qword [rsp + 0x60]
mov byte [rax], dil
mov qword [rsp + 0x70], 1
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rax, qword [rsp + 0x60]
mov byte [rax + 1], 0
cmp byte [rsp + 0x30], 0
jne 0x14013b573
mov r8, rsi
jmp 0x14013b58a
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14013b580
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400cccf0
cmp qword [r14 + 0x18], 0x10
jb 0x14013b5a3
mov r14, qword [r14]
movzx edx, byte [r14]
lea rcx, [rsp + 0x60]
call fcn.1400f23a0
jmp 0x14013b5e9
cmp byte [rsp + 0x30], 0
jne 0x14013b5bf
mov r8, rsi
jmp 0x14013b5da
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14013b5d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400ccaa0
or rdi, 0xffffffffffffffff
movzx eax, byte [rbx]
test al, al
je 0x14013b681
movzx ecx, al
call fcn.1401aabd0
test eax, eax
jne 0x14013b616
or rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x14013b607
cmp rax, 2
jbe 0x14013b681
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
nop
cmp byte [rbx], r14b
jne 0x14013b62a
mov r9, r14
jmp 0x14013b639
or r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], r14b
jne 0x14013b630
lea r8, [rdi + 1]
mov rdx, rbx
mov rcx, r13
call fcn.1400f8320
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14013b681
mov rcx, rbx
call fcn.1401ba1d4
mov qword [rsp + 0x28], 0xffffffffffffffff
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x60]
mov r8, rax
mov rdx, rdi
mov rcx, rsi
call fcn.1400f8a40
mov byte [r12], 1
jmp 0x14013b620
mov rcx, rbx
call fcn.14016591c
mov rax, qword [rsp + 0x50]
inc dword [rax]
xor esi, esi
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14013b6ea
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x14013b6e5
test cl, 0x1f
je 0x14013b6b8
call fcn.1401ab16c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14013b6c7
call fcn.1401ab16c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14013b6d6
call fcn.1401ab16c
int3
cmp rcx, 0x27
jbe 0x14013b6e2
call fcn.1401ab16c
int3
mov rcx, rax
call fcn.140005910
mov qword [rsp + 0x78], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rsp + 0x70], rsi
mov byte [rsp + 0x60], 0
mov rax, qword [rbp - 0x48]
cmp rax, 0x10
jb 0x14013b753
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, 0x1000
jb 0x14013b74e
test cl, 0x1f
je 0x14013b721
call fcn.1401ab16c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14013b730
call fcn.1401ab16c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14013b73f
call fcn.1401ab16c
int3
cmp rcx, 0x27
jbe 0x14013b74b
call fcn.1401ab16c
int3
mov rcx, rax
call fcn.140005910
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.140164ec0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret