Function at 0x14009a5e0
Capabilities:
Get geographical location

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1414cdb60]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov esi, edx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x38], 0
lea r14, [0x14135c948]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov r9d, 0xff
lea r8, [rbp - 0x80]
mov edx, 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
or ebx, 0xffffffff
test eax, eax
je 0x14009a6a3
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14000da20
mov rdx, rax
mov rcx, qword [rsp + 0x28]
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov qword [rdx], rcx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x14009a695
cmp eax, ebx
je 0x14009a6a3
lock dec dword [rcx]
jne 0x14009a6a3
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x14009a775
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1400415a0
nop
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 0x10]
add rcx, rax
lea r9, [rsp + 0x20]
mov r8d, 0x10
lea rdx, [rsp + 0x60]
call fcn.14009e290
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x14009a74d
mov rax, qword [rsp + 0x60]
cmp byte [rax], 0
jne 0x14009a74d
cmp ecx, 0x814
jne 0x14009a74d
mov r8d, 2
lea rdx, [0x14142bcd0]
lea rcx, [rsp + 0x50]
call fcn.14000a050
mov rcx, rax
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov qword [rcx], r14
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x14009a73e
cmp eax, 0xffffffff
je 0x14009a74d
lock dec dword [rcx]
jne 0x14009a74d
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14009a767
cmp eax, 0xffffffff
je 0x14009a775
lock dec dword [rcx]
jne 0x14009a775
mov rcx, qword [rsp + 0x40]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.1400112a0
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
je 0x14009a7b0
mov qword [rdi], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 1
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax]
test ecx, ecx
je 0x14009a83e
cmp ecx, 0xffffffff
je 0x14009a853
lock dec dword [rax]
jmp 0x14009a83c
mov r9d, 0xff
lea r8, [rbp - 0x80]
mov edx, 0x59
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14009a814
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000da20
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rax]
mov qword [rsp + 0x30], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x14009a806
cmp eax, 0xffffffff
je 0x14009a814
lock dec dword [rcx]
jne 0x14009a814
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400112a0
mov rax, qword [rsp + 0x30]
mov qword [rdi], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 1
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx]
test eax, eax
je 0x14009a843
cmp eax, 0xffffffff
je 0x14009a853
lock dec dword [rcx]
jne 0x14009a853
mov rcx, qword [rsp + 0x28]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.1400112a0
nop
mov eax, dword [0x14135c948]
test eax, eax
je 0x14009a86b
cmp eax, 0xffffffff
je 0x14009a87d
lock dec dword [0x14135c948]
jne 0x14009a87d
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, r14
call fcn.1400112a0
mov rax, rdi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400face0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret