Function at 0x14009ad40
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 [0x1415b0b50]
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, [0x14143f7c8]
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 0x14009ae03
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x48]
call fcn.14000e320
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 0x14009adf5
cmp eax, ebx
je 0x14009ae03
lock dec dword [rcx]
jne 0x14009ae03
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
mov rax, qword [rsp + 0x28]
cmp dword [rax + 4], 0
je 0x14009aed5
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.140042090
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.14009e9f0
mov rcx, rax
cmp byte [rsp + 0x20], 0
je 0x14009aead
mov rax, qword [rsp + 0x60]
cmp byte [rax], 0
jne 0x14009aead
cmp ecx, 0x814
jne 0x14009aead
mov r8d, 2
lea rdx, [0x14150ea30]
lea rcx, [rsp + 0x50]
call fcn.14000aac0
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 0x14009ae9e
cmp eax, 0xffffffff
je 0x14009aead
lock dec dword [rcx]
jne 0x14009aead
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
nop
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x14009aec7
cmp eax, 0xffffffff
je 0x14009aed5
lock dec dword [rcx]
jne 0x14009aed5
mov rcx, qword [rsp + 0x40]
mov edx, 1
lea r8d, [rdx + 7]
call fcn.140011b40
mov rax, qword [rsp + 0x30]
cmp dword [rax + 4], 0
je 0x14009af10
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 0x14009af9e
cmp ecx, 0xffffffff
je 0x14009afb3
lock dec dword [rax]
jmp 0x14009af9c
mov r9d, 0xff
lea r8, [rbp - 0x80]
mov edx, 0x59
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14009af74
mov r8d, ebx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000e320
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 0x14009af66
cmp eax, 0xffffffff
je 0x14009af74
lock dec dword [rcx]
jne 0x14009af74
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140011b40
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 0x14009afa3
cmp eax, 0xffffffff
je 0x14009afb3
lock dec dword [rcx]
jne 0x14009afb3
mov rcx, qword [rsp + 0x28]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140011b40
nop
mov eax, dword [0x14143f7c8]
test eax, eax
je 0x14009afcb
cmp eax, 0xffffffff
je 0x14009afdd
lock dec dword [0x14143f7c8]
jne 0x14009afdd
mov r8d, 8
lea edx, [r8 - 6]
mov rcx, r14
call fcn.140011b40
mov rax, rdi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400fb630
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret