Function at 0x452d50
Capabilities:
Check if file exists
Delete file
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [0x4a86f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.NEWUI
push 0x87
push dword [0x4c1264]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x452d87
xor eax, eax
jmp 0x453139
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046a390
push str.NewUI.tmp
push 0x4c3678
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x61c]
push eax
push str.NEWUI
push 0x87
push dword [0x4c1264]
call fcn.00429c80
add esp, 0x2c
test eax, eax
je 0x452d80
push 0
lea eax, [ebp - 0x61c]
push 0x4c3678
push eax
call fcn.0045e390
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
test esi, esi
jne 0x453139
push 0x206
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push esi
push eax
call fcn.0046a390
push 0x4c3678
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0046bf5a
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x824]
add esp, 0x18
push str.NewUI.dll
push eax
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046a390
push 0x4c3678
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046bf5a
add esp, 0x18
lea eax, [ebp - 0x20c]
push str.NewUI.thm
push eax
call ebx
lea eax, [ebp - 0x20c]
xor edi, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x824]
push eax
je 0x45312a
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x453137
push edi
push str.SetNewUIThm____NewUI_loaded____x_
call fcn.0045f520
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 8
push str.ISnuiStartup
push edi
call ebx
test eax, eax
je 0x452eeb
push esi
call eax
jmp 0x452efd
push str.ISnuiStartup
push str.SetNewUIThm____Function__s_failed_
call fcn.0045f880
add esp, 8
push str.ISLoadColorsScheme
push edi
call ebx
mov dword [ebp - 0xc38], eax
test eax, eax
je 0x452f6c
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
jmp 0x452f20
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452f20
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x452f46
xor eax, eax
push eax
push eax
call dword [ebp - 0xc38]
jmp 0x452f7e
add esi, esi
mov eax, esi
call fcn.0046dbb0
mov eax, esp
lea ecx, [ebp - 0x20c]
push 3
push esi
push ecx
push eax
call fcn.0044f9b0
push 0
push eax
call dword [ebp - 0xc38]
jmp 0x452f7e
push str.ISLoadColorsScheme
push str.SetNewUIThm____Function_LoadColorScheme_failed_
call fcn.0045f880
add esp, 8
push str.ISGlobalSubclassDialog
push edi
call ebx
test eax, eax
je 0x452f8e
call eax
jmp 0x452fa0
push str.ISGlobalSubclassDialog
push str.SetNewUIThm____Function_GlobalSubclassDialog_failed_
call fcn.0045f880
add esp, 8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc34], ax
lea eax, [ebp - 0xc32]
push eax
call fcn.0046a390
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa2c], ax
lea eax, [ebp - 0xa2a]
push eax
call fcn.0046a390
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x20c]
add esp, 0x24
push eax
push 0x104
lea eax, [ebp - 0xc34]
push eax
push str.Dialog.inf
push str.FrameShape
push str.Dialog
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046bf5a
add esp, 0xc
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0xc34]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push str.0_0_0_0
push str.TopLeft
push str.FrameWork
call esi
test eax, eax
je 0x4530c1
lea eax, [ebp - 0xc38]
push eax
lea eax, [ebp - 0xc44]
push eax
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.0045ff20
mov eax, dword [ebp - 0xc38]
add esp, 0x14
sub eax, dword [ebp - 0xc3c]
sub eax, 2
mov dword [0x4b8c30], eax
lea eax, [ebp - 0x414]
push eax
push 0x104
lea eax, [ebp - 0xa2c]
push eax
push str.0_0_0_0
push str.MiddleLeft
push str.FrameWork
call esi
test eax, eax
je 0x453137
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0xc3c]
push eax
lea eax, [ebp - 0xc44]
push eax
lea eax, [ebp - 0xc38]
push eax
lea eax, [ebp - 0xa2c]
push eax
call fcn.0045ff20
mov eax, dword [ebp - 0xc3c]
add esp, 0x14
sub eax, dword [ebp - 0xc38]
sub eax, 2
mov dword [0x4b8c34], eax
jmp 0x453137
push str.SetNewUIThm_____s_doesnt_exist_
call fcn.0045f520
add esp, 8
mov eax, edi
lea esp, [ebp - 0xc50]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004698aa
mov esp, ebp
pop ebp
ret