Function at 0x409f40
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b210f
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x639210]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [0x649a34]
lea ecx, [ebp - 0xdc]
mov edi, dword [ebp + 8]
mov esi, 0x649650
push str.CDebugLog_Zip_files:_n
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], ebx
call fcn.004022c0
xor eax, eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], 0
cmp eax, 2
jge 0x40a256
push 0x1a8
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0056c410
add esp, 0xc
lea ecx, [ebp - 0x284]
call fcn.0058aec0
add esi, 0x208
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x409ff2
mov eax, dword [esi]
jmp 0x409ff4
mov eax, esi
push 0
push eax
call fcn.00569510
add esp, 8
cmp eax, 0xffffffff
je 0x40a01e
cmp dword [0x64986c], 8
mov eax, 0x649858
push 0
cmovae eax, dword [0x649858]
push 0
push eax
jmp 0x40a02b
cmp dword [esi + 0x14], 8
jb 0x40a026
mov esi, dword [esi]
push 0
push 2
push esi
lea ecx, [ebp - 0x284]
call fcn.0058e790
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ebx, ecx
jl 0x40a063
mov eax, ebx
sub eax, ecx
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.0040a3b0
jmp 0x40a093
push 0
lea eax, [ebp - 0x284]
push eax
call fcn.0040a3b0
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ebx
jb 0x40a093
push ebx
mov ecx, edi
call fcn.0040a6f0
xor eax, eax
mov dword [ebp - 0x68], 7
mov dword [ebp - 0x6c], 0
mov word [ebp - 0x7c], ax
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x64], al
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], eax
mov word [ebp - 0x4c], ax
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x34], al
push eax
push 0x6079a0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.0041d070
mov byte [ebp - 4], 7
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 4]
sub ecx, dword [edi]
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor esi, esi
mov dword [ebp - 0x298], ecx
cmp esi, ecx
jge 0x40a230
cmp esi, ebx
lea ebx, [esi + esi*2]
jge 0x40a1c3
mov ecx, dword [edi]
lea eax, [ebp - 0x2fc]
push 1
push 0x60799c
shl ebx, 5
add ecx, ebx
push eax
call fcn.00402bf0
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00402530
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 7
call fcn.00402220
cmp dword [ebp - 0x6c], 0
je 0x40a21e
mov eax, dword [edi]
add eax, ebx
push eax
call fcn.00404c50
test eax, eax
je 0x40a21e
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x7c]
mov eax, dword [edi]
cmovae ecx, dword [ebp - 0x7c]
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x40a17f
mov eax, dword [eax]
push 0
push 0x10000
push 7
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x284]
call fcn.0058c570
mov eax, dword [edi]
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x40a1a3
mov eax, dword [eax]
push eax
push 0x60446c
lea eax, [ebp - 0x2fc]
push eax
push 0x6495d0
call fcn.00410a60
add esp, 0x10
mov byte [ebp - 4], 9
jmp 0x40a1f0
mov eax, dword [edi]
shl ebx, 5
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x40a1d2
mov eax, dword [eax]
push eax
push 0x60447c
lea eax, [ebp - 0x2fc]
push eax
push 0x6495d0
call fcn.00410a60
add esp, 0x10
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xdc]
call fcn.00402580
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 7
call fcn.00402220
mov eax, dword [edi]
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x40a217
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, dword [ebp - 0x28c]
inc esi
mov ecx, dword [ebp - 0x298]
jmp 0x40a103
push 0
push 0
lea ecx, [ebp - 0x284]
call fcn.0058c780
lea ecx, [ebp - 0x7c]
call fcn.00402220
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 1
call fcn.0058b350
cmp dword [ebp - 0xc8], 8
lea eax, [ebp - 0xdc]
cmovae eax, dword [ebp - 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0xdc]
call fcn.00402220
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00567455
mov esp, ebp
pop ebp
ret 4