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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46cb64
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.0040e500
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0040e500
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 8
jg 0x43a07d
cmp dword [ebp + 8], 0
jne 0x43a09d
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004621ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004621ea
jmp 0x43a32c
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.0x43a0b9
mov edx, dword [ebp - 0x28]
jmp dword [edx*4 + 0x43a33c]
mov eax, dword [ebp - 0x24]
add eax, 0x4e0
mov dword [ebp - 0x14], eax
jmp 0x43a161
mov ecx, dword [ebp - 0x24]
add ecx, 0x4e4
mov dword [ebp - 0x14], ecx
jmp 0x43a161
mov edx, dword [ebp - 0x24]
add edx, 0x4e8
mov dword [ebp - 0x14], edx
jmp 0x43a161
mov eax, dword [ebp - 0x24]
add eax, 0x4ec
mov dword [ebp - 0x14], eax
jmp 0x43a161
mov ecx, dword [ebp - 0x24]
add ecx, 0x4f0
mov dword [ebp - 0x14], ecx
jmp 0x43a161
mov edx, dword [ebp - 0x24]
add edx, 0x4f4
mov dword [ebp - 0x14], edx
jmp 0x43a161
mov eax, dword [ebp - 0x24]
add eax, 0x4f8
mov dword [ebp - 0x14], eax
jmp 0x43a161
mov ecx, dword [ebp - 0x24]
add ecx, 0x4fc
mov dword [ebp - 0x14], ecx
jmp 0x43a161
mov edx, dword [ebp - 0x24]
add edx, 0x500
mov dword [ebp - 0x14], edx
jmp 0x43a161
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004621ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004621ea
jmp 0x43a32c
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x35c], 0
jne 0x43a25d
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x24]
call fcn.00439f92
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 + 0x500]
call fcn.00462323
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004621ea
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [str.hexfile]
push edx
push 0x486260
lea eax, [ebp - 0x10]
push eax
call fcn.0045cfab
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x570]
push eax
push 0x486268
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0045cfab
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0040e520
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a22f
lea ecx, [ebp - 0x10]
call fcn.0040e520
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 0x43a22f
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040e520
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
jmp 0x43a311
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x35c], 1
jne 0x43a311
mov edx, dword [str.binfile.bin]
push edx
push 0x486270
lea eax, [ebp - 0x10]
push eax
call fcn.0045cfab
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x570]
push eax
push 0x486274
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0045cfab
add esp, 0x10
lea ecx, [ebp - 0x10]
call fcn.0040e520
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x43a2e8
lea ecx, [ebp - 0x10]
call fcn.0040e520
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 0x43a2e8
mov eax, dword [ebp - 0x18]
and al, 0xfe
push eax
lea ecx, [ebp - 0x10]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x10]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040e520
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0040e520
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004621ea
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004621ea
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4