Function at 0x410570
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43bd0b
mov eax, dword fs:[0]
push eax
mov eax, 0x8010
call fcn.00420a10
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x800c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
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.00411c35
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4105e3
push 0x80004005
call fcn.004011d0
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 0x43d570
push edi
call fcn.0042065d
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x410657
inc esi
cmp esi, 0x12c
jg 0x410627
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410600
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.00401f40
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
jmp 0x410763
cmp esi, 5
jle 0x410681
push esi
push edi
lea eax, [esp + 0x1c]
push str.CompressFile_SrcFile__s__Time__d_
push eax
call fcn.00401f40
mov ecx, dword [esp + 0x24]
add esp, 0x10
push 0
push ecx
mov ecx, 0x44d3c9
call fcn.0040bc50
xor esi, esi
mov edi, dword [esp + 0x1c]
push 0x43d590
push edi
call fcn.00435a60
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4106de
inc esi
cmp esi, 0x12c
jg 0x4106ae
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x410683
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.00401f40
mov eax, dword [esp + 0x24]
add esp, 0x10
push 0
push eax
mov ecx, 0x44d3c9
call fcn.0040bc50
jmp 0x410763
cmp esi, 5
jle 0x410708
push esi
push edi
lea ecx, [esp + 0x1c]
push str.CompressFile_DestFile__s__Time__d_
push ecx
call fcn.00401f40
mov edx, dword [esp + 0x24]
add esp, 0x10
push 0
push edx
mov ecx, 0x44d3c9
call fcn.0040bc50
push ebx
call fcn.00420274
add esp, 4
test eax, eax
jne 0x410763
mov dword [esp + 0x18], 1
lea ecx, [ecx]
push ebx
push 0x8000
lea eax, [esp + 0x28]
push 1
push eax
call fcn.0042057c
add esp, 0x10
test eax, eax
jle 0x410763
push eax
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.00436260
add esp, 0xc
test eax, eax
je 0x41075b
push ebx
call fcn.00420274
add esp, 4
test eax, eax
je 0x410720
jmp 0x410763
mov dword [esp + 0x18], 0
test ebx, ebx
je 0x410770
push ebx
call fcn.00420014
add esp, 4
test ebp, ebp
je 0x41077d
push ebp
call fcn.00436440
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 0x4107a8
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.0041eff4
add esp, 0x801c
ret