Function at 0x4174f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49ded8
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x4c9230]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00423204
push eax
lea ecx, [ebp - 0x34]
call fcn.00413080
mov dword [ebp - 4], 0
call fcn.00423204
push eax
lea ecx, [ebp - 0x30]
call fcn.00413080
mov byte [ebp - 4], 1
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00414570
add esp, 8
test eax, eax
jne 0x417586
mov dword [ebp - 0x3c], 0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
sub edx, 0x10
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x50]
call fcn.004198c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401d60
mov eax, dword [ebp - 0x3c]
jmp 0x41771e
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00414460
add esp, 8
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401da0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00401d60
push 0xa
lea ecx, [ebp - 0x2c]
call fcn.00436dd2
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x64], edx
push 0
lea eax, [ebp - 0x2c]
push eax
push 0
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x64]
push edx
call fcn.00416f20
add esp, 0x14
test eax, eax
jne 0x41762d
mov dword [ebp - 0x44], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00436f41
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401d60
mov eax, dword [ebp - 0x44]
jmp 0x41771e
lea ecx, [ebp - 0x10]
call fcn.00404e00
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
je 0x4176e1
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x80], edx
cmp dword [ebp - 0x80], 0
jne 0x417660
call fcn.0042106b
mov eax, dword [ebp - 0x80]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x80]
add edx, 8
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x84]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401da0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x88], ecx
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4176dc
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00436f41
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401d60
mov eax, dword [ebp - 0x48]
jmp 0x41771e
jmp 0x417645
mov dword [ebp - 0x4c], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00401d60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00436f41
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00401d60
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret