Function at 0x140032d84
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r14, rcx
and qword [rbp - 0x28], 0
and qword [rbp - 0x20], 0
call fcn.140033a7c
mov qword [rbp - 0x28], rax
xor bl, bl
call fcn.1400336ac
mov edx, eax
lea ecx, [rax - 2]
mov r12d, 1
cmp ecx, r12d
ja 0x140032ddb
call fcn.140033148
mov edx, eax
lea eax, [rdx - 2]
cmp eax, r12d
jbe 0x140032ded
movzx ebx, bl
cmp edx, 8
cmove ebx, r12d
mov rax, qword [rbp - 0x28]
mov rsi, qword [rax + 8]
mov rdi, rsi
cmp byte [rsi + 0x19], 0
jne 0x140032e2c
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp - 0x28]
call fcn.140033a10
mov rdi, qword [rdi]
mov r8d, 0x20
mov rdx, r12
mov rcx, rsi
call fcn.140009bb0
mov rsi, rdi
cmp byte [rdi + 0x19], 0
je 0x140032dfe
mov rax, qword [rbp - 0x28]
mov qword [rax + 8], rax
mov rax, qword [rbp - 0x28]
mov qword [rax], rax
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x10], rax
and qword [rbp - 0x20], 0
cmp bl, r12b
jne 0x140033122
mov dword [rbp + 0x28], 0x41a041a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x41a101a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x41a041a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4180418
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x41b041b
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4240424
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x43f043f
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4020402
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4250425
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4250425
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4260426
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4270427
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a0c1a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a1c1a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a2c1a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a301a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a241a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a281a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a081a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0xc1a181a
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
mov dword [rbp + 0x28], 0x4220422
mov al, byte [rbp + 0x28]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x28]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x28]
call fcn.140033ad0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov r8, qword [rbp - 0x28]
mov rcx, qword [r8 + 8]
mov rdx, r8
cmp byte [rcx + 0x19], 0
jne 0x140033112
cmp word [rcx + 0x1a], ax
jae 0x1400330fb
mov rcx, qword [rcx + 0x10]
jmp 0x140033101
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x1400330ef
cmp rdx, r8
je 0x140033112
cmp ax, word [rdx + 0x1a]
jae 0x140033115
mov rdx, r8
cmp rdx, r8
je 0x140033122
movzx eax, word [rdx + 0x1c]
mov word [r14], ax
lea rcx, [rbp - 0x28]
call fcn.14003394c
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret