Function at 0x40ab30
Capabilities:
Check if file exists
Delete file
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x441e76
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x452284]
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
mov eax, dword [ebp + 8]
add eax, 0x1a4
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov ebx, 0x4468bc
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x68], eax
call fcn.0040fe00
push eax
mov ebx, str.2.0_0.crx
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040fe00
add esp, 8
mov ebx, 8
mov byte [ebp - 4], 3
cmp dword [ebp - 0x88], ebx
jb 0x40abb4
mov eax, dword [ebp - 0x9c]
push eax
call fcn.00438d27
add esp, 4
mov eax, dword [ebp - 0x28]
xor ecx, ecx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], edi
mov word [ebp - 0x9c], cx
cmp dword [ebp - 0x14], ebx
jae 0x40abd8
lea eax, [ebp - 0x28]
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x70], esi
cmp esi, 0xffffffff
jne 0x40ac39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], ebx
jb 0x40ac10
mov edx, dword [ebp - 0x28]
push edx
call fcn.00438d27
add esp, 4
xor eax, eax
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
jb 0x40ac32
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00438d27
add esp, 4
xor al, al
jmp 0x40ae51
lea edx, [ebp - 0x74]
push edx
push esi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x78], eax
cmp eax, 0x237
jbe 0x40ae15
push eax
call fcn.00437be0
mov edx, dword [ebp - 0x78]
add esp, 4
push edi
lea ecx, [ebp - 0x80]
push ecx
push edx
push eax
push esi
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x80], edi
lea ebx, [eax + 0x235]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp byte [ebx + 1], 0x50
jne 0x40ae6f
cmp byte [ebx + 2], 0x4b
jne 0x40ae6f
mov eax, dword [ebp - 0x68]
mov edi, dword [ebp - 0x78]
push eax
mov ebx, 0x4468bc
lea esi, [ebp - 0xbc]
add edi, 0xfffffdcb
mov dword [ebp - 0x84], 0
call fcn.0040fe00
push eax
mov ebx, 0x4468c0
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0040fe00
add esp, 8
lea esi, [ebp - 0xbc]
mov byte [ebp - 4], 6
call fcn.004025e0
mov eax, dword [ebp - 0x44]
mov ebx, 8
cmp dword [ebp - 0x30], ebx
jae 0x40aced
lea eax, [ebp - 0x44]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x84]
push ecx
push edi
add eax, 0x235
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x30], ebx
jae 0x40ad34
lea ecx, [ebp - 0x44]
call fcn.00410530
sub esp, 0x1c
mov esi, eax
mov eax, str.2.0_0
mov ecx, esp
mov dword [ebp - 0x68], esp
call fcn.00402570
sub esp, 0x1c
mov byte [ebp - 4], 7
mov eax, str.dpjdhmddlcfchlecfpjfgbaccbnbgfdg
mov ecx, esp
mov dword [ebp - 0x7c], esp
call fcn.00402570
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.00408c20
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x60]
cmp dword [ebp - 0x4c], ebx
jae 0x40ad7d
lea edi, [ebp - 0x60]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40ad8f
mov ecx, edi
call fcn.00409dc0
mov eax, dword [ebp - 0x60]
cmp dword [ebp - 0x4c], ebx
jae 0x40ad9a
lea eax, [ebp - 0x60]
push eax
push esi
call fcn.00410a30
add esp, 8
mov eax, esi
call fcn.00410be0
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], ebx
jae 0x40adb6
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0x1c
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x7c], esp
push edx
call fcn.00402510
sub esp, 0x1c
mov byte [ebp - 4], 9
lea eax, [ebp - 0x64]
mov esi, esp
mov dword [ebp - 0x68], esp
push eax
call fcn.004025b0
mov byte [ebp - 4], bl
call fcn.00409f60
lea esi, [ebp - 0x64]
call fcn.004025e0
lea esi, [ebp - 0x48]
call fcn.004025e0
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x40ae0b
push eax
call fcn.00438d1c
add esp, 4
mov esi, dword [ebp - 0x70]
mov ebx, 8
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], ebx
jb 0x40ae2d
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00438d27
add esp, 4
xor edx, edx
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], dx
jb 0x40ae4f
mov eax, dword [ebp + 0x10]
push eax
call fcn.00438d27
add esp, 4
mov al, 1
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.00425608
mov esp, ebp
pop ebp
ret 0x20
cmp dword [ebp - 0x14], 8
jb 0x40ae81
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00438d27
add esp, 4
xor edx, edx
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], dx
jb 0x40ac32
mov eax, dword [ebp + 0x10]
push eax
call fcn.00438d27
add esp, 4
xor al, al
jmp 0x40ae51