Function at 0x40e080
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5992c7
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
mov word [ebp - 0xcc], 0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xd0]
call fcn.004105b0
cmp dword [ebp - 0x44], 0
mov byte [ebp - 4], 2
je 0x40e4de
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e4de
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
call fcn.0040cde0
push 0xf
push 0x5a1d98
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 3
call fcn.004114b0
push 5
xor eax, eax
mov dword [ebp - 0x74], 0
push str.Prodr
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
call fcn.00411630
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push 0x5a1dc4
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00411a40
add esp, 0xc
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
push 4
xor eax, eax
mov byte [ebp - 4], 5
push str.a826
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00411630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xc0]
call fcn.004119b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040a530
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x54]
push ecx
cmp dword [ebp - 0xb8], eax
je 0x40e1ef
mov ecx, eax
call fcn.0040cde0
add dword [ebp - 0xbc], 0x18
jmp 0x40e1fb
push eax
lea ecx, [ebp - 0xc0]
call fcn.0040ee90
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.cb00
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00411630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xc0]
call fcn.004119b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040a530
mov eax, dword [ebp - 0xbc]
lea ecx, [ebp - 0x84]
push ecx
cmp dword [ebp - 0xb8], eax
je 0x40e262
mov ecx, eax
call fcn.0040cde0
add dword [ebp - 0xbc], 0x18
jmp 0x40e26e
push eax
lea ecx, [ebp - 0xc0]
call fcn.0040ee90
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.e2cd
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00411630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xc0]
call fcn.004119b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040a530
xor eax, eax
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40e2d0
sub ecx, edx
lea eax, [ebp - 0x24]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00411630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xc0]
call fcn.004119b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040a530
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.5ff2
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00411630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xc0]
call fcn.004119b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040a530
push 1
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5a1d94
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00411630
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0xc0]
call fcn.004119b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.0040a530
push 3
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5a1dfc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00411630
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.0044c4c7
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.0040a530
push 1
xor eax, eax
mov dword [ebp - 0x5c], 0
push 0x5a1e04
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
call fcn.00411630
cmp dword [ebp - 0x88], 8
lea eax, [ebp - 0x9c]
push dword [ebp - 0x8c]
cmovae eax, dword [ebp - 0x9c]
lea ecx, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 0xf
call fcn.004114b0
push 2
push 0x5a1e08
lea ecx, [ebp - 0x6c]
call fcn.004114b0
cmp dword [ebp - 0xa0], 8
lea eax, [ebp - 0xb4]
push dword [ebp - 0xa4]
cmovae eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0x6c]
push eax
call fcn.004114b0
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x40e48d
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0
cmovae eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc8], eax
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0xc8]
push edx
call dword [eax + 8]
push 0x1964
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x6c]
call fcn.0040a530
lea ecx, [ebp - 0xb4]
call fcn.0040a530
lea ecx, [ebp - 0xc0]
call fcn.0040f780
lea ecx, [ebp - 0x84]
call fcn.0040a530
lea ecx, [ebp - 0x9c]
call fcn.0040a530
lea ecx, [ebp - 0x54]
call fcn.0040a530
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x40e51c
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e512
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40e538
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00572b79
int3