Function at 0x14006f5c0
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
lea r12, str.English
lea esi, [r13 - 1]
test rdx, rdx
je 0x14006f67b
lea r8, [0x14006f020]
lea rcx, str.Xfe_
call fcn.140019510
mov r9, rax
test rax, rax
je 0x14006f67b
mov rdx, qword [0x1401f25d0]
mov r8, qword [rax]
test rdx, rdx
je 0x14006f670
mov r10d, dword [0x1401f25e0]
test r10d, r10d
je 0x14006f670
cmp rax, rdx
jb 0x14006f670
mov ecx, r10d
imul ecx, dword [0x1401f25d8]
add rcx, rdx
cmp rax, rcx
jae 0x14006f670
sub r9d, edx
mov eax, r9d
cdq
idiv r10d
mov edi, eax
mov dword [rsp + 0x50], eax
mov eax, r9d
cdq
idiv r10d
mov dword [rsp + 0x54], edx
mov rcx, qword [rsp + 0x50]
shr rcx, 0x20
test ecx, ecx
cmovne edi, esi
jmp 0x14006f672
mov edi, esi
test r8, r8
jne 0x14006f7ed
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edx, dword [0x1401f25d8]
mov edi, r13d
movzx ecx, ax
test edx, edx
je 0x14006f6c6
mov r9d, dword [0x1401f25e0]
mov r10, qword [0x1401f25d0]
nop
mov eax, r9d
imul eax, edi
mov r8, qword [rax + r10]
test r8, r8
je 0x14006f6c0
test ecx, ecx
je 0x14006f6c0
cmp dword [r8 + 0x104], ecx
je 0x14006f7ed
inc edi
cmp edi, edx
jb 0x14006f6a0
mov r14, qword [0x1401f25d0]
mov rbp, rdx
mov r15d, dword [0x1401f25e0]
test r14, r14
je 0x14006f759
cmp rdx, 1
jb 0x14006f759
test r15, r15
je 0x14006f759
lea rsi, [rdx - 1]
imul rsi, r15
add rsi, r14
cmp r14, rsi
ja 0x14006f754
nop word [rax + rax]
mov rdi, rbp
shr rdi, 1
je 0x14006f7b9
test bpl, 1
lea rax, [rdi - 1]
mov rbp, rdi
mov rcx, r12
cmove rbp, rax
mov rbx, rbp
imul rbx, r15
add rbx, r14
mov rdx, qword [rbx]
call fcn.14003e590
test eax, eax
je 0x14006f7d2
jns 0x14006f742
mov rsi, rbx
sub rsi, r15
jmp 0x14006f749
lea r14, [rbx + r15]
mov rbp, rdi
cmp r14, rsi
jbe 0x14006f700
mov edx, dword [0x1401f25d8]
mov esi, 0xffffffff
mov rbx, r13
test rbx, rbx
je 0x14006f93a
mov rax, qword [0x1401f25d0]
mov r8, qword [rbx]
test rax, rax
je 0x14006f7e2
mov r9d, dword [0x1401f25e0]
test r9d, r9d
je 0x14006f7e2
cmp rbx, rax
jb 0x14006f7e2
imul edx, r9d
add rdx, rax
cmp rbx, rdx
jae 0x14006f7e2
sub ebx, eax
mov eax, ebx
cdq
idiv r9d
mov edi, eax
mov dword [rsp + 0x50], eax
mov eax, ebx
cdq
idiv r9d
mov dword [rsp + 0x54], edx
mov rax, qword [rsp + 0x50]
shr rax, 0x20
test eax, eax
cmovne edi, esi
jmp 0x14006f7e4
test rbp, rbp
je 0x14006f74e
mov rdx, qword [r14]
mov rcx, r12
call fcn.14003e590
test eax, eax
mov rbx, r14
cmovne rbx, r13
mov edx, dword [0x1401f25d8]
mov esi, 0xffffffff
jmp 0x14006f75c
mov edi, esi
test r8, r8
je 0x14006f93a
mov rcx, r13
movzx eax, word [r8 + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x14006f813
cmp rcx, 8
jne 0x14006f7f0
mov dword [0x1401f25e8], edi
mov al, 1
jmp 0x14006f93c
mov rcx, r8
call fcn.14006e230
test al, al
jne 0x14006f89c
mov r14, qword [0x1401f25d0]
mov r15d, dword [0x1401f25e0]
mov ebp, dword [0x1401f25d8]
test r14, r14
je 0x14006f899
cmp rbp, 1
jb 0x14006f899
test r15, r15
je 0x14006f899
lea rsi, [rbp - 1]
imul rsi, r15
add rsi, r14
cmp r14, rsi
ja 0x14006f899
mov rdi, rbp
shr rdi, 1
je 0x14006f8a9
test bpl, 1
lea rax, [rdi - 1]
mov rbp, rdi
mov rcx, r12
cmove rbp, rax
mov rbx, rbp
imul rbx, r15
add rbx, r14
mov rdx, qword [rbx]
call fcn.14003e590
test eax, eax
je 0x14006f8c2
jns 0x14006f88d
mov rsi, rbx
sub rsi, r15
jmp 0x14006f894
lea r14, [rbx + r15]
mov rbp, rdi
cmp r14, rsi
jbe 0x14006f853
mov edi, r13d
mov dword [0x1401f25e8], edi
mov al, 1
jmp 0x14006f93c
test rbp, rbp
je 0x14006f899
mov rdx, qword [r14]
mov rcx, r12
call fcn.14003e590
test eax, eax
mov rbx, r14
cmovne rbx, r13
test rbx, rbx
je 0x14006f899
mov rax, qword [0x1401f25d0]
test rax, rax
je 0x14006f92b
mov r8d, dword [0x1401f25e0]
test r8d, r8d
je 0x14006f92b
cmp rbx, rax
jb 0x14006f92b
mov edx, r8d
imul edx, dword [0x1401f25d8]
add rdx, rax
cmp rbx, rdx
jae 0x14006f92b
sub ebx, eax
mov eax, ebx
cdq
idiv r8d
mov edi, eax
mov dword [rsp + 0x50], eax
mov eax, ebx
cdq
idiv r8d
mov dword [rsp + 0x54], edx
mov rax, qword [rsp + 0x50]
shr rax, 0x20
test eax, eax
mov eax, 0xffffffff
cmovne edi, eax
mov al, 1
mov dword [0x1401f25e8], edi
jmp 0x14006f93c
mov edi, 0xffffffff
mov al, 1
mov dword [0x1401f25e8], edi
jmp 0x14006f93c
xor al, al
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret