Function at 0x42b06c
Capabilities:
Delete file
Get common file path
Move file
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd50
xor eax, eax
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
mov edx, dword [ebp + 0xc]
or ecx, 0xffffffff
mov edi, edx
lea esi, [ebp - 0x118]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [ebp + 0x10], 0
je 0x42b100
push 0x2e
lea eax, [ebp - 0x118]
push eax
call fcn.00401419
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42b0ed
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov edi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov edx, dword [ebp - 8]
sub edi, ecx
mov esi, edx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x42b100
mov eax, dword [ebp + 0x10]
push eax
lea edx, [ebp - 0x118]
push edx
call fcn.0040123c
add esp, 8
push 0x80
lea ecx, [ebp - 0x118]
push ecx
call sub.KERNEL32.dll_SetFileAttributesA
lea eax, [ebp - 0x118]
push eax
call sub.KERNEL32.dll_DeleteFileA
push 0
push 0x4000000
push 3
push 0
push 1
push 0x80000000
lea edx, [ebp - 0x118]
push edx
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42b14d
mov ecx, dword [ebp - 0xc]
push ecx
call sub.KERNEL32.dll_CloseHandle
mov dword [ebp - 0x1ac], 0x94
lea eax, [ebp - 0x1ac]
push eax
call sub.KERNEL32.dll_GetVersionExA
test eax, eax
je 0x42b18d
cmp dword [ebp - 0x19c], 2
jne 0x42b18d
push 4
push 0
lea edx, [ebp - 0x118]
push edx
call sub.KERNEL32.dll_MoveFileExA
test eax, eax
jne 0x42b28b
jmp 0x42b28b
mov ecx, 0x5000
mov dword [ebp - 0x14], ecx
push ecx
call fcn.0040b3fc
pop ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42b28b
push 0x104
lea eax, [ebp - 0x2b0]
push eax
lea edx, [ebp - 0x118]
push edx
call sub.KERNEL32.dll_GetShortPathNameA
xor eax, eax
lea edi, [ebp - 0x2b0]
or ecx, 0xffffffff
lea esi, [ebp - 0x118]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x2b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x104
push eax
call sub.KERNEL32.dll_GetWindowsDirectoryA
push 0x4509b8
lea edx, [ebp - 0x2b0]
push edx
call fcn.0040123c
add esp, 8
lea ecx, [ebp - 0x2b0]
push ecx
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x10]
push edx
push 0x4509c5
call sub.KERNEL32.dll_GetPrivateProfileSectionA
mov dword [ebp - 0x14], eax
mov esi, 0x4509cc
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x118]
add ecx, dword [ebp - 0x14]
mov edi, ecx
mov eax, edi
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
push edx
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0040123c
add esp, 8
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x14]
push eax
call fcn.00401348
pop ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + edx]
mov byte [edx + eax], 0
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
push 0x4509c5
call sub.KERNEL32.dll_WritePrivateProfileSectionA
mov eax, dword [ebp - 0x10]
push eax
call fcn.0040b2e8
pop ecx
cmp dword [ebp - 4], 0
je 0x42b2bf
push 0x4509a6
mov edx, dword [ebp + 0x14]
push edx
call fcn.0040123c
add esp, 8
lea ecx, [ebp - 0x118]
push ecx
mov eax, dword [ebp + 0x14]
push eax
call fcn.00401348
pop ecx
add eax, dword [ebp + 0x14]
push eax
call fcn.0040123c
add esp, 8
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret