Function at 0x1400be1d0
Capabilities:
Get geographical location

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x58], rax
mov rsi, rcx
mov edi, edx
test rsi, rsi
je 0x1400be213
mov ebx, dword [rsi + 8]
test ebx, ebx
je 0x1400be213
call fcn.14000128a
cmp byte [rax + 1], 0
je 0x1400be2b8
jmp 0x1400be21d
call fcn.1400be190
jmp 0x1400be436
cmp byte [rax], 0
jne 0x1400be2b1
call fcn.1400010f3
cmp byte [rax], 0
jne 0x1400be242
mov rcx, rsi
call fcn.1400fc8c0
test eax, eax
jne 0x1400be2b8
jmp 0x1400be2b1
xor ecx, ecx
mov dword [rbp - 0x50], ecx
mov qword [rbp + 0x10], rsi
lea rcx, [rsi + 0xc]
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x78], rcx
lea r8, [rbp - 0x50]
mov qword [rbp - 0x80], r8
mov edx, 0x2000007d
mov dword [rbp - 0x6c], edx
mov r9d, 4
mov dword [rbp - 0x70], r9d
lea rcx, [rbp - 0xa8]
call fcn.140003b20
mov rcx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x80]
mov edx, dword [rbp - 0x6c]
mov r9d, dword [rbp - 0x70]
call sub.KERNEL32.DLL_GetLocaleInfoEx
lea rcx, [rbp - 0xa8]
call fcn.140003b70
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
cmp dword [rbp - 0x50], 1
mov rsi, qword [rbp + 0x10]
jne 0x1400be2b8
xor eax, eax
jmp 0x1400be436
test dil, dil
jne 0x1400be322
mov r14d, ebx
lea rcx, [0x14014c4a0]
lea edx, [r14 + 1]
call fcn.140002f70
mov r15, rax
mov r12d, dword [r15 + 8]
cmp ebx, r12d
jg 0x1400be44a
lea rcx, [r15 + 0xc]
lea rdx, [rsi + 0xc]
mov r8d, ebx
add r8, r8
call fcn.14009b890
sub r12d, r14d
test r12d, r12d
jle 0x1400be469
movsxd rcx, r14d
lea rcx, [r15 + rcx*2 + 0xc]
lea rdx, [0x1401b58b8]
add rdx, 0xc
mov r8d, 2
call fcn.14009b890
mov rcx, r15
jmp 0x1400be325
mov rcx, rsi
call fcn.1400c7ff0
mov rbx, rax
call fcn.1400015b0
mov r14, rax
mov r15, qword [r14 + 0x20]
test r15, r15
jne 0x1400be369
lea rcx, [0x14015b098]
call fcn.140002eb0
mov r15, rax
mov rcx, qword [r15 + 0x18]
call fcn.1400ec8e0
test rax, rax
je 0x1400be367
lea rcx, [r15 + 0x18]
mov rdx, rax
call fcn.1400031c0
jmp 0x1400be3c8
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x60], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
call fcn.1400c9670
mov rcx, r15
mov rdx, rbx
call fcn.140113a80
test rax, rax
je 0x1400be39a
mov r12, qword [rax]
mov r13d, 1
jmp 0x1400be3a0
xor r12d, r12d
xor r13d, r13d
cmp byte [rbp - 0x40], 0
je 0x1400be3b9
mov rcx, qword [rbp - 0x60]
call fcn.1400c95c0
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1400c9450
test r13d, r13d
je 0x1400be3c8
test r12, r12
je 0x1400be3c8
mov rax, r12
jmp 0x1400be436
movzx edx, dil
mov rcx, rsi
call fcn.1400be6f0
mov rsi, rax
test rsi, rsi
jne 0x1400be3e0
xor eax, eax
jmp 0x1400be436
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x68], rcx
xor edx, edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
call fcn.1400c9670
cmp byte [r15], r15b
mov rcx, r15
mov rdx, rbx
mov r8, rsi
mov r9d, 1
call fcn.140113cd0
nop
cmp byte [rbp - 0x48], 0
je 0x1400be427
mov rcx, qword [rbp - 0x68]
call fcn.1400c95c0
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1400c9450
lea rcx, [r14 + 0x20]
mov rdx, r15
call fcn.1400031c0
mov rax, rsi
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x14014d790]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ab130
mov rcx, rsi
call fcn.140003410
lea rcx, [0x14014d790]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ab130
mov rcx, rsi
call fcn.140003410
int3