Function at 0x140037060
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x140195088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov esi, 0x3ff
mov r14d, 9
lea r15d, [r14 - 2]
cmp dword [0x1401a15e0], 0
je 0x1400370bc
mov word [0x1401a11d8], r15w
mov rcx, qword [str.libs__x64_PopChar_de.dll]
jmp 0x1400370d8
cmp dword [0x1401a15e4], 0
je 0x14003717a
mov word [0x1401a11d8], r14w
mov rcx, qword [str.libs__x64_PopChar.dll]
call fcn.140027960
test rax, rax
jne 0x1400370f6
mov rcx, qword [str.libs__x64_PopChar.dll]
call fcn.140027960
mov word [0x1401a11d8], r14w
mov qword [0x1401a11c8], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea rax, [0x1401a11e0]
lea ecx, [rbx + 2]
nop
mov qword [rax], rbx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbx
lea rax, [rax + 0x40]
mov qword [rax - 0x28], rbx
mov qword [rax - 0x20], rbx
mov qword [rax - 0x18], rbx
mov qword [rax - 0x10], rbx
mov qword [rax - 8], rbx
sub rcx, 1
jne 0x140037110
mov qword [rax], rbx
mov qword [0x1401a11d0], rbx
mov rdi, rbx
lea ebp, [rcx + 0x11]
lea r13, str.Pa_v_
lea r12, [0x140000000]
lea rbx, str._be_v_
nop
cmp dword [0x1401a15e0], 0
je 0x1400371a0
mov word [0x1401a11d8], r15w
lea rcx, str.xt_v_
jmp 0x1400371b4
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and ax, si
mov word [0x1401a11d8], ax
cmp ax, r15w
jne 0x1400370d1
mov rcx, qword [str.libs__x64_PopChar_de.dll]
jmp 0x1400370d8
cmp dword [0x1401a15e4], 0
je 0x1400371e2
mov word [0x1401a11d8], r14w
mov rcx, r13
mov rcx, qword [rdi + rcx]
call fcn.140027960
lea rcx, [0x1401a11e0]
mov qword [rdi + rcx], rax
cmp dword [0x1401a15e0], 0
je 0x140037201
mov word [0x1401a11d8], r15w
lea rcx, str.libs__x64_PopChar_uc_de_alt.dll
jmp 0x140037219
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and ax, si
mov word [0x1401a11d8], ax
cmp ax, r15w
jne 0x1400371b1
lea rcx, str.xt_v_
jmp 0x1400371b4
cmp dword [0x1401a15e4], 0
je 0x140037334
mov word [0x1401a11d8], r14w
mov rcx, rbx
mov rcx, qword [rdi + rcx]
call fcn.140027960
mov qword [rdi + r12 + 0x1a1270], rax
mov word [0x1401a11d8], r14w
mov rcx, qword [rdi + r13]
call fcn.140027960
mov qword [rdi + r12 + 0x1a1300], rax
mov word [0x1401a11d8], r14w
mov rcx, qword [rdi + rbx]
call fcn.140027960
mov qword [rdi + r12 + 0x1a1390], rax
mov rcx, qword [rdi + r12 + 0x187fb0]
call fcn.140027960
mov qword [rdi + r12 + 0x1a1420], rax
mov rcx, qword [rdi + r12 + 0x188040]
call fcn.140027960
mov qword [rdi + r12 + 0x1a14b0], rax
add rdi, 8
sub rbp, 1
jne 0x140037160
lea rsi, [0x1401a1538]
mov rbx, qword [rsp + 0x20]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov edx, 0x80
lea rcx, [rsp + 0x30]
call fcn.140031390
nop
movsxd r9, ebx
mov r9, qword [r12 + r9*8 + 0x187f78]
lea r8, str.libs__x64_
lea rdx, str._spcwdll__s.dll
lea rcx, [rsp + 0x30]
call fcn.140032800
mov rcx, qword [rsp + 0x38]
call fcn.140027960
mov rdi, rax
lea rcx, [rsp + 0x30]
call fcn.140031450
mov qword [rsi], rdi
inc ebx
lea rsi, [rsi + 8]
cmp ebx, 6
jb 0x1400372a0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005d680
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
and ax, si
mov word [0x1401a11d8], ax
cmp ax, r15w
jne 0x140037216
lea rcx, str.libs__x64_PopChar_uc_de_alt.dll
jmp 0x140037219