Function at 0x140144820
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 [0x14028c238]
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 0x140144bb2
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
cmp word [rbp - 0x40], si
jne 0x1401448d1
mov r8d, esi
jmp 0x1401448eb
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401448e0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400c3720
nop
mov rdi, qword [rbp - 0x70]
lea rbx, [rdi*2 + 1]
add rbx, rdi
mov rcx, rbx
call fcn.14016ea40
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.140148490
test eax, eax
je 0x140144957
mov rcx, rsi
call fcn.14016ea38
mov ebx, 2
xor esi, esi
jmp 0x140144992
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
cmp byte [rsi], 0
jne 0x140144969
xor r8d, r8d
jmp 0x14014497a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x140144970
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400d2ee0
mov rcx, rsi
call fcn.14016ea38
xor esi, esi
mov ebx, esi
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x1401449ac
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400c3a10
test ebx, ebx
jne 0x140144bb2
mov rcx, qword [rbp - 0x50]
inc rcx
call fcn.14016ea40
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 0x1401449e0
mov rcx, rbx
call fcn.1401c3ad4
cmp r15d, 0x44
lea ecx, [r15 - 0x37]
jl 0x140144a06
lea ecx, [r15 - 0x43]
mov r8d, 0xa
lea rdx, [rsp + 0x30]
call fcn.1401c2874
cmp qword [r14 + 0x10], 0
je 0x140144ad3
cmp qword [r14 + 0x18], 0x10
jb 0x140144a2d
mov rax, qword [r14]
jmp 0x140144a30
mov rax, r14
movzx edi, byte [rax]
mov rcx, qword [rsp + 0x78]
cmp rcx, 1
jae 0x140144a57
mov r8, qword [rsp + 0x70]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400d3990
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 0x140144a93
mov r8, rsi
jmp 0x140144aaa
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140144aa0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400d3130
cmp qword [r14 + 0x18], 0x10
jb 0x140144ac3
mov r14, qword [r14]
movzx edx, byte [r14]
lea rcx, [rsp + 0x60]
call fcn.1400fc3a0
jmp 0x140144b09
cmp byte [rsp + 0x30], 0
jne 0x140144adf
mov r8, rsi
jmp 0x140144afa
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140144af0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400d2ee0
or rdi, 0xffffffffffffffff
movzx eax, byte [rbx]
test al, al
je 0x140144ba1
movzx ecx, al
call fcn.1401b4650
test eax, eax
jne 0x140144b36
or rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x140144b27
cmp rax, 2
jbe 0x140144ba1
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
nop
cmp byte [rbx], r14b
jne 0x140144b4a
mov r9, r14
jmp 0x140144b59
or r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], r14b
jne 0x140144b50
lea r8, [rdi + 1]
mov rdx, rbx
mov rcx, r13
call fcn.140102320
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140144ba1
mov rcx, rbx
call fcn.1401c3c54
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.140102a40
mov byte [r12], 1
jmp 0x140144b40
mov rcx, rbx
call fcn.14016ea38
mov rax, qword [rsp + 0x50]
inc dword [rax]
xor esi, esi
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x140144c0a
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x140144c05
test cl, 0x1f
je 0x140144bd8
call fcn.1401b4bec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140144be7
call fcn.1401b4bec
int3
sub rcx, rax
cmp rcx, 8
jae 0x140144bf6
call fcn.1401b4bec
int3
cmp rcx, 0x27
jbe 0x140144c02
call fcn.1401b4bec
int3
mov rcx, rax
call fcn.140005f10
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 0x140144c73
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, 0x1000
jb 0x140144c6e
test cl, 0x1f
je 0x140144c41
call fcn.1401b4bec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140144c50
call fcn.1401b4bec
int3
sub rcx, rax
cmp rcx, 8
jae 0x140144c5f
call fcn.1401b4bec
int3
cmp rcx, 0x27
jbe 0x140144c6b
call fcn.1401b4bec
int3
mov rcx, rax
call fcn.140005f10
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14016e480
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret