Function at 0x1400be300
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 0x1400be343
mov ebx, dword [rsi + 8]
test ebx, ebx
je 0x1400be343
call fcn.14000128a
cmp byte [rax + 1], 0
je 0x1400be3e8
jmp 0x1400be34d
call fcn.1400be2c0
jmp 0x1400be566
cmp byte [rax], 0
jne 0x1400be3e1
call fcn.1400010f3
cmp byte [rax], 0
jne 0x1400be372
mov rcx, rsi
call fcn.1400fc6d0
test eax, eax
jne 0x1400be3e8
jmp 0x1400be3e1
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 0x1400be3e8
xor eax, eax
jmp 0x1400be566
test dil, dil
jne 0x1400be452
mov r14d, ebx
lea rcx, [0x14017f120]
lea edx, [r14 + 1]
call fcn.140002f70
mov r15, rax
mov r12d, dword [r15 + 8]
cmp ebx, r12d
jg 0x1400be57a
lea rcx, [r15 + 0xc]
lea rdx, [rsi + 0xc]
mov r8d, ebx
add r8, r8
call fcn.14009b950
sub r12d, r14d
test r12d, r12d
jle 0x1400be599
movsxd rcx, r14d
lea rcx, [r15 + rcx*2 + 0xc]
lea rdx, [0x1401e78b8]
add rdx, 0xc
mov r8d, 2
call fcn.14009b950
mov rcx, r15
jmp 0x1400be455
mov rcx, rsi
call fcn.1400c7de0
mov rbx, rax
call fcn.1400015b0
mov r14, rax
mov r15, qword [r14 + 0x20]
test r15, r15
jne 0x1400be499
lea rcx, [0x14018dca0]
call fcn.140002eb0
mov r15, rax
mov rcx, qword [r15 + 0x18]
call fcn.1400ec6d0
test rax, rax
je 0x1400be497
lea rcx, [r15 + 0x18]
mov rdx, rax
call fcn.1400039c0
jmp 0x1400be4f8
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x60], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
call fcn.1400c9460
mov rcx, r15
mov rdx, rbx
call fcn.1401137c0
test rax, rax
je 0x1400be4ca
mov r12, qword [rax]
mov r13d, 1
jmp 0x1400be4d0
xor r12d, r12d
xor r13d, r13d
cmp byte [rbp - 0x40], 0
je 0x1400be4e9
mov rcx, qword [rbp - 0x60]
call fcn.1400c93b0
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1400c9240
test r13d, r13d
je 0x1400be4f8
test r12, r12
je 0x1400be4f8
mov rax, r12
jmp 0x1400be566
movzx edx, dil
mov rcx, rsi
call fcn.1400be820
mov rsi, rax
test rsi, rsi
jne 0x1400be510
xor eax, eax
jmp 0x1400be566
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x68], rcx
xor edx, edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
call fcn.1400c9460
cmp byte [r15], r15b
mov rcx, r15
mov rdx, rbx
mov r8, rsi
mov r9d, 1
call fcn.140113a10
nop
cmp byte [rbp - 0x48], 0
je 0x1400be557
mov rcx, qword [rbp - 0x68]
call fcn.1400c93b0
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1400c9240
lea rcx, [r14 + 0x20]
mov rdx, r15
call fcn.1400039c0
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, [0x140180410]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ab260
mov rcx, rsi
call fcn.1400032b0
lea rcx, [0x140180410]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ab260
mov rcx, rsi
call fcn.1400032b0
int3