Function at 0x1400be290
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 0x1400be2d3
mov ebx, dword [rsi + 8]
test ebx, ebx
je 0x1400be2d3
call fcn.14000128a
cmp byte [rax + 1], 0
je 0x1400be378
jmp 0x1400be2dd
call fcn.1400be250
jmp 0x1400be4f6
cmp byte [rax], 0
jne 0x1400be371
call fcn.1400010f3
cmp byte [rax], 0
jne 0x1400be302
mov rcx, rsi
call fcn.1400fc630
test eax, eax
jne 0x1400be378
jmp 0x1400be371
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 0x1400be378
xor eax, eax
jmp 0x1400be4f6
test dil, dil
jne 0x1400be3e2
mov r14d, ebx
lea rcx, [0x14015ab28]
lea edx, [r14 + 1]
call fcn.140002f70
mov r15, rax
mov r12d, dword [r15 + 8]
cmp ebx, r12d
jg 0x1400be50a
lea rcx, [r15 + 0xc]
lea rdx, [rsi + 0xc]
mov r8d, ebx
add r8, r8
call fcn.14009b950
sub r12d, r14d
test r12d, r12d
jle 0x1400be529
movsxd rcx, r14d
lea rcx, [r15 + rcx*2 + 0xc]
lea rdx, [0x1401c38b8]
add rdx, 0xc
mov r8d, 2
call fcn.14009b950
mov rcx, r15
jmp 0x1400be3e5
mov rcx, rsi
call fcn.1400c7d70
mov rbx, rax
call fcn.1400015b0
mov r14, rax
mov r15, qword [r14 + 0x20]
test r15, r15
jne 0x1400be429
lea rcx, [0x1401696a8]
call fcn.140002eb0
mov r15, rax
mov rcx, qword [r15 + 0x18]
call fcn.1400ec660
test rax, rax
je 0x1400be427
lea rcx, [r15 + 0x18]
mov rdx, rax
call fcn.1400039c0
jmp 0x1400be488
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x60], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
call fcn.1400c93f0
mov rcx, r15
mov rdx, rbx
call fcn.140113720
test rax, rax
je 0x1400be45a
mov r12, qword [rax]
mov r13d, 1
jmp 0x1400be460
xor r12d, r12d
xor r13d, r13d
cmp byte [rbp - 0x40], 0
je 0x1400be479
mov rcx, qword [rbp - 0x60]
call fcn.1400c9340
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1400c91d0
test r13d, r13d
je 0x1400be488
test r12, r12
je 0x1400be488
mov rax, r12
jmp 0x1400be4f6
movzx edx, dil
mov rcx, rsi
call fcn.1400be7b0
mov rsi, rax
test rsi, rsi
jne 0x1400be4a0
xor eax, eax
jmp 0x1400be4f6
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x68], rcx
xor edx, edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
call fcn.1400c93f0
cmp byte [r15], r15b
mov rcx, r15
mov rdx, rbx
mov r8, rsi
mov r9d, 1
call fcn.140113970
nop
cmp byte [rbp - 0x48], 0
je 0x1400be4e7
mov rcx, qword [rbp - 0x68]
call fcn.1400c9340
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1400c91d0
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, [0x14015be18]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ab1f0
mov rcx, rsi
call fcn.1400032b0
lea rcx, [0x14015be18]
call fcn.140002eb0
mov rsi, rax
mov rcx, rsi
call fcn.1400ab1f0
mov rcx, rsi
call fcn.1400032b0
int3