Function at 0x4201c8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4201d0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4204e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [eax + 0x18]
mov eax, dword [0x419438]
call fcn.00419e28
mov byte [ebp - 0x11], 2
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 4]
mov eax, dword [0x419438]
call fcn.00419e48
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
call fcn.00408480
mov ecx, eax
mov eax, dword [0x4191e8]
pop edx
call fcn.00419dd4
test ax, ax
je 0x420464
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test ax, ax
je 0x42045c
lea edx, [ebp - 0xc]
mov eax, dword [0x41907c]
call fcn.00419d9c
xor eax, eax
push ebp
push 0x4203b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x11], 1
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [0x41663c]
call fcn.00418990
test al, al
je 0x4203a7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp ax, 1
sbb eax, eax
inc eax
call fcn.00412e68
lea eax, [ebp - 0x30]
call fcn.00405f7c
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [eax]
call dword [eax + 0x44]
call fcn.00408584
mov eax, dword [ebp - 0x30]
xor edx, edx
call fcn.004062a8
je 0x4202e8
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov eax, dword [0x41663c]
call fcn.0041893c
mov ebx, eax
jmp 0x4202ea
xor ebx, ebx
test ebx, ebx
jle 0x420363
mov byte [ebp - 0x11], 2
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp ax, 1
sbb eax, eax
inc eax
call fcn.00412e68
cmp dword [ebp - 0x24], 0
jne 0x420327
cmp dword [ebp - 0x28], 0
jne 0x420327
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
push eax
mov eax, ebx
cdq
push edx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 4]
mov eax, dword [0x419438]
call fcn.00419ec4
mov eax, dword [ebp - 0x34]
call fcn.0041fe04
pop ecx
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
sete al
call fcn.00412e68
jmp 0x420279
mov byte [ebp - 0x11], 2
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x1c]
cmp ax, 1
sbb eax, eax
inc eax
call fcn.00412e68
mov byte [ebp - 0x11], 3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
cmp ax, 1
sbb eax, eax
neg eax
call fcn.00412e68
jmp 0x420279
mov byte [ebp - 0x11], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4203bf
lea eax, [ebp - 0xc]
call fcn.00408480
cmp byte [ebp - 0x11], 0
jne 0x4203e1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test ax, ax
jne 0x4203ea
mov byte [ebp - 0x11], 2
jmp 0x4203ea
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
cmp byte [ebp - 0x11], 0
je 0x42045c
cmp dword [ebp - 0x24], 0
jne 0x4203fe
cmp dword [ebp - 0x28], 0
jbe 0x42045c
jmp 0x420400
jle 0x42045c
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [0x419438]
call fcn.00419ee8
jmp 0x42044a
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x24]
jne 0x420424
cmp eax, dword [ebp - 0x28]
jb 0x42044a
jmp 0x420426
jl 0x42044a
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 4]
mov eax, dword [0x419438]
call fcn.00419ec4
mov eax, dword [ebp - 0x38]
call fcn.00406150
push eax
call sub.kernel32.dll_DeleteFileW
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test ax, ax
jne 0x420412
lea eax, [ebp - 8]
call fcn.00408480
movzx eax, byte [ebp - 0x11]
dec al
je 0x420472
dec al
je 0x420485
jmp 0x420496
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [0x42a444]
call fcn.0041f1a8
jmp 0x420496
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [0x42a448]
call fcn.0041f1a8
cmp byte [ebp - 0x11], 3
je 0x4204a7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.0041f6ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4204e9
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00405f94
lea eax, [ebp - 0x10]
call fcn.00408480
lea eax, [ebp - 0xc]
call fcn.00408480
lea eax, [ebp - 8]
call fcn.00408480
lea eax, [ebp - 4]
call fcn.00405f7c
ret