Function at 0x456340
Capabilities:
Check if file exists
Delete file
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493cc0
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4c51d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebp - 0x80]
call fcn.0040d880
push eax
lea eax, [ebp - 0x74]
push eax
mov ebx, 0x4adce4
mov dword [ebp - 4], 0
call fcn.004066f0
add esp, 8
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4563af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
mov eax, 7
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x40], eax
xor edx, edx
xor eax, eax
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], dx
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], ax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0xbb8
mov dword [ebp - 0x2c], 0xa8c0
mov dword [ebp - 0x28], 0x194
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x18], bl
push 0x4add00
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.00401c30
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
mov edi, dword [ebp - 0x7c]
mov ecx, eax
mov byte [ebp - 0x18], bl
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x456426
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x54]
call fcn.0040d690
push 0x1f4
push edi
lea ecx, [ebp - 0x70]
call fcn.0046a1d0
test al, al
je 0x456471
lea ecx, [ebp - 0x70]
call fcn.00469ba0
test al, al
jne 0x456461
mov byte [ebp - 0x18], bl
jmp 0x456471
lea ecx, [ebp - 0x70]
call fcn.00469dd0
test al, al
setne cl
mov byte [ebp - 0x18], cl
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
push eax
call fcn.004015d0
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x80], edi
lea esi, [ebp - 0x78]
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 5
call fcn.0046c900
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4564ae
test al, 0x10
jne 0x4564ae
mov esi, 1
jmp 0x4564b0
xor esi, esi
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4564cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
je 0x4565d5
push str.install
lea ecx, [ebp - 0x78]
call fcn.00401c30
push 0x4add70
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.00401c30
push edi
or ebx, 0xffffffff
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45651b
mov ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x84]
push edi
push ebx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov eax, dword [ebp - 0x84]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45653d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456560
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456580
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4565a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x70]
call fcn.00469b30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4565d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
jmp 0x45664b
lea eax, [edi - 0x10]
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4565f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456618
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x70]
call fcn.00469b30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x456646
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e095
mov esp, ebp
pop ebp
ret