Function at 0x7ff743ea0950
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x388]
sub rsp, 0x470
mov rax, qword [0x7ff743eb0688]
xor rax, rsp
mov qword [rbp + 0x360], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call fcn.7ff743ea0368
mov dword [0x7ff743eb1390], eax
lea rcx, str.powershell.exe
and eax, 0x20
xor edx, edx
or eax, 2
mov esi, ebx
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x7ff743ea0dce
test byte [0x7ff743eb1390], 0x20
jne 0x7ff743ea0dd0
lea rax, [rsp + 0x30]
mov r9d, 0x104
mov qword [rsp + 0x28], rax
lea rdx, str.powershell.exe
lea rax, [rbp + 0x150]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_SearchPathW]
nop dword [rax + rax]
test eax, eax
je 0x7ff743ea0dbf
mov rax, qword [rsp + 0x30]
test rax, rax
jne 0x7ff743ea0a29
lea rax, [rbp + 0x150]
mov r14d, ebx
mov qword [rsp + 0x30], rax
jmp 0x7ff743ea0a34
lea r14, [rbp + 0x150]
mov word [rax - 2], bx
xor r9d, r9d
lea rdx, [0x7ff743ea7848]
mov rcx, rdi
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
nop dword [rax + rax]
test rax, rax
je 0x7ff743ea0c34
mov eax, dword [0x7ff743eb1390]
test al, 4
je 0x7ff743ea0c97
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
nop dword [rax + rax]
mov r12d, 0x404
movzx r15d, ax
cmp ax, r12w
jne 0x7ff743ea0a8d
call fcn.7ff743ea01b0
movzx r15d, ax
lea r9, [rbp - 0x10]
movzx ecx, r15w
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x40]
call fcn.7ff743ea050c
test eax, eax
je 0x7ff743ea0d78
mov r9, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov r9, qword [rsp + 0x30]
lea r8, [rbp + 0xa0]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
cmp word [rbp - 0x10], bx
je 0x7ff743ea0b18
mov r9, qword [rsp + 0x30]
lea r8, [rbp - 0x10]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov eax, 0xc04
cmp r15w, ax
jne 0x7ff743ea0b2b
mov r15d, r12d
jmp 0x7ff743ea0a8d
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
nop dword [rax + rax]
movzx r12d, ax
cmp ax, r15w
je 0x7ff743ea0bcf
lea r9, [rbp - 0x10]
movzx ecx, ax
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x40]
call fcn.7ff743ea050c
test eax, eax
je 0x7ff743ea0c34
mov r9, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov r9, qword [rsp + 0x30]
lea r8, [rbp + 0xa0]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
cmp word [rbp - 0x10], bx
je 0x7ff743ea0bcf
mov r9, qword [rsp + 0x30]
lea r8, [rbp - 0x10]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov ecx, 0x409
cmp cx, r15w
je 0x7ff743ea0c15
cmp cx, r12w
je 0x7ff743ea0c15
xor r9d, r9d
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x40]
call fcn.7ff743ea050c
mov r9, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov r9, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d78
test dil, 1
je 0x7ff743ea0dba
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
call fcn.7ff743ea0368
test al, 0x38
je 0x7ff743ea0d95
mov rax, qword [rsp + 0x30]
lea r8, str._s_s
mov r9, r14
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rbp + 0x150]
call fcn.7ff743e9fe34
xor r8d, r8d
lea rcx, [rbp + 0x150]
lea edx, [r8 + 1]
call fcn.7ff743ea069c
jmp 0x7ff743ea0db7
test al, 3
je 0x7ff743ea0c34
call fcn.7ff743ea0238
lea r9, [rbp - 0x10]
movzx ecx, ax
lea r8, [rbp + 0xa0]
movzx r15d, ax
lea rdx, [rsp + 0x40]
call fcn.7ff743ea050c
test eax, eax
je 0x7ff743ea0c34
mov r9, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov r9, qword [rsp + 0x30]
lea r8, [rbp + 0xa0]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
cmp word [rbp - 0x10], bx
je 0x7ff743ea0d26
mov r9, qword [rsp + 0x30]
lea r8, [rbp - 0x10]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov ecx, 0x409
cmp cx, r15w
je 0x7ff743ea0d62
xor r9d, r9d
lea r8, [rbp + 0xa0]
lea rdx, [rsp + 0x40]
call fcn.7ff743ea050c
mov r9, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rax, rax
jne 0x7ff743ea0d81
mov r9, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, r14
mov rcx, rdi
call fcn.7ff743ea0498
mov rsi, rax
test rsi, rsi
je 0x7ff743ea0c34
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov rax, rsi
jmp 0x7ff743ea0dd0
call fcn.7ff743ea0368
test al, 0x26
lea rcx, str.powershell.exe
setne bl
xor edx, edx
mov r8d, ebx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
mov rdi, rax
mov rax, rdi
jmp 0x7ff743ea0dd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.7ff743e94750
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret