Function at 0x4018c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54d108
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
call fcn.00401c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp + 0xc], 0
je 0x40192c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x34]
mov al, byte [edx]
mov byte [ebp - 0x2d], al
add dword [ebp - 0x34], 1
cmp byte [ebp - 0x2d], 0
jne 0x40190f
mov ecx, dword [ebp - 0x34]
sub ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
jne 0x401933
xor al, al
jmp 0x401b4d
mov edx, dword [0x1337de4]
push edx
push 0x59c4a0
mov ecx, dword [ebp + 0x10]
call fcn.00401bc0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [0x1337de4]
je 0x401989
mov ecx, dword [ebp - 0x40]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00401b70
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.00401790
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401cd0
push 0x59c4a8
mov ecx, dword [ebp + 0x10]
call fcn.00401c20
push eax
call fcn.004f62d9
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4019af
xor al, al
jmp 0x401b4d
call fcn.0041c910
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4019c4
xor al, al
jmp 0x401b4d
mov ecx, dword [ebp + 0xc]
push ecx
push 0x2712
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00420d50
add esp, 0xc
push 0
push 0x40
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00420d50
add esp, 0xc
push 0
push 0x51
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00420d50
add esp, 0xc
push 0
push 0x2a
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00420d50
add esp, 0xc
push 0x4016d0
push 0x4e2b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00420d50
add esp, 0xc
mov ecx, dword [ebp - 0x38]
push ecx
push 0x2711
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00420d50
add esp, 0xc
push 1
push 0x29
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00420d50
add esp, 0xc
push 1
push 0x34
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00420d50
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x401ab7
push 0
push 0x2b
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00420d50
add esp, 0xc
push 0x401710
push 0x4efb
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00420d50
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x58], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x5c]
push ecx
push 0x2749
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00420d50
add esp, 0xc
push 1
push 0x2d
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00420d50
add esp, 0xc
push 1
push 0x63
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00420d50
add esp, 0xc
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041c970
add esp, 4
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
push 0x200002
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0041c8f0
add esp, 0xc
mov dword [ebp - 0x60], eax
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0041c8d0
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
call fcn.004f637d
add esp, 4
cmp dword [ebp - 0x50], 0
je 0x401b26
mov ecx, dword [ebp + 0x10]
call fcn.00401c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x401b4d
cmp dword [ebp - 0x3c], 0xc8
jl 0x401b38
cmp dword [ebp - 0x3c], 0x190
jl 0x401b4b
mov ecx, dword [ebp + 0x10]
call fcn.00401c20
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
jmp 0x401b4d
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0x10