Function at 0x140143200
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 [0x14028a238]
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 0x140143592
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
cmp word [rbp - 0x40], si
jne 0x1401432b1
mov r8d, esi
jmp 0x1401432cb
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1401432c0
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.14016d418
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.140146e70
test eax, eax
je 0x140143337
mov rcx, rsi
call fcn.14016d8bc
mov ebx, 2
xor esi, esi
jmp 0x140143372
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
cmp byte [rsi], 0
jne 0x140143349
xor r8d, r8d
jmp 0x14014335a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x140143350
mov rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400d1eb0
mov rcx, rsi
call fcn.14016d8bc
xor esi, esi
mov ebx, esi
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14014338c
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400c3a10
test ebx, ebx
jne 0x140143592
mov rcx, qword [rbp - 0x50]
inc rcx
call fcn.14016d418
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 0x1401433c0
mov rcx, rbx
call fcn.1401c2454
cmp r15d, 0x44
lea ecx, [r15 - 0x37]
jl 0x1401433e6
lea ecx, [r15 - 0x43]
mov r8d, 0xa
lea rdx, [rsp + 0x30]
call fcn.1401c11ec
cmp qword [r14 + 0x10], 0
je 0x1401434b3
cmp qword [r14 + 0x18], 0x10
jb 0x14014340d
mov rax, qword [r14]
jmp 0x140143410
mov rax, r14
movzx edi, byte [rax]
mov rcx, qword [rsp + 0x78]
cmp rcx, 1
jae 0x140143437
mov r8, qword [rsp + 0x70]
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.1400d28f0
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 0x140143473
mov r8, rsi
jmp 0x14014348a
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140143480
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400d2100
cmp qword [r14 + 0x18], 0x10
jb 0x1401434a3
mov r14, qword [r14]
movzx edx, byte [r14]
lea rcx, [rsp + 0x60]
call fcn.1400f7740
jmp 0x1401434e9
cmp byte [rsp + 0x30], 0
jne 0x1401434bf
mov r8, rsi
jmp 0x1401434da
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1401434d0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400d1eb0
or rdi, 0xffffffffffffffff
movzx eax, byte [rbx]
test al, al
je 0x140143581
movzx ecx, al
call fcn.1401b2f40
test eax, eax
jne 0x140143516
or rax, rdi
inc rax
cmp byte [rbx + rax], 0
jne 0x140143507
cmp rax, 2
jbe 0x140143581
mov rsi, qword [rsp + 0x48]
xor r14d, r14d
nop
cmp byte [rbx], r14b
jne 0x14014352a
mov r9, r14
jmp 0x140143539
or r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rbx + r9], r14b
jne 0x140143530
lea r8, [rdi + 1]
mov rdx, rbx
mov rcx, r13
call fcn.1400fd6c0
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140143581
mov rcx, rbx
call fcn.1401c25d4
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.1400fdde0
mov byte [r12], 1
jmp 0x140143520
mov rcx, rbx
call fcn.14016d8bc
mov rax, qword [rsp + 0x50]
inc dword [rax]
xor esi, esi
mov rax, qword [rsp + 0x78]
cmp rax, 0x10
jb 0x1401435ea
inc rax
mov rcx, qword [rsp + 0x60]
cmp rax, 0x1000
jb 0x1401435e5
test cl, 0x1f
je 0x1401435b8
call fcn.1401b34dc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1401435c7
call fcn.1401b34dc
int3
sub rcx, rax
cmp rcx, 8
jae 0x1401435d6
call fcn.1401b34dc
int3
cmp rcx, 0x27
jbe 0x1401435e2
call fcn.1401b34dc
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 0x140143653
inc rax
mov rcx, qword [rbp - 0x60]
cmp rax, 0x1000
jb 0x14014364e
test cl, 0x1f
je 0x140143621
call fcn.1401b34dc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140143630
call fcn.1401b34dc
int3
sub rcx, rax
cmp rcx, 8
jae 0x14014363f
call fcn.1401b34dc
int3
cmp rcx, 0x27
jbe 0x14014364b
call fcn.1401b34dc
int3
mov rcx, rax
call fcn.140005f10
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14016ce60
add rsp, 0x1a8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret