Function at 0x412f85
Capabilities:
Delete file

Disassembly:
mov eax, 0x452bb0
call fcn.0044ca14
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xb8]
call fcn.00412b8b
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x3c], 8
jb 0x412fb6
mov eax, dword [esi + 0x28]
jmp 0x412fb9
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x3c], 8
jb 0x412fcb
mov eax, dword [esi + 0x28]
jmp 0x412fce
lea eax, [esi + 0x28]
push ebx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.00420304
test al, al
jne 0x413002
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00420553
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
leave
ret 4
push ebx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x54], 0xf
call fcn.004019d2
lea edi, [esi + 0x108]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov ebx, dword [edi + 0xc]
lea esi, [ebp - 0x28]
mov dword [ebp - 0x34], edi
call fcn.004149b8
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp - 0x34]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x30]
call fcn.004149b8
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x413055
cmp eax, dword [ebp - 0x30]
je 0x41305a
call fcn.0043b0d6
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x4132c2
push dword [ebp - 0x1c]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
push eax
lea eax, [ebp - 0xd4]
push str.Completed.
push eax
mov byte [ebp - 4], 2
call fcn.00402faa
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.004016f1
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0xd4]
call fcn.004017a5
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a5
lea esi, [ebp - 0x14]
call fcn.004142d8
push dword [eax]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
jb 0x4130dc
mov eax, dword [eax + 4]
jmp 0x4130df
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Start
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 6
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.00401650
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 4
call fcn.004207ec
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a5
lea esi, [ebp - 0x14]
call fcn.004142d8
push dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 0x10
jb 0x41315a
mov eax, dword [eax + 4]
jmp 0x41315d
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Length
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 9
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401650
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 7
call fcn.004207ec
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a5
lea esi, [ebp - 0x14]
call fcn.004142d8
push dword [eax + 0x14]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x4131d8
mov eax, dword [eax + 4]
jmp 0x4131db
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.From
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401650
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xa
call fcn.004207ec
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a5
lea esi, [ebp - 0x14]
call fcn.004142d8
push dword [eax + 0x10]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x413256
mov eax, dword [eax + 4]
jmp 0x413259
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xe
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.UseTime
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401650
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xd
call fcn.004207ec
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a5
inc dword [ebp - 0x1c]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x14]
call fcn.0040c699
jmp 0x413039
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x12c]
add edi, 0x120
lea esi, [ebp - 0x30]
mov dword [ebp + 8], edi
call fcn.004149b8
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x10]
lea esi, [ebp - 0x30]
call fcn.004149b8
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x413307
cmp eax, dword [ebp - 0x30]
je 0x41330c
call fcn.0043b0d6
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x413478
push dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push eax
call fcn.00401f83
push eax
lea eax, [ebp - 0x50]
push str.UnCompleted.
push eax
mov byte [ebp - 4], 0x10
call fcn.00402faa
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x11
call fcn.004016f1
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x50]
call fcn.004017a5
push edi
push ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], bl
call fcn.004017a5
lea esi, [ebp - 0x14]
call fcn.004142d8
push dword [eax]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 0x10
jb 0x41338e
mov eax, dword [eax + 4]
jmp 0x413391
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x13
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Start
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401650
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x12
call fcn.004207ec
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a5
lea esi, [ebp - 0x14]
call fcn.004142d8
push dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x18], 0x10
jb 0x41340c
mov eax, dword [eax + 4]
jmp 0x41340f
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x16
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Length
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x6c]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.00401650
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x15
call fcn.004207ec
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a5
inc dword [ebp - 0x1c]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x14]
call fcn.0040c699
jmp 0x4132eb
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x4134a2
mov eax, dword [eax + 4]
jmp 0x4134a5
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x19
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.RegionCompleted
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x20], esp
mov esi, str.FileInfo
push esi
call fcn.0040162e
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x18
call fcn.004207ec
push edi
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004017a5
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
push 0x1c
cdq
pop ecx
idiv ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00401f83
pop ecx
pop ecx
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x18], 0x10
jb 0x413529
mov eax, dword [eax + 4]
jmp 0x41352c
add eax, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.RegionUnCompleted
call fcn.0040162e
sub esp, 0x1c
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.0040162e
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0x1b
call fcn.004207ec
push edi
push 1
lea ecx, [ebp - 0x50]
call fcn.004017a5
lea ebx, [ebp - 0xb8]
call fcn.0042059e
push 0
push 1
lea ecx, [ebp - 0x6c]
mov bl, al
call fcn.004017a5
jmp 0x412fe0