Function at 0x412f3f
Capabilities:
Delete file

Disassembly:
mov eax, 0x4528bc
call fcn.0044c764
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xb8]
call fcn.00412b45
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
cmp dword [esi + 0x3c], 8
jb 0x412f70
mov eax, dword [esi + 0x28]
jmp 0x412f73
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esi + 0x3c], 8
jb 0x412f85
mov eax, dword [esi + 0x28]
jmp 0x412f88
lea eax, [esi + 0x28]
push ebx
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.004202ec
test al, al
jne 0x412fbc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.0042053b
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.004019d4
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.0040a4c1
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.0040a4c1
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x41300f
cmp eax, dword [ebp - 0x30]
je 0x413014
call fcn.0043ae46
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x41327c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
push eax
lea eax, [ebp - 0xd4]
push str.Completed.
push eax
mov byte [ebp - 4], 2
call fcn.00402fac
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.004016f3
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0xd4]
call fcn.004017a7
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a7
lea esi, [ebp - 0x14]
call fcn.0040a11d
push dword [eax]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 4
cmp dword [eax + 0x18], 0x10
jb 0x413096
mov eax, dword [eax + 4]
jmp 0x413099
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.004207d4
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a7
lea esi, [ebp - 0x14]
call fcn.0040a11d
push dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 0x10
jb 0x413114
mov eax, dword [eax + 4]
jmp 0x413117
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.004207d4
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a7
lea esi, [ebp - 0x14]
call fcn.0040a11d
push dword [eax + 0x14]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x18], 0x10
jb 0x413192
mov eax, dword [eax + 4]
jmp 0x413195
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.004207d4
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a7
lea esi, [ebp - 0x14]
call fcn.0040a11d
push dword [eax + 0x10]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x18], 0x10
jb 0x413210
mov eax, dword [eax + 4]
jmp 0x413213
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.004207d4
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a7
inc dword [ebp - 0x1c]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x14]
call fcn.004142d7
jmp 0x412ff3
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.0040a4c1
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.0040a4c1
mov eax, dword [ebp - 0x14]
xor edi, edi
cmp eax, edi
je 0x4132c1
cmp eax, dword [ebp - 0x30]
je 0x4132c6
call fcn.0043ae46
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x2c]
je 0x413432
push dword [ebp - 0x1c]
lea eax, [ebp - 0xd4]
push eax
call fcn.00401f85
push eax
lea eax, [ebp - 0x50]
push str.UnCompleted.
push eax
mov byte [ebp - 4], 0x10
call fcn.00402fac
add esp, 0x14
push 0xffffffffffffffff
push edi
push eax
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x11
call fcn.004016f3
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp - 0x50]
call fcn.004017a7
push edi
push ebx
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], bl
call fcn.004017a7
lea esi, [ebp - 0x14]
call fcn.0040a11d
push dword [eax]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 0x10
jb 0x413348
mov eax, dword [eax + 4]
jmp 0x41334b
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.004207d4
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a7
lea esi, [ebp - 0x14]
call fcn.0040a11d
push dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
call fcn.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 0x15
cmp dword [eax + 0x18], 0x10
jb 0x4133c6
mov eax, dword [eax + 4]
jmp 0x4133c9
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.004207d4
push edi
push ebx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.004017a7
inc dword [ebp - 0x1c]
lea edi, [ebp - 0x74]
lea esi, [ebp - 0x14]
call fcn.004142d7
jmp 0x4132a5
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.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x41345c
mov eax, dword [eax + 4]
jmp 0x41345f
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.004207d4
push edi
push 1
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004017a7
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.00401f85
pop ecx
pop ecx
mov byte [ebp - 4], 0x1b
cmp dword [eax + 0x18], 0x10
jb 0x4134e3
mov eax, dword [eax + 4]
jmp 0x4134e6
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.004207d4
push edi
push 1
lea ecx, [ebp - 0x50]
call fcn.004017a7
lea ebx, [ebp - 0xb8]
call fcn.00420586
push 0
push 1
lea ecx, [ebp - 0x6c]
mov bl, al
call fcn.004017a7
jmp 0x412f9a