Function at 0x409850
Capabilities:
Delete file
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59acdf
mov eax, dword fs:[0]
push eax
sub esp, 0x2f0
mov eax, dword [0x618190]
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 [0x627e44]
lea ecx, [ebp - 0xdc]
mov edi, dword [ebp + 8]
mov esi, 0x627a60
push str.CDebugLog_Zip_files:_n
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x28c], ebx
call fcn.004021f0
xor eax, eax
mov dword [ebp - 0x290], eax
mov dword [ebp - 4], 0
cmp eax, 2
jge 0x409b65
push 0x1a8
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005557a0
add esp, 0xc
lea ecx, [ebp - 0x284]
call fcn.00573bd0
add esi, 0x208
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], 8
jb 0x409902
mov eax, dword [esi]
jmp 0x409904
mov eax, esi
push 0
push eax
call fcn.00552d70
add esp, 8
cmp eax, 0xffffffff
je 0x40992e
cmp dword [0x627c7c], 8
mov eax, 0x627c68
push 0
cmovae eax, dword [0x627c68]
push 0
push eax
jmp 0x40993b
cmp dword [esi + 0x14], 8
jb 0x409936
mov esi, dword [esi]
push 0
push 2
push esi
lea ecx, [ebp - 0x284]
call fcn.005774a0
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 0x409973
mov eax, ebx
sub eax, ecx
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.00409cb0
jmp 0x4099a3
push 0
lea eax, [ebp - 0x284]
push eax
call fcn.00409cb0
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 0x4099a3
push ebx
mov ecx, edi
call fcn.00409ff0
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 0x5ed1d8
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 6
call fcn.0041f200
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 0x409b3f
cmp esi, ebx
lea ebx, [esi + esi*2]
jge 0x409ad2
mov ecx, dword [edi]
lea eax, [ebp - 0x2fc]
shl ebx, 5
add ecx, ebx
push ecx
push 0x5ed1d4
push eax
call fcn.00402960
push eax
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 8
call fcn.00402400
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 7
call fcn.00402150
cmp dword [ebp - 0x6c], 0
je 0x409b2d
mov eax, dword [edi]
add eax, ebx
push eax
call fcn.004045b0
test eax, eax
je 0x409b2d
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 0x409a8e
mov eax, dword [eax]
push 0
push 0x10000
push 7
push 0xffffffffffffffff
push ecx
push eax
lea ecx, [ebp - 0x284]
call fcn.00575280
mov eax, dword [edi]
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x409ab2
mov eax, dword [eax]
push eax
push 0x5e9bcc
lea eax, [ebp - 0x2fc]
push eax
push 0x6279dc
call fcn.004134e0
add esp, 0x10
mov byte [ebp - 4], 9
jmp 0x409aff
mov eax, dword [edi]
shl ebx, 5
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x409ae1
mov eax, dword [eax]
push eax
push 0x5e9bdc
lea eax, [ebp - 0x2fc]
push eax
push 0x6279dc
call fcn.004134e0
add esp, 0x10
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xdc]
call fcn.00402450
lea ecx, [ebp - 0x2fc]
mov byte [ebp - 4], 7
call fcn.00402150
mov eax, dword [edi]
add eax, ebx
cmp dword [eax + 0x14], 8
jb 0x409b26
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 0x409a13
push 0
push 0
lea ecx, [ebp - 0x284]
call fcn.00575490
lea ecx, [ebp - 0x7c]
call fcn.00402150
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 1
call fcn.00574060
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.00402150
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.00550cb3
mov esp, ebp
pop ebp
ret 4