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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc98
mov eax, dword [0x4b1120]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x49536c
push 0x87
mov eax, dword [0x4b569c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x428adf
xor eax, eax
jmp 0x428f44
xor ecx, ecx
mov word [ebp - 0x638], cx
push 0x206
push 0
lea edx, [ebp - 0x636]
push edx
call fcn.00447660
add esp, 0xc
push str.NewUI.tmp
push 0x4c5938
push 0x49538c
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x638]
push ecx
push 0x495398
push 0x87
mov edx, dword [0x4b569c]
push edx
call fcn.00408e40
add esp, 0x10
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x428b53
xor eax, eax
jmp 0x428f44
push 0
push 0x4c5938
lea eax, [ebp - 0x638]
push eax
call fcn.004361e0
add esp, 0xc
mov dword [ebp - 0x42c], eax
lea ecx, [ebp - 0x638]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x42c], 0
je 0x428b8c
xor eax, eax
jmp 0x428f44
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00447660
add esp, 0xc
push 0x4c5938
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0044a00d
add esp, 0xc
push str.NewUI.dll
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.00447660
add esp, 0xc
push 0x4c5938
push 0x104
lea edx, [ebp - 0x428]
push edx
call fcn.0044a00d
add esp, 0xc
push str.NewUI.thm
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428c50
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
jmp 0x428c64
lea eax, [ebp - 0x210]
push eax
push str.SetNewUIThm_____s_doesnt_exist_
call fcn.00437970
add esp, 8
cmp dword [ebp - 0x21c], 0
je 0x428f3e
mov ecx, dword [ebp - 0x21c]
push ecx
push str.SetNewUIThm____NewUI_loaded____x_
call fcn.00437970
add esp, 8
push str.ISnuiStartup
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x84c], eax
cmp dword [ebp - 0x84c], 0
je 0x428cb0
push 0
call dword [ebp - 0x84c]
jmp 0x428cbd
push str.SetNewUIThm____Function_nuiStartup_failed_
call fcn.00437970
add esp, 4
mov dword [ebp - 0x858], 0
push str.ISLoadColorsScheme
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], 0
je 0x428d62
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x850], ecx
cmp dword [ebp - 0x850], 0
jne 0x428d09
mov dword [ebp - 0xc94], 0
jmp 0x428d51
mov edx, dword [ebp - 0x850]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x63c], eax
mov eax, dword [ebp - 0x63c]
call fcn.0044a220
mov dword [ebp - 0xc98], esp
mov ecx, dword [ebp - 0x63c]
push ecx
mov edx, dword [ebp - 0x850]
push edx
mov eax, dword [ebp - 0xc98]
push eax
call fcn.00416bf0
mov dword [ebp - 0xc94], eax
push 0
mov ecx, dword [ebp - 0xc94]
push ecx
call dword [ebp - 0x854]
jmp 0x428d6f
push str.SetNewUIThm____Function_LoadColorScheme_failed_
call fcn.00437970
add esp, 4
push str.ISGlobalSubclassDialog
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa64], eax
cmp dword [ebp - 0xa64], 0
je 0x428d98
call dword [ebp - 0xa64]
jmp 0x428da5
push str.SetNewUIThm____Function_GlobalSubclassDialog_failed_
call fcn.00437970
add esp, 4
xor eax, eax
mov word [ebp - 0xc70], ax
push 0x206
push 0
lea ecx, [ebp - 0xc6e]
push ecx
call fcn.00447660
add esp, 0xc
xor edx, edx
mov word [ebp - 0x848], dx
push 0x206
push 0
lea eax, [ebp - 0x846]
push eax
call fcn.00447660
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0xa60], cx
push 0x206
push 0
lea edx, [ebp - 0xa5e]
push edx
call fcn.00447660
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
push 0x208
lea ecx, [ebp - 0x848]
push ecx
push str.Dialog.inf
push str.FrameShape
push str.Dialog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x428]
push edx
push 0x104
lea eax, [ebp - 0xc70]
push eax
call fcn.0044a00d
add esp, 0xc
lea ecx, [ebp - 0xc70]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea edx, [ebp - 0x848]
push edx
lea eax, [ebp - 0xc70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0xc70]
push ecx
push 0x208
lea edx, [ebp - 0xa60]
push edx
push 0x495610
push str.TopLeft
push 0x495630
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x428ed2
lea eax, [ebp - 0xc74]
push eax
lea ecx, [ebp - 0xc7c]
push ecx
lea edx, [ebp - 0xc78]
push edx
lea eax, [ebp - 0xc80]
push eax
lea ecx, [ebp - 0xa60]
push ecx
call fcn.00438540
add esp, 0x14
mov edx, dword [ebp - 0xc74]
sub edx, dword [ebp - 0xc78]
sub edx, 2
mov dword [0x4c9a38], edx
lea eax, [ebp - 0xc70]
push eax
push 0x208
lea ecx, [ebp - 0xa60]
push ecx
push str.0_0_0_0
push str.MiddleLeft
push str.FrameWork
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x428f3e
lea edx, [ebp - 0xc84]
push edx
lea eax, [ebp - 0xc8c]
push eax
lea ecx, [ebp - 0xc88]
push ecx
lea edx, [ebp - 0xc90]
push edx
lea eax, [ebp - 0xa60]
push eax
call fcn.00438540
add esp, 0x14
mov ecx, dword [ebp - 0xc8c]
sub ecx, dword [ebp - 0xc90]
sub ecx, 2
mov dword [0x4c9a3c], ecx
mov eax, dword [ebp - 0x21c]
lea esp, [ebp - 0xc98]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret