Function at 0x1400f1720
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 0x1400f1763
mov ebx, dword [rsi + 8]
test ebx, ebx
je 0x1400f1763
call fcn.14000147d
cmp byte [rax + 1], 0
je 0x1400f1808
jmp 0x1400f176d
call fcn.1400f16e0
jmp 0x1400f1986
cmp byte [rax], 0
jne 0x1400f1801
call fcn.14000120b
cmp byte [rax], 0
jne 0x1400f1792
mov rcx, rsi
call fcn.14015f550
test eax, eax
jne 0x1400f1808
jmp 0x1400f1801
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.140004560
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.1400045b0
xor ecx, ecx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x58], rcx
cmp dword [rbp - 0x50], 1
mov rsi, qword [rbp + 0x10]
jne 0x1400f1808
xor eax, eax
jmp 0x1400f1986
test dil, dil
jne 0x1400f1872
mov r14d, ebx
lea rcx, [0x14022f118]
lea edx, [r14 + 1]
call fcn.1400041b0
mov r15, rax
mov r12d, dword [r15 + 8]
cmp ebx, r12d
jg 0x1400f199a
lea rcx, [r15 + 0xc]
lea rdx, [rsi + 0xc]
mov r8d, ebx
add r8, r8
call fcn.1400b0c60
sub r12d, r14d
test r12d, r12d
jle 0x1400f19b9
movsxd rcx, r14d
lea rcx, [r15 + rcx*2 + 0xc]
lea rdx, [0x1402e7ee8]
add rdx, 0xc
mov r8d, 2
call fcn.1400b0c60
mov rcx, r15
jmp 0x1400f1875
mov rcx, rsi
call fcn.1401017f0
mov rbx, rax
call fcn.140001ac2
mov r14, rax
mov r15, qword [r14 + 0x20]
test r15, r15
jne 0x1400f18b9
lea rcx, [0x14024d0a0]
call fcn.1400040f0
mov r15, rax
mov rcx, qword [r15 + 0x18]
call fcn.14012df70
test rax, rax
je 0x1400f18b7
lea rcx, [r15 + 0x18]
mov rdx, rax
call fcn.140004400
jmp 0x1400f1918
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x60], rcx
xor edx, edx
mov dword [rbp - 0x40], edx
lea rdx, [rbp - 0x40]
call fcn.1401058d0
mov rcx, r15
mov rdx, rbx
call fcn.1401af380
test rax, rax
je 0x1400f18ea
mov r12, qword [rax]
mov r13d, 1
jmp 0x1400f18f0
xor r12d, r12d
xor r13d, r13d
cmp byte [rbp - 0x40], 0
je 0x1400f1909
mov rcx, qword [rbp - 0x60]
call fcn.140105820
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1401056b0
test r13d, r13d
je 0x1400f1918
test r12, r12
je 0x1400f1918
mov rax, r12
jmp 0x1400f1986
movzx edx, dil
mov rcx, rsi
call fcn.1400f1c40
mov rsi, rax
test rsi, rsi
jne 0x1400f1930
xor eax, eax
jmp 0x1400f1986
mov rcx, qword [r14 + 0x28]
mov qword [rbp - 0x68], rcx
xor edx, edx
mov dword [rbp - 0x48], edx
lea rdx, [rbp - 0x48]
call fcn.1401058d0
cmp byte [r15], r15b
mov rcx, r15
mov rdx, rbx
mov r8, rsi
mov r9d, 1
call fcn.1401af5d0
nop
cmp byte [rbp - 0x48], 0
je 0x1400f1977
mov rcx, qword [rbp - 0x68]
call fcn.140105820
mov rcx, rax
cmp dword [rcx], ecx
call fcn.1401056b0
lea rcx, [r14 + 0x20]
mov rdx, r15
call fcn.140004400
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, [0x140230bf0]
call fcn.1400040f0
mov rsi, rax
mov rcx, rsi
call fcn.1400cf420
mov rcx, rsi
call fcn.140005510
lea rcx, [0x140230bf0]
call fcn.1400040f0
mov rsi, rax
mov rcx, rsi
call fcn.1400cf420
mov rcx, rsi
call fcn.140005510
int3