Function at 0x5884c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x607df5
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x10], 0
je 0x5888a4
cmp dword [ecx + 0x14], 8
jb 0x5884fa
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00416940
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 1
call fcn.00409c60
test eax, eax
je 0x5888b6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
mov eax, 0x624ccc
lea ecx, [ebp - 0x14]
test eax, 0xffff0000
jne 0x58855b
movzx eax, ax
push eax
call fcn.004091a0
jmp 0x588567
push 1
push 0x624ccc
call fcn.004097d0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x40]
call fcn.00588200
add esp, 4
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x58859e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x3c]
sub ebx, 1
mov dword [ebp - 0x20], ebx
js 0x588879
nop dword [eax]
call fcn.00409c60
test eax, eax
je 0x5888b6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 6
test ebx, ebx
je 0x58877a
mov edx, dword [ebp - 0x3c]
cmp ebx, edx
jge 0x5888ca
mov esi, dword [ebp - 0x40]
mov eax, dword [esi + ebx*4]
lea ecx, [esi + ebx*4]
mov dword [ebp - 0x10], ecx
mov eax, dword [eax - 0xc]
test eax, eax
je 0x588658
add eax, 0xffffffff
js 0x5888c0
mov edx, dword [ecx]
cmp eax, dword [edx - 0xc]
mov edx, dword [ebp - 0x3c]
jg 0x5888c0
mov ecx, dword [ecx]
cmp word [ecx + eax*2], 0x5c
mov ecx, dword [ebp - 0x10]
jne 0x588658
mov esi, dword [ecx]
mov eax, dword [esi - 0xc]
dec eax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0040e7d0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
push eax
call fcn.0041b220
mov byte [ebp - 4], 6
mov eax, edi
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x588652
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
dec ebx
jmp 0x588778
lea edi, [ebx - 1]
cmp ebx, 1
jbe 0x588786
test edi, edi
js 0x5888ca
cmp edi, edx
jge 0x5888ca
mov ecx, dword [esi + edi*4]
sub ecx, 0x10
call fcn.00409460
lea esi, [eax + 0x10]
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0xa
mov ebx, dword [esi - 0xc]
test ebx, ebx
je 0x588749
lea eax, [ebx - 1]
test eax, eax
js 0x5888c0
cmp eax, ebx
jg 0x5888c0
cmp word [esi + eax*2], 0x5c
jne 0x588749
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp ebx, dword [eax - 0xc]
jg 0x588749
mov ecx, dword [ebp - 0x14]
cmp ebx, dword [ecx - 0xc]
jl 0x588749
cmp dword [esi - 4], 1
jle 0x5886e5
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004095d0
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov eax, dword [ecx]
jmp 0x5886e8
mov ecx, dword [ebp - 0x10]
cmp dword [eax - 4], 1
jle 0x5886fb
push dword [eax - 0xc]
call fcn.004095d0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
push ebx
push esi
push eax
call fcn.00599ae4
add esp, 0xc
test eax, eax
jne 0x588747
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x1c]
dec eax
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040e7d0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x14]
push eax
call fcn.0041b220
mov byte [ebp - 4], 0xa
or eax, 0xffffffff
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x588747
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x588749
mov byte [ebp - 4], 6
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x588765
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
dec edi
test edi, edi
jle 0x588775
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
jmp 0x588664
mov ebx, dword [ebp - 0x20]
test ebx, ebx
js 0x5888ca
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
cmp ebx, edx
jge 0x5888ca
mov eax, dword [esi + ebx*4]
lea edi, [esi + ebx*4]
cmp dword [eax - 0xc], 0
je 0x58884c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00409c60
test eax, eax
je 0x5888b6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0x10
push 0x5c
push dword [edi]
call fcn.00591bd6
add esp, 8
test eax, eax
je 0x58881b
sub eax, dword [edi]
sar eax, 1
cmp eax, 0xffffffff
je 0x58881b
push eax
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
call fcn.0040e7d0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x18]
push eax
call fcn.0041b220
mov byte [ebp - 4], 0x10
or edi, 0xffffffff
mov edx, dword [ebp - 0x34]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x588816
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
jmp 0x58881e
or edi, 0xffffffff
cmp dword [esi - 0xc], 0
je 0x58882f
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00588350
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x58884f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x58884f
or edi, 0xffffffff
mov byte [ebp - 4], 1
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x58886d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
sub ebx, 1
mov dword [ebp - 0x20], ebx
jns 0x5885b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.004ea3f0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x5888a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409920
push 0x80070057
call fcn.00409920
push 1
push 0xc000008c
call fcn.00412920
int3