Function at 0x140070ba0
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 0x140070c5b
lea r8, [0x1400706b0]
lea rcx, str.Xve_
call fcn.1400199a0
mov r9, rax
test rax, rax
je 0x140070c5b
mov rdx, qword [0x1401f35d0]
mov r8, qword [rax]
test rdx, rdx
je 0x140070c50
mov r10d, dword [0x1401f35e0]
test r10d, r10d
je 0x140070c50
cmp rax, rdx
jb 0x140070c50
mov ecx, r10d
imul ecx, dword [0x1401f35d8]
add rcx, rdx
cmp rax, rcx
jae 0x140070c50
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 0x140070c52
mov edi, esi
test r8, r8
jne 0x140070dcd
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edx, dword [0x1401f35d8]
mov edi, r13d
movzx ecx, ax
test edx, edx
je 0x140070ca6
mov r9d, dword [0x1401f35e0]
mov r10, qword [0x1401f35d0]
nop
mov eax, r9d
imul eax, edi
mov r8, qword [rax + r10]
test r8, r8
je 0x140070ca0
test ecx, ecx
je 0x140070ca0
cmp dword [r8 + 0x104], ecx
je 0x140070dcd
inc edi
cmp edi, edx
jb 0x140070c80
mov r14, qword [0x1401f35d0]
mov rbp, rdx
mov r15d, dword [0x1401f35e0]
test r14, r14
je 0x140070d39
cmp rdx, 1
jb 0x140070d39
test r15, r15
je 0x140070d39
lea rsi, [rdx - 1]
imul rsi, r15
add rsi, r14
cmp r14, rsi
ja 0x140070d34
nop word [rax + rax]
mov rdi, rbp
shr rdi, 1
je 0x140070d99
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.14003e940
test eax, eax
je 0x140070db2
jns 0x140070d22
mov rsi, rbx
sub rsi, r15
jmp 0x140070d29
lea r14, [rbx + r15]
mov rbp, rdi
cmp r14, rsi
jbe 0x140070ce0
mov edx, dword [0x1401f35d8]
mov esi, 0xffffffff
mov rbx, r13
test rbx, rbx
je 0x140070f1a
mov rax, qword [0x1401f35d0]
mov r8, qword [rbx]
test rax, rax
je 0x140070dc2
mov r9d, dword [0x1401f35e0]
test r9d, r9d
je 0x140070dc2
cmp rbx, rax
jb 0x140070dc2
imul edx, r9d
add rdx, rax
cmp rbx, rdx
jae 0x140070dc2
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 0x140070dc4
test rbp, rbp
je 0x140070d2e
mov rdx, qword [r14]
mov rcx, r12
call fcn.14003e940
test eax, eax
mov rbx, r14
cmovne rbx, r13
mov edx, dword [0x1401f35d8]
mov esi, 0xffffffff
jmp 0x140070d3c
mov edi, esi
test r8, r8
je 0x140070f1a
mov rcx, r13
movzx eax, word [r8 + rcx*2]
inc rcx
cmp ax, word [r12 + rcx*2 - 2]
jne 0x140070df3
cmp rcx, 8
jne 0x140070dd0
mov dword [0x1401f35e8], edi
mov al, 1
jmp 0x140070f1c
mov rcx, r8
call fcn.14006f870
test al, al
jne 0x140070e7c
mov r14, qword [0x1401f35d0]
mov r15d, dword [0x1401f35e0]
mov ebp, dword [0x1401f35d8]
test r14, r14
je 0x140070e79
cmp rbp, 1
jb 0x140070e79
test r15, r15
je 0x140070e79
lea rsi, [rbp - 1]
imul rsi, r15
add rsi, r14
cmp r14, rsi
ja 0x140070e79
mov rdi, rbp
shr rdi, 1
je 0x140070e89
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.14003e940
test eax, eax
je 0x140070ea2
jns 0x140070e6d
mov rsi, rbx
sub rsi, r15
jmp 0x140070e74
lea r14, [rbx + r15]
mov rbp, rdi
cmp r14, rsi
jbe 0x140070e33
mov edi, r13d
mov dword [0x1401f35e8], edi
mov al, 1
jmp 0x140070f1c
test rbp, rbp
je 0x140070e79
mov rdx, qword [r14]
mov rcx, r12
call fcn.14003e940
test eax, eax
mov rbx, r14
cmovne rbx, r13
test rbx, rbx
je 0x140070e79
mov rax, qword [0x1401f35d0]
test rax, rax
je 0x140070f0b
mov r8d, dword [0x1401f35e0]
test r8d, r8d
je 0x140070f0b
cmp rbx, rax
jb 0x140070f0b
mov edx, r8d
imul edx, dword [0x1401f35d8]
add rdx, rax
cmp rbx, rdx
jae 0x140070f0b
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 [0x1401f35e8], edi
jmp 0x140070f1c
mov edi, 0xffffffff
mov al, 1
mov dword [0x1401f35e8], edi
jmp 0x140070f1c
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