Function at 0x140015138
Capabilities:
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, 0xa00
xor r12d, r12d
lea rcx, str.comctl32.dll
mov rbp, r8
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 0xff
mov ebx, r12d
mov esi, r12d
call fcn.14000ab14
cmp rax, r12
mov rdi, rax
je 0x1400151b5
lea rdx, str.InitCommonControlsEx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, r12
je 0x1400151a7
lea rcx, [rsp + 0x70]
lea esi, [r12 + 1]
call rax
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp esi, r12d
jne 0x1400151c0
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ebx, 1
cmp ebx, r12d
jne 0x1400151eb
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 0x1400154bc
cmp qword [0x140021588], r12
jne 0x140015223
lea rcx, str.shell32.dll
call fcn.14000ab14
cmp rax, r12
mov qword [0x140021588], rax
je 0x140015223
lea rdx, str.SHGetSpecialFolderPathW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140021580], rax
mov ecx, 0x8001
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
xor ecx, ecx
mov dword [0x140020e10], 0x11223344
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140018278]
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
lea rcx, [rsp + 0x2c0]
mov dword [rsp + 0x40], 0x400
mov dword [rsp + 0x44], 0x100
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x24], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x48], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x5c], 0x20
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x68], r12d
call fcn.140014f34
lea r11, [rsp + 0x20]
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov qword [rsp + 0x9f0], r11
call fcn.14000ae6c
mov rcx, qword [rsp + 0x9f0]
or ebx, 0xffffffff
lea rdx, str._savelangfile
mov r8d, ebx
call fcn.14000b078
cmp eax, r12d
jl 0x140015374
lea rax, [0x1400203d8]
lea rcx, [rsp + 0xb2]
xor edx, edx
mov r8d, 0x208
mov word [rsp + 0xb0], r12w
mov qword [0x1400211e8], rax
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0xb0]
mov r8d, 0x104
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0xb0]
mov dx, 0x2e
call sub.msvcrt.dll_wcsrchr
cmp rax, r12
je 0x140015343
mov word [rax], r12w
lea rdx, str._lng.ini
lea rcx, [rsp + 0xb0]
call sub.msvcrt.dll_wcscat
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [rsp + 0xb0]
mov rcx, rax
call fcn.14000c32c
jmp 0x14001547b
call fcn.14000c218
mov rcx, qword [rsp + 0x9f0]
lea rdx, str._deleteregkey
mov r8d, ebx
call fcn.14000b078
lea rcx, [rsp + 0x2c0]
cmp eax, r12d
jge 0x140015483
call fcn.140014e60
mov rcx, qword [rsp + 0x4d0]
mov edx, 3
cmp dword [rsp + 0x548], edx
je 0x1400153c1
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x4d0]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, 0x67
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov qword [rsp + 0x500], rax
jmp 0x14001545f
mov rcx, qword [0x140020f38]
cmp rcx, r12
je 0x140015411
lea rdx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, r12d
jne 0x14001545f
mov rdx, qword [rsp + 0x500]
mov rcx, qword [rsp + 0x4d0]
lea r8, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
cmp eax, r12d
jne 0x14001545f
mov rcx, qword [rsp + 0x4d0]
lea rdx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
cmp eax, r12d
jne 0x14001545f
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x78]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, r12d
jne 0x1400153f5
lea rcx, [rsp + 0x2c0]
call fcn.140015094
lea rcx, [rsp + 0x20]
call fcn.14000abdc
mov rcx, qword [rsp + 0x50]
cmp rcx, r12
je 0x1400154a1
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x50], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x58], r12d
call fcn.14000abdc
xor eax, eax
lea r11, [rsp + 0xa00]
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