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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [0x4b06f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x49db84
push 0x87
push dword [0x4b6514]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45fc97
xor eax, eax
jmp 0x460054
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046fe20
push str.NewUI.tmp
push 0x4cff60
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x61c]
push eax
push 0x49db84
push 0x87
push dword [0x4b6514]
call fcn.0043bcd0
add esp, 0x2c
test eax, eax
je 0x45fc90
push 0
lea eax, [ebp - 0x61c]
push 0x4cff60
push eax
call fcn.00468840
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 0x460054
push 0x206
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push esi
push eax
call fcn.0046fe20
push 0x4cff60
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.00470452
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x824]
add esp, 0x18
push 0x49dba4
push eax
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046fe20
push 0x4cff60
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00470452
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x49dbb8
push eax
call ebx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x46003e
push edi
push str.SetNewUIThm____NewUI_loaded____x_
call fcn.004699e0
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460030
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ISnuiStartup
push edi
call ebx
test eax, eax
je 0x45fdf9
push esi
call eax
jmp 0x45fe0b
push str.ISnuiStartup
push str.SetNewUIThm____Function__s_failed_
call fcn.00469d40
add esp, 8
push str.ISLoadColorsScheme
push edi
call ebx
mov dword [ebp - 0xc38], eax
test eax, eax
je 0x45fe72
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45fe26
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x45fe4c
xor eax, eax
push eax
push eax
call dword [ebp - 0xc38]
jmp 0x45fe84
add esi, esi
mov eax, esi
call fcn.00470be0
mov eax, esp
lea ecx, [ebp - 0x20c]
push 3
push esi
push ecx
push eax
call fcn.0045c170
push 0
push eax
call dword [ebp - 0xc38]
jmp 0x45fe84
push str.ISLoadColorsScheme
push str.SetNewUIThm____Function_LoadColorScheme_failed_
call fcn.00469d40
add esp, 8
push str.ISGlobalSubclassDialog
push edi
call ebx
test eax, eax
je 0x45fe94
call eax
jmp 0x45fea6
push str.ISGlobalSubclassDialog
push str.SetNewUIThm____Function_GlobalSubclassDialog_failed_
call fcn.00469d40
add esp, 8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc34], ax
lea eax, [ebp - 0xc32]
push eax
call fcn.0046fe20
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa2c], ax
lea eax, [ebp - 0xa2a]
push eax
call fcn.0046fe20
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 0x49dce4
push str.FrameShape
push str.Dialog
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.00470452
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 0x45ffc7
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.0046a3e0
mov eax, dword [ebp - 0xc38]
add esp, 0x14
sub eax, dword [ebp - 0xc3c]
sub eax, 2
mov dword [0x4be990], 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 0x460052
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.0046a3e0
mov eax, dword [ebp - 0xc3c]
add esp, 0x14
sub eax, dword [ebp - 0xc38]
sub eax, 2
mov dword [0x4be994], eax
jmp 0x460052
lea eax, [ebp - 0x20c]
push eax
push str.SetNewUIThm_____s_doesnt_exist_
jmp 0x46004a
lea eax, [ebp - 0x824]
push eax
push str.SetNewUIThm_____s_doesnt_exist_or_failed_to_load_
call fcn.004699e0
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.0046f33a
mov esp, ebp
pop ebp
ret