Function at 0x418470
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x42f4
call fcn.0068e250
mov eax, dword [0x79a200]
xor eax, esp
mov dword [esp + 0x42f0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push str.ApplyDeleteList
mov dword [esp + 0x20], edi
call fcn.0041d700
mov ecx, dword [edi + 0x2ac]
mov eax, 0x67b23a55
sub ecx, dword [edi + 0x2a8]
add esp, 4
mov ebx, dword [esi + 0x58]
imul ecx
mov ecx, dword [esi + 0x5c]
mov eax, 0x2aaaaaab
sar edx, 7
sub ecx, ebx
mov edi, edx
shr edi, 0x1f
add edi, edx
imul ecx
xor ecx, ecx
sar edx, 2
mov eax, edx
mov dword [esp + 0x14], ecx
shr eax, 0x1f
add edi, edx
add eax, edi
mov dword [esi + 0x8c], eax
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 0x5c]
sub ecx, ebx
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x418819
xor edi, edi
mov dword [esp + 0x10], edi
nop
add edi, ebx
cmp dword [edi + 0x14], 0xf
jbe 0x41851a
mov edi, dword [edi]
test edi, edi
je 0x418582
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418523
sub ecx, edx
push edi
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x230]
push eax
call fcn.006a681f
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418546
sub ecx, edx
lea eax, [ecx - 1]
test eax, eax
js 0x41857a
nop word [eax + eax]
mov cl, byte [eax + edi]
cmp cl, 0x5c
je 0x418684
cmp cl, 0x2f
je 0x418684
sub eax, 1
jns 0x418560
mov byte [esp + 0x228], 0
mov edx, dword [esi + 0x58]
add edx, dword [esp + 0x10]
cmp dword [edx + 0x14], 0xf
jbe 0x418591
mov edx, dword [edx]
test edx, edx
je 0x4185ee
mov ecx, edx
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4185a0
sub ecx, edi
add ecx, 0xffffffff
mov ebx, ecx
js 0x4185cb
mov al, byte [edx + ecx]
lea edi, [edx + ecx]
cmp al, 0x5c
je 0x418691
cmp al, 0x2f
je 0x418691
sub ecx, 1
jns 0x4185b0
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4185d0
sub ecx, edi
push edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x2298]
push eax
call fcn.006a681f
add esp, 0xc
mov eax, dword [esi + 0x50]
xor edi, edi
mov ecx, dword [esi + 0x4c]
sub eax, ecx
mov dword [esp + 0x18], 1
test eax, 0xfffffffc
jle 0x4186e0
mov edx, ecx
nop dword [eax]
lea ebx, [edi*4]
mov eax, dword [ebx + ecx]
cmp dword [eax + 8], 0xffffffff
je 0x41863b
push 0x7726c0
add eax, 0x11c
push 0x104
push eax
call fcn.006a681f
mov edx, dword [esi + 0x4c]
add esp, 0xc
cmp byte [esp + 0x228], 0
je 0x418655
mov ecx, dword [ebx + edx]
lea eax, [esp + 0x228]
push eax
call fcn.00432cb0
mov ecx, dword [esi + 0x4c]
lea eax, [esp + 0x2290]
push eax
mov ecx, dword [ecx + ebx]
call fcn.00432b20
test al, al
jne 0x4186b2
mov ecx, dword [esi + 0x4c]
inc edi
mov eax, dword [esi + 0x50]
mov edx, ecx
sub eax, ecx
sar eax, 2
cmp edi, eax
jl 0x418610
mov eax, dword [esp + 0x18]
jmp 0x4186e5
mov byte [esp + eax + 0x229], 0
jmp 0x418582
sub ebx, ecx
lea eax, [edi + 1]
push ebx
push eax
lea eax, [esp + 0x2298]
push eax
call fcn.00690890
mov byte [esp + ebx + 0x229c], 0
jmp 0x4185eb
inc dword [esi + 0x88]
mov eax, dword [esi + 0x88]
cdq
mov dword [0x7adda8], eax
mov dword [0x7addac], edx
mov eax, dword [esi + 0x8c]
cdq
mov dword [0x7addb0], eax
xor eax, eax
mov dword [0x7addb4], edx
jmp 0x4186e5
mov eax, 1
test eax, eax
je 0x4187e1
push 0x100
lea eax, [esp + 0x12c]
push 0
push eax
call fcn.00690e10
mov edx, dword [esi + 0x58]
add esp, 0xc
mov edi, dword [esp + 0x10]
add edx, edi
cmp dword [edx + 0x14], 0xf
jbe 0x418715
mov edx, dword [edx]
test edx, edx
je 0x418765
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418720
sub ecx, edi
lea eax, [ecx - 1]
mov edi, eax
test eax, eax
js 0x418761
cmp byte [eax + edx], 0x2e
lea ecx, [eax + edx]
je 0x418742
sub eax, 1
jns 0x418732
jmp 0x418761
sub edi, eax
lea eax, [ecx + 1]
push edi
push eax
lea eax, [esp + 0x130]
push eax
call fcn.00690890
add esp, 0xc
mov byte [esp + edi + 0x128], 0
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x128]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418770
mov eax, dword [esi + 0x58]
sub ecx, edx
jne 0x418791
cmp dword [eax + edi + 0x14], 0xf
lea ecx, [eax + edi]
jbe 0x41878a
mov ecx, dword [ecx]
call fcn.0042b420
jmp 0x4187e5
add eax, edi
cmp dword [eax + 0x14], 0xf
jbe 0x41879b
mov eax, dword [eax]
push eax
lea eax, [esp + 0x24]
push str.._s
push eax
call fcn.0041a4b0
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
inc dword [esi + 0x88]
mov eax, dword [esi + 0x88]
cdq
mov dword [0x7adda8], eax
mov dword [0x7addac], edx
mov eax, dword [esi + 0x8c]
cdq
mov dword [0x7addb0], eax
mov dword [0x7addb4], edx
jmp 0x4187e5
mov edi, dword [esp + 0x10]
cmp dword [esi + 0x48], 0
jne 0x418835
mov ecx, dword [esi + 0x5c]
mov eax, 0x2aaaaaab
mov ebx, dword [esi + 0x58]
add edi, 0x18
inc dword [esp + 0x14]
sub ecx, ebx
imul ecx
mov dword [esp + 0x10], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jl 0x418510
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x42f0]
xor ecx, esp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x50]
xor edi, edi
mov ecx, dword [esi + 0x4c]
sub eax, ecx
test eax, 0xfffffffc
jle 0x418878
mov ecx, dword [ecx + edi*4]
call fcn.00430f20
mov eax, dword [esi + 0x4c]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x418868
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi + 0x4c]
mov dword [eax + edi*4], 0
mov eax, dword [esi + 0x50]
inc edi
mov ecx, dword [esi + 0x4c]
sub eax, ecx
sar eax, 2
cmp edi, eax
jl 0x418846
mov ecx, dword [esp + 0x1c]
call fcn.00430f20
mov ecx, dword [esp + 0x42fc]
mov eax, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0068d76f
mov esp, ebp
pop ebp
ret 4