Function at 0x42b25f
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a3f1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00404cc0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00404cc0
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 4
jg 0x42b2b2
cmp dword [ebp + 8], 0
jne 0x42b2d2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0045035d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0045035d
jmp 0x42b561
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
sub ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 8
ja case.default.0x42b2ee
mov edx, dword [ebp - 0x28]
jmp dword [edx*4 + 0x42b571]
mov eax, dword [ebp - 0x24]
add eax, 0x424
mov dword [ebp - 0x14], eax
jmp 0x42b396
mov ecx, dword [ebp - 0x24]
add ecx, 0x428
mov dword [ebp - 0x14], ecx
jmp 0x42b396
mov edx, dword [ebp - 0x24]
add edx, 0x42c
mov dword [ebp - 0x14], edx
jmp 0x42b396
mov eax, dword [ebp - 0x24]
add eax, 0x430
mov dword [ebp - 0x14], eax
jmp 0x42b396
mov ecx, dword [ebp - 0x24]
add ecx, 0x434
mov dword [ebp - 0x14], ecx
jmp 0x42b396
mov edx, dword [ebp - 0x24]
add edx, 0x438
mov dword [ebp - 0x14], edx
jmp 0x42b396
mov eax, dword [ebp - 0x24]
add eax, 0x43c
mov dword [ebp - 0x14], eax
jmp 0x42b396
mov ecx, dword [ebp - 0x24]
add ecx, 0x440
mov dword [ebp - 0x14], ecx
jmp 0x42b396
mov edx, dword [ebp - 0x24]
add edx, 0x444
mov dword [ebp - 0x14], edx
jmp 0x42b396
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0045035d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0045035d
jmp 0x42b561
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x2a4], 0
jne 0x42b492
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.0042b1c7
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
lea ecx, [eax + edx*4 + 0x444]
call fcn.00450496
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0045035d
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [str.hexfile]
push edx
push 0x46f770
lea eax, [ebp - 0x10]
push eax
call fcn.0044b146
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x490]
push eax
push 0x46f778
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42b464
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
test edx, edx
je 0x42b464
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x1c]
call fcn.00404d20
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x42b546
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x2a4], 1
jne 0x42b546
mov edx, dword [str.binfile]
push edx
push 0x46f780
lea eax, [ebp - 0x10]
push eax
call fcn.0044b146
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x490]
push eax
push 0x46f784
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0044b146
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42b51d
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
test edx, edx
je 0x42b51d
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x1c]
call fcn.00404d20
push eax
mov ecx, dword [ebp - 0x14]
call fcn.00404d20
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0045035d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0045035d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4