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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc44
mov eax, dword [0x4af6f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x49c874
push 0x87
push dword [0x4b550c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45f727
xor eax, eax
jmp 0x45fae4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046f6e0
push str.NewUI.tmp
push 0x4ce980
lea eax, [ebp - 0x61c]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x61c]
push eax
push 0x49c874
push 0x87
push dword [0x4b550c]
call fcn.0043bd10
add esp, 0x2c
test eax, eax
je 0x45f720
push 0
lea eax, [ebp - 0x61c]
push 0x4ce980
push eax
call fcn.00468100
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 0x45fae4
push 0x206
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push esi
push eax
call fcn.0046f6e0
push 0x4ce980
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0046fd12
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x824]
add esp, 0x18
push 0x49c894
push eax
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f6e0
push 0x4ce980
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046fd12
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x49c8a8
push eax
call ebx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45face
push edi
push str.SetNewUIThm____NewUI_loaded____x_
call fcn.00469290
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45fac0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ISnuiStartup
push edi
call ebx
test eax, eax
je 0x45f889
push esi
call eax
jmp 0x45f89b
push str.ISnuiStartup
push str.SetNewUIThm____Function__s_failed_
call fcn.004695f0
add esp, 8
push str.ISLoadColorsScheme
push edi
call ebx
mov dword [ebp - 0xc38], eax
test eax, eax
je 0x45f902
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f8b6
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x45f8dc
xor eax, eax
push eax
push eax
call dword [ebp - 0xc38]
jmp 0x45f914
add esi, esi
mov eax, esi
call fcn.004704a0
mov eax, esp
lea ecx, [ebp - 0x20c]
push 3
push esi
push ecx
push eax
call fcn.0045bcd0
push 0
push eax
call dword [ebp - 0xc38]
jmp 0x45f914
push str.ISLoadColorsScheme
push str.SetNewUIThm____Function_LoadColorScheme_failed_
call fcn.004695f0
add esp, 8
push str.ISGlobalSubclassDialog
push edi
call ebx
test eax, eax
je 0x45f924
call eax
jmp 0x45f936
push str.ISGlobalSubclassDialog
push str.SetNewUIThm____Function_GlobalSubclassDialog_failed_
call fcn.004695f0
add esp, 8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046f6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc34], ax
lea eax, [ebp - 0xc32]
push eax
call fcn.0046f6e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa2c], ax
lea eax, [ebp - 0xa2a]
push eax
call fcn.0046f6e0
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 0x49c9d4
push str.FrameShape
push str.Dialog
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046fd12
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 0x45fa57
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.00469c90
mov eax, dword [ebp - 0xc38]
add esp, 0x14
sub eax, dword [ebp - 0xc3c]
sub eax, 2
mov dword [0x4bd980], 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 0x45fae2
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.00469c90
mov eax, dword [ebp - 0xc3c]
add esp, 0x14
sub eax, dword [ebp - 0xc38]
sub eax, 2
mov dword [0x4bd984], eax
jmp 0x45fae2
lea eax, [ebp - 0x20c]
push eax
push str.SetNewUIThm_____s_doesnt_exist_
jmp 0x45fada
lea eax, [ebp - 0x824]
push eax
push str.SetNewUIThm_____s_doesnt_exist_or_failed_to_load_
call fcn.00469290
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.0046ebfa
mov esp, ebp
pop ebp
ret