Function at 0x4252e0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
cmp byte [0x00480508], 0
mov qword [rsp + 0x58], rbx
mov rbx, rcx
je 0x4256e1
cmp byte [0x00480509], 0
je 0x4256e1
cmp dword [0x00480510], 0
jne 0x4256e1
xor r9d, r9d
xor r8d, r8d
mov edx, CDialogTemplate::Load
mov qword [rsp + 0x68], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1026
mov rcx, rbx
mov rdi, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1001
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov r9d, 0xffffff
xor r8d, r8d
mov edx, 0x1024
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov r9d, 0x10030
xor r8d, r8d
mov edx, 0x1036
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp byte [0x00480508], 0
je 0x425396
mov dl, 1
mov rcx, rdi
call qword [0x00480528]
lea rdx, str.ItemsView
xor r8d, r8d
mov rcx, rdi
call fcn.004241d0
cmp byte [0x00480508], 0
je 0x4253bc
mov dl, 1
mov rcx, rbx
call qword [0x00480528]
lea rdx, str.Explorer
xor r8d, r8d
mov rcx, rbx
call fcn.004241d0
mov rax, qword [0x004805c8]
test rax, rax
jne 0x4253f7
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x004805c8], rax
je 0x4254d9
lea rdx, str.OpenThemeData
mov rcx, rax
mov qword [rsp + 0x60], rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4254cd
lea rdx, str.Header
mov rcx, rdi
call rax
test rax, rax
mov rsi, rax
je 0x4254cd
mov rax, qword [0x004805d8]
test rax, rax
jne 0x425452
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x004805d8], rax
je 0x425485
lea rdx, str.GetThemeColor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x425485
lea rcx, [0x00458530]
xor r8d, r8d
mov r9d, 0xedb
mov qword [rsp + 0x20], rcx
lea edx, [r8 + 1]
mov rcx, rsi
call rax
mov rax, qword [0x004805d0]
test rax, rax
jne 0x4254aa
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x004805d0], rax
je 0x4254cd
lea rdx, str.CloseThemeData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4254cd
mov rcx, rsi
call rax
mov rax, qword [0x004805c8]
jmp 0x4254d4
mov rax, qword [0x004805c8]
mov rsi, qword [rsp + 0x60]
test rax, rax
jne 0x4254fb
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x004805c8], rax
je 0x425683
lea rdx, str.OpenThemeData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x425683
lea rdx, str.ItemsView
mov rcx, rdi
call rax
test rax, rax
mov rdi, rax
je 0x425683
mov rax, qword [0x004805d8]
test rax, rax
jne 0x425551
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x004805d8], rax
je 0x42559a
lea rdx, str.GetThemeColor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x42558c
lea rcx, [rsp + 0x30]
mov r9d, 0xedb
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rdi
xor edx, edx
call rax
mov r11d, eax
mov rax, qword [0x004805d8]
jmp 0x42559f
mov r11d, dword [rsp + 0x30]
mov rax, qword [0x004805d8]
jmp 0x42559f
mov r11d, dword [rsp + 0x30]
test r11d, r11d
js 0x4255c1
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1024
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [0x004805d8]
test rax, rax
jne 0x4255df
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x004805d8], rax
je 0x425610
lea rdx, str.GetThemeColor
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x425610
lea rcx, [rsp + 0x30]
mov r9d, 0xeda
xor r8d, r8d
mov qword [rsp + 0x20], rcx
mov rcx, rdi
xor edx, edx
call rax
jmp 0x425614
mov eax, dword [rsp + 0x30]
test eax, eax
js 0x425644
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1026
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, qword [0x004805d0]
test rax, rax
jne 0x425669
lea rcx, str.UxTheme.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
mov qword [0x004805d0], rax
je 0x425683
lea rdx, str.CloseThemeData
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x425683
mov rcx, rdi
call rax
xor r9d, r9d
mov edx, 0x127
mov r8d, 0x10001
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9d, 1
mov edx, 0xf4
lea r8d, [r9 + 0xa]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
mov edx, 0xfffffffc
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
lea r8, [0x00425270]
mov edx, 0xfffffffc
mov rcx, rbx
mov qword [0x004805a0], rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
add rsp, 0x48
ret