Function at 0x430200
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x488fdc]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 0x18], eax
push 0x4854f8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00448c8e
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x430308
mov edx, dword [ebp + 8]
push edx
push str.Unable_To_Open__s_for_Compression
lea eax, [ebp - 0x88]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
cmp dword [ebp - 0x18], 0
jne 0x430308
push 0
push 0x485520
lea ecx, [ebp - 0x88]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x485528
mov edx, dword [ebp + 0xc]
push edx
call fcn.00448c8e
add esp, 8
mov dword [ebp - 0xcc], eax
push 0x38
push 0
lea eax, [ebp - 0xc4]
push eax
call fcn.004456b0
add esp, 0xc
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
push 0x38
push 0x48552c
push 0xffffffffffffffff
lea ecx, [ebp - 0xc4]
push ecx
call fcn.00430d80
add esp, 0x10
push 2
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00448b56
add esp, 0xc
test eax, eax
jne 0x43038b
mov eax, dword [ebp - 0x14]
push eax
call fcn.00448ecd
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x3e8
mov dword [ebp - 4], ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call fcn.00448b56
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call fcn.00448ca5
add esp, 4
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00448ca5
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x8c], 0
je 0x4303d7
cmp dword [ebp - 0xc], 0
jne 0x430410
cmp dword [ebp - 0x18], 0
jne 0x4303f1
push 0
push str.ERROR
push str.UNABLE_TO_ALLOCATE_ENOUGH_MEMORY_FOR_COMPRESSION
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp dword [ebp - 0x8c], 0
je 0x430409
mov edx, dword [ebp - 0x8c]
push edx
call fcn.004485b5
add esp, 4
xor eax, eax
jmp 0x4304ef
mov dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xb4], ecx
cmp dword [ebp - 0xc0], 0
jne 0x430460
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp - 0x8c]
push edx
call fcn.00448aaf
add esp, 0x10
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jbe 0x4304a7
push 4
lea eax, [ebp - 0xc4]
push eax
call fcn.00431660
add esp, 8
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xb4]
mov dword [ebp - 8], ecx
je 0x4304a7
mov edx, dword [ebp - 0xcc]
push edx
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004463bd
add esp, 0x10
mov edx, dword [ebp - 0xc]
push edx
call fcn.004485b5
add esp, 4
mov eax, dword [ebp - 0x8c]
push eax
call fcn.004485b5
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004484c1
add esp, 4
mov edx, dword [ebp - 0xcc]
push edx
call fcn.004484c1
add esp, 4
lea eax, [ebp - 0xc4]
push eax
call fcn.004325d0
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0044545a
mov esp, ebp
pop ebp
ret