Function at 0x40eae0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43a0eb
mov eax, dword fs:[0]
push eax
mov eax, 0x8010
call fcn.0041ebf0
mov eax, dword [0x449cd0]
xor eax, esp
mov dword [esp + 0x800c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449cd0]
xor eax, esp
push eax
lea eax, [esp + 0x8024]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8038]
mov edi, dword [esp + 0x8034]
xor esi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
xor ebp, ebp
call fcn.00410194
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40eb53
push 0x80004005
call fcn.00401330
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x802c], esi
lea ebx, [ebx]
push 0x43b560
push edi
call fcn.0041e83b
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x40ebc7
inc esi
cmp esi, 0x12c
jg 0x40eb97
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40eb70
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea ecx, [esp + 0x1c]
push str.CompressFile_SrcFile__s__Fail__d_
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
jmp 0x40ecd3
cmp esi, 5
jle 0x40ebf1
push esi
push edi
lea eax, [esp + 0x1c]
push str.CompressFile_SrcFile__s__Time__d_
push eax
call fcn.00401ce0
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push ecx
mov ecx, 0x44b3c5
call fcn.0040aa20
xor esi, esi
mov edi, dword [esp + 0x1c]
push 0x43b580
push edi
call fcn.00433fa0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x40ec4e
inc esi
cmp esi, 0x12c
jg 0x40ec1e
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40ebf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea edx, [esp + 0x1c]
push str.CompressFile_DestFile__s__Fail__d_
push edx
call fcn.00401ce0
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
mov ecx, 0x44b3c5
call fcn.0040aa20
jmp 0x40ecd3
cmp esi, 5
jle 0x40ec78
push esi
push edi
lea ecx, [esp + 0x1c]
push str.CompressFile_DestFile__s__Time__d_
push ecx
call fcn.00401ce0
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
push edx
mov ecx, 0x44b3c5
call fcn.0040aa20
push ebx
call fcn.0041e452
add esp, 4
test eax, eax
jne 0x40ecd3
mov dword [esp + 0x18], 1
lea ecx, [ecx]
push ebx
push 0x8000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0041e75a
add esp, 0x10
test eax, eax
jle 0x40ecd3
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.004347a0
add esp, 0xc
test eax, eax
je 0x40eccb
push ebx
call fcn.0041e452
add esp, 4
test eax, eax
je 0x40ec90
jmp 0x40ecd3
mov dword [esp + 0x18], 0
test ebx, ebx
je 0x40ece0
push ebx
call fcn.0041e1f2
add esp, 4
test ebp, ebp
je 0x40eced
push ebp
call fcn.00434980
add esp, 4
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x802c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ed18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8024]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x800c]
xor ecx, esp
call fcn.0041d4f4
add esp, 0x801c
ret