Function at 0x42b550
Capabilities:
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42b597
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
call fcn.0048b8f7
add esp, 4
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004af7d0
add esp, 0xc
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0048b8f7
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
lea ecx, [eax + eax + 2]
push ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.004af7d0
add esp, 0xc
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.0040f8e0
add esp, 8
mov eax, dword [ebp - 8]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004af7d0
add esp, 0xc
mov eax, dword [ebp - 8]
lea ecx, [eax + eax + 1]
push ecx
call fcn.0048b8f7
add esp, 4
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
lea ecx, [eax + eax + 1]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004af7d0
add esp, 0xc
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0040f970
add esp, 0xc
push 0x54db68
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b4978
add esp, 8
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x42b71d
mov byte [ebp - 0x21], 0xef
mov eax, dword [ebp - 0x20]
push eax
push 1
push 1
lea ecx, [ebp - 0x21]
push ecx
call fcn.004b4830
add esp, 0x10
mov byte [ebp - 0x21], 0xbb
mov eax, dword [ebp - 0x20]
push eax
push 1
push 1
lea ecx, [ebp - 0x21]
push ecx
call fcn.004b4830
add esp, 0x10
mov byte [ebp - 0x21], 0xbf
mov eax, dword [ebp - 0x20]
push eax
push 1
push 1
lea ecx, [ebp - 0x21]
push ecx
call fcn.004b4830
add esp, 0x10
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 8]
sub ecx, 1
push ecx
push 1
mov edx, dword [ebp - 0x1c]
push edx
call fcn.004b4830
add esp, 0x10
mov eax, dword [ebp - 0x20]
push eax
call fcn.004b4652
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.0048b8ec
add esp, 4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.0048b8ec
add esp, 4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0048b8ec
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8