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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482276
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa0
xor eax, eax
mov dword [ebp - 0x40], 0
push esi
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
call fcn.0041cf70
mov esi, eax
add esp, 4
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x40c1f7
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x40c1bf
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c1b5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c861
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov dword [ebp - 0x78], 0
xor eax, eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x88], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x78], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40c231
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c227
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c861
push edx
push ecx
call fcn.0041e1ec
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.00411b90
mov esi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x40c2b2
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40c280
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c276
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c866
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40c2ec
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c2e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c866
push edx
push ecx
call fcn.0041e1ec
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.00412840
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x40c36d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40c33b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c86b
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40c3a7
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c39d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c86b
push edx
push ecx
call fcn.0041e1ec
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.00412250
mov esi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x40c428
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40c3f6
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c3ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c870
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x70], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x60], xmm0
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x40c462
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c458
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c870
push edx
push ecx
call fcn.0041e1ec
add esp, 8
cmp dword [ebp - 0x78], 0
je 0x40c729
cmp dword [ebp - 0x18], 0
je 0x40c729
cmp dword [ebp - 0x60], 0
je 0x40c729
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.00446f60
cmp dword [ebp - 0x74], 8
lea ecx, [ebp - 0x58]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
cmovae eax, dword [ebp - 0x88]
push ecx
push eax
lea ecx, [ebp - 0xac]
call fcn.00447140
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x40c6ea
cmp dword [ebp - 0x30], 0
je 0x40c509
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
push edx
cmovae ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00422a00
add esp, 0xc
mov eax, 0xf
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0xa0], 0
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 6
je 0x40c587
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00437be0
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x40c581
cmp dword [ebp - 0x8c], 0x10
lea ecx, [ebp - 0xa0]
push dword [ebp - 0x90]
cmovae ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00422a00
add esp, 0xc
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x40c5c1
mov ecx, dword [ebp - 0xa0]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c5b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c875
push edx
push ecx
call fcn.0041e1ec
add esp, 8
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00446fb0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x40c61f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c615
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c875
push edx
push ecx
call fcn.0041e1ec
add esp, 8
cmp dword [ebp - 0x14], 8
jb 0x40c62f
cmp dword [ebp - 0x28], 0
je 0x40c729
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
cmp edx, 8
cmovae eax, ecx
cmp word [eax], 0
je 0x40c729
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c729
lea eax, [ebp - 0x28]
push eax
call fcn.00423010
add esp, 4
test al, al
jne 0x40c697
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
jmp 0x40c729
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004133c0
mov ecx, dword [ebp + 8]
add esp, 8
mov byte [ebp - 0xd], al
test ecx, ecx
je 0x40c6c9
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x40c6c9
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00403220
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40c72d
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x40c72d
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00403220
jmp 0x40c72d
lea ecx, [ebp - 0xac]
call fcn.00446fb0
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40c729
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40c71f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c875
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x74]
pop esi
cmp edx, 8
jb 0x40c76b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c761
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c87a
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov edx, dword [ebp - 0x5c]
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
cmp edx, 8
jb 0x40c7bc
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c7b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c87a
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
cmp edx, 8
jb 0x40c806
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c7fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c87a
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40c850
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40c846
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c87a
push edx
push ecx
call fcn.0041e1ec
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0044c29f
call fcn.0044c29f
call fcn.0044c29f
call fcn.0044c29f
call fcn.0044c29f
call fcn.0044c29f
int3