Function at 0x10017a68
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push esi
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10017a84
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10017ca0
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
push 0
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
cmp dword [eax], 0
jne 0x10017c77
push 2
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
cmp dword [eax], 0x418a5273
jl 0x10017c27
push 1
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
mov esi, eax
push 2
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, 0xfff8
je 0x10017b2c
mov dword [ebp - 8], 1
jmp 0x10017b30
and dword [ebp - 8], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
jle 0x10017b59
push 2
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
cmp dword [eax], 0
je 0x10017b59
mov dword [ebp - 0xc], 1
jmp 0x10017b5d
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0x7ea
jne 0x10017b6f
mov dword [ebp - 0x10], 1
jmp 0x10017b73
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jne 0x10017b86
mov dword [ebp - 0x54], 1
jmp 0x10017b8a
and dword [ebp - 0x54], 0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
push 0
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
push 0
mov ecx, dword [ebp - 0x58]
call fcn.1001a3f7
mov dword [eax], 0xfff6
push 0
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
push 0
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
mov eax, dword [eax]
add eax, 0xe809
jne 0x10017be0
push 0
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
cmp dword [eax], 0
jne 0x10017be0
and dword [ebp - 0x5c], 0
jmp 0x10017be7
mov dword [ebp - 0x5c], 1
push 1
mov ecx, dword [ebp - 4]
call fcn.1001a3f7
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xfffffffb
jg 0x10017c02
mov dword [ebp - 0x14], 1
jmp 0x10017c06
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0x28]
mov dword [eax], 6
push 6
pop eax
test eax, eax
je 0x10017c27
mov dword [ebp - 0x18], 1
jmp 0x10017c2b
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
sub eax, 0xc938
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx]
jl 0x10017c43
mov dword [ebp - 0x20], 1
jmp 0x10017c47
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
add eax, 5
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
jge 0x10017c62
mov eax, dword [ebp - 0x28]
cmp dword [eax], 0
jne 0x10017c62
and dword [ebp - 0x2c], 0
jmp 0x10017c69
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x2c]
sub eax, 8
jne 0x10017c77
and dword [ebp - 0x30], 0
jmp 0x10017c7e
mov dword [ebp - 0x30], 1
cmp dword [ebp - 0x30], 0xffffffff
jne 0x10017c8d
mov dword [ebp - 0x34], 1
jmp 0x10017c91
and dword [ebp - 0x34], 0
push 1
mov ecx, dword [ebp - 0x64]
call fcn.1001a3f7
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
pop esi
mov esp, ebp
pop ebp
ret