Function at 0x14001f940
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400e9088]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor r14d, r14d
mov dword [rbp - 0x69], r14d
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r14
mov word [rcx], r14w
lea r8d, [r14 + 7]
lea rdx, [0x1400becb8]
call fcn.140011700
mov dword [rbp - 0x69], 1
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x5a]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rbx, eax
test eax, eax
jle 0x14001fc31
xor eax, eax
mov qword [rbp - 9], rax
mov rdx, rbx
lea rcx, [rbp - 9]
call fcn.140021f90
nop
mov rax, qword [rbp - 9]
mov word [rax], r14w
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
lea r8d, [r14 + 7]
lea rdx, [0x1400becb8]
lea rcx, [rbp + 0x1f]
call fcn.140011700
nop
mov r9d, ebx
mov r8, qword [rbp - 9]
lea edx, [r14 + 0x5a]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or rbx, 0xffffffffffffffff
test eax, eax
je 0x14001fa6a
mov rdx, qword [rbp - 9]
cmp word [rdx], r14w
jne 0x14001fa3b
mov r8d, r14d
jmp 0x14001fa4b
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x14001fa40
lea rcx, [rbp + 0x1f]
call fcn.140011700
cmp rdi, rax
je 0x14001fa6a
mov r9, rbx
xor r8d, r8d
mov rdx, rax
mov rcx, rdi
call fcn.140011850
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x59]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rsi, eax
test eax, eax
jle 0x14001fbf8
mov rdx, rsi
lea rcx, [rbp - 0x61]
call fcn.140021f90
mov rcx, rax
lea rax, [rbp - 9]
cmp rax, rcx
je 0x14001fabb
mov rax, qword [rcx]
mov qword [rcx], r14
mov rcx, qword [rbp - 9]
mov qword [rbp - 9], rax
test rcx, rcx
je 0x14001fabb
call fcn.1400560a4
nop
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x14001fac9
call fcn.1400560a4
mov rax, qword [rbp - 9]
mov word [rax], r14w
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
mov r8d, 7
lea rdx, [0x1400becb8]
lea rcx, [rbp - 1]
call fcn.140011700
nop
mov r9d, esi
mov r8, qword [rbp - 9]
mov edx, 0x59
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14001fb46
mov rdx, qword [rbp - 9]
cmp word [rdx], 0
jne 0x14001fb30
mov rbx, r14
jmp 0x14001fb3a
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14001fb30
mov r8, rbx
lea rcx, [rbp - 1]
call fcn.140011700
mov r8d, 0x2d
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x39]
call fcn.140014370
nop
lea r8, [rbp + 0x1f]
mov rdx, rax
lea rcx, [rbp - 0x59]
call fcn.14001e9a0
nop
mov rdx, rax
mov rcx, rdi
call fcn.14000e130
nop
mov r8, qword [rbp - 0x41]
cmp r8, 8
jb 0x14001fb91
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.140012760
mov qword [rbp - 0x41], 7
mov qword [rbp - 0x49], r14
mov word [rbp - 0x59], r14w
mov r8, qword [rbp - 0x21]
cmp r8, 8
jb 0x14001fbbc
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.140012760
mov qword [rbp - 0x21], 7
mov qword [rbp - 0x29], r14
mov word [rbp - 0x39], r14w
mov r8, qword [rbp + 0x17]
cmp r8, 8
jb 0x14001fbe7
inc r8
mov rdx, qword [rbp - 1]
lea rcx, [rbp - 1]
call fcn.140012760
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
mov r8, qword [rbp + 0x37]
cmp r8, 8
jb 0x14001fc12
inc r8
mov rdx, qword [rbp + 0x1f]
lea rcx, [rbp + 0x1f]
call fcn.140012760
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x14001fc31
call fcn.1400560a4
mov rax, rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140056080
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret