Function at 0x14000e480
Capabilities:
Enumerate gui resources
Get common file path
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x4c0]
sub rsp, 0x5c0
mov rax, qword [0x140031008]
xor rax, rsp
mov qword [rbp + 0x4b0], rax
mov qword [0x140033570], rcx
mov rsi, r8
lea rcx, str.shell32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.IsUserAnAdmin
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.advapi32
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.OpenProcessToken
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r14d, r14d
mov rbx, rax
test rdi, rdi
je 0x14000e60f
test rax, rax
je 0x14000e60f
call rdi
test eax, eax
je 0x14000e60f
call qword [sym.imp.USER32.dll_GetShellWindow]
test rax, rax
je 0x14000e6c1
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x14000e6c1
mov r8d, dword [rsp + 0x30]
lea edx, [r14 + 1]
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000e6c1
lea r8, [0x14003aa18]
mov rcx, rax
lea edx, [r14 + 0xe]
call rbx
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x14000e6c1
lea rcx, str.userenv
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14000e6bc
lea rdx, str.LoadUserProfileW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e6b3
lea rcx, [0x14002bf84]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x40], rcx
lea rdx, [rsp + 0x38]
mov rcx, qword [0x14003aa18]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov dword [rsp + 0x38], 0x38
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x3c], 1
movdqu xmmword [rsp + 0x58], xmm1
call rax
test eax, eax
je 0x14000e6b3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x68]
mov qword [0x140031b30], rax
mov r8d, 0x104
lea rdx, [0x14003ac50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [0x14003ac50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea rcx, [0x14003ac50]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
call fcn.14000eb20
test eax, eax
jne 0x14000e726
mov rbx, qword [0x14003aa18]
call section..text
lea rdi, [0x14003ae60]
cmp eax, 0x1f4
jb 0x14000e6ea
lea rcx, str.shell32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.SHGetFolderPathW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e6ea
xor r9d, r9d
mov qword [rsp + 0x20], rdi
mov r8, rbx
xor ecx, ecx
lea edx, [r9 + 0x26]
call rax
cmp eax, 1
je 0x14000e6ea
test eax, eax
jns 0x14000e716
lea rdx, [0x14002c050]
mov rcx, rdi
jmp 0x14000e710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.14000e9a0
xor eax, eax
mov rcx, qword [rbp + 0x4b0]
xor rcx, rsp
call fcn.140013ba0
lea r11, [rsp + 0x5c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp word [0x14003ae62], 0x3a
jne 0x14000e716
lea rdx, str.Program_Files
lea rcx, [0x14003ae64]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.CLaunch_
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcatW]
call fcn.14000ec90
test eax, eax
jne 0x14000e779
lea rdx, [0x14003ac50]
lea rcx, [0x14003aa40]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, str.Languages
lea rcx, [0x14003aa40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, 1
lea rcx, [0x14003aa40]
call fcn.1400011d0
cmp qword [0x140033138], r14
jne 0x14000e779
mov word [0x14003aa40], r14w
cmp word [rsi], 0x2f
jne 0x14000e853
movzx eax, word [rsi + 2]
mov ecx, 0xffdf
sub ax, 0x55
test cx, ax
jne 0x14000e853
mov edx, 0x22
mov rcx, rsi
call fcn.140014f84
test rax, rax
je 0x14000e6bc
lea rdx, [rax + 2]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 0x22
lea rcx, [rbp + 0xa0]
call fcn.140014f84
test rax, rax
je 0x14000e6bc
mov edx, 0x22
mov word [rax], r14w
lea rcx, [rax + 2]
call fcn.140014f84
mov rbx, rax
test rax, rax
je 0x14000e6bc
mov edx, 0x22
lea rcx, [rax + 2]
call fcn.140014f84
test rax, rax
je 0x14000e6bc
xor r8d, r8d
mov word [rax], r14w
lea rdx, [rbx + 2]
lea rcx, [rbp + 0xa0]
call fcn.14000c8b0
mov rcx, qword [0x140033140]
mov dword [0x1400330c4], r14d
test rcx, rcx
je 0x14000e847
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov qword [0x140033140], r14
jmp 0x14000e6bc
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 1
lea rcx, [0x14000ea20]
call qword [sym.imp.USER32.dll_EnumWindows]
cmp dword [rsp + 0x30], r14d
je 0x14000e6bc
mov rcx, rsi
call fcn.140012720
test eax, eax
jne 0x14000e6bc
lea rcx, [0x14003ac50]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor edx, edx
lea rcx, [rbp - 0x2c]
mov r8d, 0xcc
call fcn.140015400
mov rcx, qword [0x140033570]
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp + 0x30], rax
mov rax, qword [0x140033138]
test rax, rax
movups xmmword [rsp + 0x70], xmm0
cmovne rcx, rax
mov dword [rsp + 0x70], 0x60
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x28], rcx
lea rax, [0x140011570]
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x40], rcx
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], rcx
lea rcx, [rsp + 0x70]
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 8], rax
xor eax, eax
mov qword [rbp + 0x98], rax
lea rax, [0x140011c40]
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x30], 0x68
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp - 0x20], 0x385
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x60], rax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp + 0x38], 0x68
movups xmmword [rbp], xmm0
mov qword [rbp + 0x48], 0x387
movups xmmword [rbp + 0x10], xmm0
mov dword [rsp + 0x74], 0xa8
movups xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x78], r14
movups xmmword [rbp + 0x68], xmm0
mov dword [rbp - 0x68], 2
movups xmmword [rbp + 0x78], xmm0
mov dword [rbp - 0x60], r14d
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.COMCTL32.dll_PropertySheetW]
call fcn.14000e9a0
mov eax, 1
jmp 0x14000e6c3