Function at 0x45f750
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 0x49c8e4
push 0x87
push dword [0x4b550c]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x45f787
xor eax, eax
jmp 0x45fb44
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.0046f7e0
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 0x49c8e4
push 0x87
push dword [0x4b550c]
call fcn.0043bd10
add esp, 0x2c
test eax, eax
je 0x45f780
push 0
lea eax, [ebp - 0x61c]
push 0x4ce980
push eax
call fcn.00468200
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 0x45fb44
push 0x206
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push esi
push eax
call fcn.0046f7e0
push 0x4ce980
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0046fe12
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x824]
add esp, 0x18
push 0x49c904
push eax
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.0046f7e0
push 0x4ce980
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0046fe12
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0x49c918
push eax
call ebx
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45fb2e
push edi
push str.SetNewUIThm____NewUI_loaded____x_
call fcn.00469390
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45fb20
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.ISnuiStartup
push edi
call ebx
test eax, eax
je 0x45f8e9
push esi
call eax
jmp 0x45f8fb
push str.ISnuiStartup
push str.SetNewUIThm____Function__s_failed_
call fcn.004696f0
add esp, 8
push str.ISLoadColorsScheme
push edi
call ebx
mov dword [ebp - 0xc38], eax
test eax, eax
je 0x45f962
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45f916
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x45f93c
xor eax, eax
push eax
push eax
call dword [ebp - 0xc38]
jmp 0x45f974
add esi, esi
mov eax, esi
call fcn.004705a0
mov eax, esp
lea ecx, [ebp - 0x20c]
push 3
push esi
push ecx
push eax
call fcn.0045bd30
push 0
push eax
call dword [ebp - 0xc38]
jmp 0x45f974
push str.ISLoadColorsScheme
push str.SetNewUIThm____Function_LoadColorScheme_failed_
call fcn.004696f0
add esp, 8
push str.ISGlobalSubclassDialog
push edi
call ebx
test eax, eax
je 0x45f984
call eax
jmp 0x45f996
push str.ISGlobalSubclassDialog
push str.SetNewUIThm____Function_GlobalSubclassDialog_failed_
call fcn.004696f0
add esp, 8
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc34], ax
lea eax, [ebp - 0xc32]
push eax
call fcn.0046f7e0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa2c], ax
lea eax, [ebp - 0xa2a]
push eax
call fcn.0046f7e0
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 0x49ca44
push str.FrameShape
push str.Dialog
call esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.0046fe12
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 0x45fab7
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.00469d90
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 0x45fb42
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.00469d90
mov eax, dword [ebp - 0xc3c]
add esp, 0x14
sub eax, dword [ebp - 0xc38]
sub eax, 2
mov dword [0x4bd984], eax
jmp 0x45fb42
lea eax, [ebp - 0x20c]
push eax
push str.SetNewUIThm_____s_doesnt_exist_
jmp 0x45fb3a
lea eax, [ebp - 0x824]
push eax
push str.SetNewUIThm_____s_doesnt_exist_or_failed_to_load_
call fcn.00469390
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.0046ecfa
mov esp, ebp
pop ebp
ret