Function at 0x1400143cc
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
sub rsp, 0x6e0
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_LoadLibraryA]
cmp rax, r12
mov rdi, rax
je 0x14001444a
lea rdx, str.InitCommonControlsEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r12
je 0x14001443c
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 0x140014455
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ebx, 1
cmp ebx, r12d
jne 0x140014480
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_MessageBoxA]
mov eax, 1
jmp 0x140014774
cmp qword [0x14003b068], r12
jne 0x1400144b8
lea rcx, str.shell32.dll
call fcn.140009e1c
cmp rax, r12
mov qword [0x14003b068], rax
je 0x1400144b8
lea rdx, str.SHGetSpecialFolderPathA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14003b060], rax
lea rdx, str.SeDebugPrivilege
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], r12
call fcn.14001575c
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
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.140013cd8
lea r11, [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov qword [rsp + 0x6d0], r11
call fcn.14000a25c
mov rcx, qword [rsp + 0x6d0]
lea rdx, str._savelangfile
or r8d, 0xffffffff
call fcn.14000a41c
cmp eax, r12d
jl 0x14001457f
lea rax, [0x140039478]
mov qword [0x14003adf8], rax
call fcn.14000b7e0
jmp 0x1400146d0
call fcn.14000b6d0
xor ecx, ecx
mov dword [0x14003ab40], 0x11223344
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x14001ab64]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesA]
mov r11, qword [rsp + 0x6d0]
cmp dword [r11 + 0x48], 1
jle 0x1400145ce
lea rcx, [rsp + 0xb0]
call fcn.140013f28
cmp eax, r12d
jne 0x1400146d0
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rcx, [rsp + 0xb0]
call fcn.140013be0
mov rcx, qword [rsp + 0x1c0]
mov edx, 3
cmp dword [rsp + 0x234], edx
je 0x1400145fe
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x1c0]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x67
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov qword [rsp + 0x1f0], rax
jmp 0x1400146ab
mov rcx, qword [0x14003ac38]
cmp rcx, r12
je 0x140014651
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_IsDialogMessageA]
cmp eax, r12d
jne 0x1400146ab
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1c0]
lea r8, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateAcceleratorA]
cmp eax, r12d
jne 0x1400146ab
mov rcx, qword [rsp + 0x1c0]
lea rdx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_IsDialogMessageA]
cmp eax, r12d
jne 0x1400146ab
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageA]
cmp eax, r12d
jne 0x140014632
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x4a0]
lea r11, [0x1400323f8]
mov qword [rsp + 0xb0], r11
call fcn.14001d830
mov rcx, qword [rsp + 0x488]
call fcn.14001d830
lea rcx, [rsp + 0x4b0]
call fcn.14000a7fc
mov rcx, qword [rsp + 0x270]
cmp rcx, r12
je 0x140014721
call qword [sym.imp.GDI32.dll_DeleteObject]
mov qword [rsp + 0x270], r12
lea rax, [0x140031668]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0xb0], rax
call fcn.140009fe4
mov rcx, qword [rsp + 0x60]
cmp rcx, r12
je 0x140014749
call fcn.14001db00
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r12d
call fcn.140009fe4
mov rcx, qword [rsp + 0x20]
cmp rcx, r12
je 0x140014772
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
lea r11, [rsp + 0x6e0]
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