Function at 0x14127d0f0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x14136fbc0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12d, edx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x20], 1
xor r13d, r13d
mov qword [rcx], r13
mov qword [rcx + 8], r13
mov qword [rcx + 0x10], r13
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov r9d, 0xff
lea r8, [rsp + 0x70]
mov edx, 1
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov rbx, 0xffffffffffffffff
test eax, eax
je 0x14127d20e
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.1411c24e0
nop
mov rsi, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov dword [rsp + 0x20], 9
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14127d1da
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14127d1da
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1411dba10
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r15
test rcx, rcx
je 0x14127d20e
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14127d20e
mov edx, 2
mov r8d, 8
call fcn.1411dba10
cmp qword [rsp + 0x50], 0
je 0x14127d2e1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x28]
call fcn.1411c7c00
or dword [rsp + 0x20], 0x10
lea rdx, [0x14004798c]
mov rax, qword [rsp + 0x30]
test rax, rax
cmovne rdx, rax
mov r9d, 0x10
mov r8, qword [rsp + 0x38]
lea rcx, [rsp + 0x60]
call fcn.1412051d0
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
cmp rcx, qword [rsp + 0x38]
jge 0x14127d274
test rcx, rcx
jle 0x14127d2b7
mov rax, qword [rsp + 0x30]
cmp byte [rax + rcx], 0
jne 0x14127d2b7
cmp rdx, 0x814
jne 0x14127d2b7
mov rcx, qword [rdi]
mov qword [rdi], r13
lea rax, [0x140088a44]
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], 2
test rcx, rcx
je 0x14127d2b7
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14127d2b7
mov edx, 2
mov r8d, 8
call fcn.1411dba10
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14127d2e1
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14127d2e1
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1411dba10
cmp qword [rdi + 0x10], 0
jne 0x14127d3d2
mov r9d, 0xff
lea r8, [rsp + 0x70]
mov edx, 0x59
mov ecx, r12d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x14127d3d2
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.1411c24e0
nop
mov rsi, qword [rax]
mov r14, qword [rax + 8]
mov r15, qword [rax + 0x10]
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov eax, dword [rsp + 0x20]
or eax, 0xa0
mov dword [rsp + 0x20], eax
test al, 0x40
je 0x14127d372
and dword [rsp + 0x20], 0xffffffbf
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14127d372
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14127d372
mov edx, 2
mov r8d, 8
call fcn.1411dba10
nop
test byte [rsp + 0x20], 0x20
je 0x14127d3a3
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x14127d3a3
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14127d3a3
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x28]
call fcn.1411dba10
mov rcx, qword [rdi]
mov qword [rdi], rsi
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r15
test rcx, rcx
je 0x14127d3d2
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x14127d3d2
mov edx, 2
mov r8d, 8
call fcn.1411dba10
nop
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x14127d3fb
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x14127d3fb
mov r8d, 8
mov edx, 2
mov rcx, qword [rsp + 0x40]
call fcn.1411dba10
nop
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1413164a0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret