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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4b9e8c
push 0x87
mov eax, dword [0x4d2e1c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x4478ef
xor eax, eax
jmp 0x447d86
xor ecx, ecx
mov word [ebp - 0x638], cx
push 0x206
push 0
lea edx, [ebp - 0x636]
push edx
call fcn.004677c0
add esp, 0xc
push str.NewUI.tmp
push 0x4e3500
push 0x4b9eac
lea eax, [ebp - 0x638]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x638]
push ecx
push 0x4b9eb8
push 0x87
mov edx, dword [0x4d2e1c]
push edx
call fcn.00408630
add esp, 0x10
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jne 0x447963
xor eax, eax
jmp 0x447d86
push 0
push 0x4e3500
lea eax, [ebp - 0x638]
push eax
call fcn.00454a20
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 0x44799c
xor eax, eax
jmp 0x447d86
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004677c0
add esp, 0xc
push 0x4e3500
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.0046a10d
add esp, 0xc
push 0x4b9ec4
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.004677c0
add esp, 0xc
push 0x4e3500
push 0x104
lea edx, [ebp - 0x428]
push edx
call fcn.0046a10d
add esp, 0xc
push 0x4b9ed8
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 0x447a60
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
jmp 0x447a74
lea eax, [ebp - 0x210]
push eax
push str.SetNewUIThm_____s_doesnt_exist_
call fcn.00456a00
add esp, 8
cmp dword [ebp - 0x21c], 0
je 0x447d80
mov ecx, dword [ebp - 0x21c]
push ecx
push str.SetNewUIThm____NewUI_loaded____x_
call fcn.00456a00
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 0x447ac0
push 0
call dword [ebp - 0x84c]
jmp 0x447acd
push str.SetNewUIThm____Function_nuiStartup_failed_
call fcn.00456a00
add esp, 4
call fcn.004040e0
mov dword [ebp - 0x858], eax
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 0x447ba5
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x850], ecx
cmp dword [ebp - 0x850], 0
jne 0x447b1e
mov dword [ebp - 0xc94], 0
jmp 0x447b94
mov edx, dword [ebp - 0x850]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0x63c], eax
cmp dword [ebp - 0x63c], 0x3fffffff
jle 0x447b4c
mov dword [ebp - 0xc98], 0
jmp 0x447b88
mov eax, dword [ebp - 0x63c]
shl eax, 1
call fcn.0046d420
mov dword [ebp - 0xc9c], esp
mov eax, dword [ebp - 0x858]
push eax
mov ecx, dword [ebp - 0x63c]
shl ecx, 1
push ecx
mov edx, dword [ebp - 0x850]
push edx
mov eax, dword [ebp - 0xc9c]
push eax
call fcn.004234b0
mov dword [ebp - 0xc98], eax
mov ecx, dword [ebp - 0xc98]
mov dword [ebp - 0xc94], ecx
push 0
mov edx, dword [ebp - 0xc94]
push edx
call dword [ebp - 0x854]
jmp 0x447bb2
push str.SetNewUIThm____Function_LoadColorScheme_failed_
call fcn.00456a00
add esp, 4
push str.ISGlobalSubclassDialog
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa64], eax
cmp dword [ebp - 0xa64], 0
je 0x447bdb
call dword [ebp - 0xa64]
jmp 0x447be8
push str.SetNewUIThm____Function_GlobalSubclassDialog_failed_
call fcn.00456a00
add esp, 4
xor ecx, ecx
mov word [ebp - 0xc70], cx
push 0x206
push 0
lea edx, [ebp - 0xc6e]
push edx
call fcn.004677c0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x848], ax
push 0x206
push 0
lea ecx, [ebp - 0x846]
push ecx
call fcn.004677c0
add esp, 0xc
xor edx, edx
mov word [ebp - 0xa60], dx
push 0x206
push 0
lea eax, [ebp - 0xa5e]
push eax
call fcn.004677c0
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
push 0x104
lea edx, [ebp - 0x848]
push edx
push 0x4ba0f0
push str.FrameShape
push str.Dialog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x428]
push eax
push 0x104
lea ecx, [ebp - 0xc70]
push ecx
call fcn.0046a10d
add esp, 0xc
lea edx, [ebp - 0xc70]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0xc70]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0xc70]
push edx
push 0x104
lea eax, [ebp - 0xa60]
push eax
push 0x4ba130
push str.TopLeft
push 0x4ba150
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x447d14
lea ecx, [ebp - 0xc74]
push ecx
lea edx, [ebp - 0xc7c]
push edx
lea eax, [ebp - 0xc78]
push eax
lea ecx, [ebp - 0xc80]
push ecx
lea edx, [ebp - 0xa60]
push edx
call fcn.004575b0
add esp, 0x14
mov eax, dword [ebp - 0xc74]
sub eax, dword [ebp - 0xc78]
sub eax, 2
mov dword [0x4e7600], eax
lea ecx, [ebp - 0xc70]
push ecx
push 0x104
lea edx, [ebp - 0xa60]
push edx
push str.0_0_0_0
push str.MiddleLeft
push str.FrameWork
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x447d80
lea eax, [ebp - 0xc84]
push eax
lea ecx, [ebp - 0xc8c]
push ecx
lea edx, [ebp - 0xc88]
push edx
lea eax, [ebp - 0xc90]
push eax
lea ecx, [ebp - 0xa60]
push ecx
call fcn.004575b0
add esp, 0x14
mov edx, dword [ebp - 0xc8c]
sub edx, dword [ebp - 0xc90]
sub edx, 2
mov dword [0x4e7604], edx
mov eax, dword [ebp - 0x21c]
lea esp, [ebp - 0xc9c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret