Function at 0x14013ab20
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 [0x14027e238]
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 0x14013aeb2
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
cmp word [rbp - 0x40], si
jne 0x14013abd1
mov r8d, esi
jmp 0x14013abeb
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14013abe0
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.140164ca0
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.14013e6f0
test eax, eax
je 0x14013ac57
mov rcx, rsi
call fcn.140164c98
mov ebx, 2
xor esi, esi
jmp 0x14013ac92
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
cmp byte [rsi], 0
jne 0x14013ac69
xor r8d, r8d
jmp 0x14013ac7a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x14013ac70
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400ccaa0
mov rcx, rsi
call fcn.140164c98
xor esi, esi
mov ebx, esi
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14013acac
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400be810
test ebx, ebx
jne 0x14013aeb2
mov rcx, qword [rbp - 0x50]
inc rcx
call fcn.140164ca0
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 0x14013ace0
mov rcx, rbx
call fcn.1401b7f74
cmp r15d, 0x44
lea ecx, [r15 - 0x37]
jl 0x14013ad06
lea ecx, [r15 - 0x43]
mov r8d, 0xa
lea rdx, [rsp + 0x30]
call fcn.1401b6d0c
cmp qword [r14 + 0x10], 0
je 0x14013add3
cmp qword [r14 + 0x18], 0x10
jb 0x14013ad2d
mov rax, qword [r14]
jmp 0x14013ad30
mov rax, r14
movzx edi, byte [rax]
mov rcx, qword [rsp + 0x78]
cmp rcx, 1
jae 0x14013ad57
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 0x14013ad93
mov r8, rsi
jmp 0x14013adaa
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14013ada0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400cccf0
cmp qword [r14 + 0x18], 0x10
jb 0x14013adc3
mov r14, qword [r14]
movzx edx, byte [r14]
lea rcx, [rsp + 0x60]
call fcn.1400f23a0
jmp 0x14013ae09
cmp byte [rsp + 0x30], 0
jne 0x14013addf
mov r8, rsi
jmp 0x14013adfa
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14013adf0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400ccaa0
or rdi, 0xffffffffffffffff
movzx eax, byte [rbx]
test al, al
je 0x14013aea1
movzx ecx, al
call fcn.1401aa370
test eax, eax
jne 0x14013ae36
or rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x14013ae27
cmp rax, 2
jbe 0x14013aea1
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
nop
cmp byte [rbx], r14b
jne 0x14013ae4a
mov r9, r14
jmp 0x14013ae59
or r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], r14b
jne 0x14013ae50
lea r8, [rdi + 1]
mov rdx, rbx
mov rcx, r13
call fcn.1400f8320
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14013aea1
mov rcx, rbx
call fcn.1401b80f4
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 0x14013ae40
mov rcx, rbx
call fcn.140164c98
mov rax, qword [rsp + 0x50]
inc dword [rax]
xor esi, esi
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x14013af0a
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x14013af05
test cl, 0x1f
je 0x14013aed8
call fcn.1401aa90c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14013aee7
call fcn.1401aa90c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14013aef6
call fcn.1401aa90c
int3
cmp rcx, 0x27
jbe 0x14013af02
call fcn.1401aa90c
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 0x14013af73
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, 0x1000
jb 0x14013af6e
test cl, 0x1f
je 0x14013af41
call fcn.1401aa90c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14013af50
call fcn.1401aa90c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14013af5f
call fcn.1401aa90c
int3
cmp rcx, 0x27
jbe 0x14013af6b
call fcn.1401aa90c
int3
mov rcx, rax
call fcn.140005910
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.1401646e0
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret