Function at 0x14000a248
Capabilities:
Acquire debug privileges
Enumerate gui resources

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
mov eax, 0x1b10
call fcn.14000d5c0
sub rsp, rax
xor r12d, r12d
lea rcx, str.comctl32.dll
mov rbp, r8
mov dword [rsp + 0x20], 8
mov dword [rsp + 0x24], 0xff
mov ebx, r12d
mov esi, r12d
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, r12
mov rdi, rax
je 0x14000a2cc
lea rdx, str.InitCommonControlsEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r12
je 0x14000a2be
lea rcx, [rsp + 0x20]
lea esi, [r12 + 1]
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, r12d
jne 0x14000a2d7
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ebx, 1
cmp ebx, r12d
jne 0x14000a302
lea r8, str.Error
lea rdx, str.Error:_Cannot_load_the_common_control_classes.
mov r9d, 0x30
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 1
jmp 0x14000a614
cmp qword [0x140013348], r12
jne 0x14000a33b
lea rcx, str.shell32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp rax, r12
mov qword [0x140013348], rax
je 0x14000a33b
lea rdx, str.SHGetSpecialFolderPathW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140013340], rax
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r12
call fcn.14000aaec
call fcn.14000adac
xor ecx, ecx
mov dword [0x140012c58], 0x11223344
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14000c798]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0x50], 0x400
mov dword [rsp + 0x54], 0x100
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x34], r12d
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r12
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x6c], 0x20
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r12d
mov dword [rsp + 0x78], r12d
call fcn.140009fd0
lea r11, [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov qword [rsp + 0x1b00], r11
call fcn.140004140
mov rcx, qword [rsp + 0x1b00]
or ebx, 0xffffffff
lea rdx, str._savelangfile
mov r8d, ebx
call fcn.140004378
cmp eax, r12d
jl 0x14000a42e
lea rax, [0x140012228]
mov qword [0x140013330], rax
call fcn.1400052e4
jmp 0x14000a555
call fcn.1400051d0
mov rcx, qword [rsp + 0x1b00]
lea rdx, str._deleteregkey
mov r8d, ebx
call fcn.140004378
cmp eax, r12d
jge 0x14000a555
lea rcx, [rsp + 0xb0]
call fcn.140009ef8
mov rcx, qword [rsp + 0x2c0]
mov edx, 3
cmp dword [rsp + 0x334], edx
je 0x14000a47b
mov edx, 0
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x2c0]
call fcn.1400010d7
add byte [rbx], dh
leave
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x67
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor ecx, ecx
mov qword [rsp + 0x2f0], rax
call qword [sym.imp.ole32.dll_CoInitialize]
jmp 0x14000a530
mov rdx, qword [rsp + 0x2f0]
mov rcx, qword [rsp + 0x2c0]
lea r8, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
cmp eax, r12d
jne 0x14000a530
mov rcx, qword [0x140012c68]
cmp rcx, r12
je 0x14000a4f9
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, r12d
jne 0x14000a530
mov rcx, qword [rsp + 0x2c0]
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, r12d
jne 0x14000a530
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, r12d
jne 0x14000a4b7
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0xb98]
lea r11, [0x14000f1d8]
mov qword [rsp + 0xb0], r11
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea rcx, [rsp + 0x1ae8]
call fcn.140004000
lea rcx, [rsp + 0x1a18]
call fcn.14000b9a4
mov rcx, qword [rsp + 0x15c8]
cmp rcx, r12
je 0x14000a5a6
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsp + 0x15c8], r12
mov rcx, qword [rsp + 0xb90]
cmp rcx, r12
je 0x14000a5c1
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsp + 0xb90], r12
lea rax, [0x14000e6d0]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xb0], rax
call fcn.140003e28
mov rcx, qword [rsp + 0x60]
cmp rcx, r12
je 0x14000a5e9
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r12d
call fcn.140003e28
mov rcx, qword [rsp + 0x20]
cmp rcx, r12
je 0x14000a612
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea r11, [rsp + 0x1b10]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret