Function at 0x40a690
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ffc1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x58deec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x14], 0
call fcn.00429feb
mov edi, 1
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], edi
call fcn.0040f790
push 0x541378
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x30], edi
call fcn.00405830
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004056a0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a71e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 0xc]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push edx
call fcn.00405830
lea ecx, [ebp - 0x38]
call fcn.0040f710
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040f890
cmp dword [ebp - 0x44], 2
jne 0x40a9bb
call fcn.0041e837
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40a765
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
push 0x54136c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.00405830
cmp dword [ebp - 0x44], 0
mov byte [ebp - 4], 5
jg 0x40a794
call fcn.004169da
mov ecx, dword [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.00409340
add esp, 0xc
mov esi, eax
push 0x54136c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.00405830
cmp dword [ebp - 0x44], 0
mov byte [ebp - 4], 7
jg 0x40a7c7
call fcn.004169da
mov ecx, dword [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0x18]
push edx
call fcn.00409340
push str..zip
push eax
lea eax, [ebp - 0x10]
mov bl, 8
push eax
mov byte [ebp - 4], bl
call fcn.00405750
mov ecx, dword [esi]
mov eax, dword [eax]
push ecx
push eax
mov byte [ebp - 4], 9
call fcn.00407120
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
add esp, 0x20
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a81d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a840
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a886
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a8a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x54136c
lea ecx, [ebp - 0x1c]
call fcn.00405830
cmp dword [ebp - 0x44], 0
mov bl, 0xa
mov byte [ebp - 4], bl
jg 0x40a8c6
call fcn.004169da
mov ecx, dword [ebp - 0x48]
push ecx
push eax
lea edx, [ebp - 0x20]
push edx
call fcn.00409340
push str..zip
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xb
call fcn.00405750
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a912
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a934
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a957
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [edi - 0x10]
push esi
call fcn.00405390
mov ebx, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40a98f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.0040f490
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.0042a229
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
push 0x5409a6
mov ecx, esi
call fcn.00405830
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 1
call fcn.0040f490
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0
call fcn.0042a229
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret