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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47eda6
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.00419400
mov esi, eax
add esp, 4
lea eax, [ebp - 0x88]
cmp eax, esi
je 0x409ec7
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x409e8f
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409e85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a531
push edx
push ecx
call fcn.0041a2f9
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 0x409f01
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409ef7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a531
push edx
push ecx
call fcn.0041a2f9
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.0040ed50
mov esi, eax
add esp, 4
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x409f82
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x409f50
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409f46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a536
push edx
push ecx
call fcn.0041a2f9
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 0x409fbc
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409fb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a536
push edx
push ecx
call fcn.0041a2f9
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.0040f240
mov esi, eax
add esp, 4
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x40a03d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40a00b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a53b
push edx
push ecx
call fcn.0041a2f9
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 0x40a077
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a06d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a53b
push edx
push ecx
call fcn.0041a2f9
add esp, 8
lea eax, [ebp - 0x58]
push eax
call fcn.0040e860
mov esi, eax
add esp, 4
lea eax, [ebp - 0x70]
cmp eax, esi
je 0x40a0f8
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x40a0c6
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a0bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a540
push edx
push ecx
call fcn.0041a2f9
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 0x40a132
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a128
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a540
push edx
push ecx
call fcn.0041a2f9
add esp, 8
cmp dword [ebp - 0x78], 0
je 0x40a3f9
cmp dword [ebp - 0x18], 0
je 0x40a3f9
cmp dword [ebp - 0x60], 0
je 0x40a3f9
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.004437c0
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.004439a0
mov edx, dword [ebp - 0x48]
test edx, edx
je 0x40a3ba
cmp dword [ebp - 0x30], 0
je 0x40a1d9
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.004332b0
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 0x40a257
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00433f20
add esp, 8
cmp dword [ebp - 0x18], 0
je 0x40a251
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.004332b0
add esp, 0xc
mov eax, dword [ebp - 0x8c]
mov byte [ebp - 4], 5
cmp eax, 0x10
jb 0x40a291
mov ecx, dword [ebp - 0xa0]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a287
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a545
push edx
push ecx
call fcn.0041a2f9
add esp, 8
lea ecx, [ebp - 0xac]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.00443810
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x40a2ef
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a545
push edx
push ecx
call fcn.0041a2f9
add esp, 8
cmp dword [ebp - 0x14], 8
jb 0x40a2ff
cmp dword [ebp - 0x28], 0
je 0x40a3f9
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 0x40a3f9
cmp edx, 8
lea eax, [ebp - 0x28]
cmovae eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a3f9
lea eax, [ebp - 0x28]
push eax
call fcn.00433580
add esp, 4
test al, al
jne 0x40a367
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 0x40a3f9
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040fca0
mov ecx, dword [ebp + 8]
add esp, 8
mov byte [ebp - 0xd], al
test ecx, ecx
je 0x40a399
lea eax, [ebp - 0x40]
cmp ecx, eax
je 0x40a399
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00402e50
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40a3fd
lea eax, [ebp - 0x70]
cmp ecx, eax
je 0x40a3fd
cmp dword [ebp - 0x5c], 8
push dword [ebp - 0x60]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.00402e50
jmp 0x40a3fd
lea ecx, [ebp - 0xac]
call fcn.00443810
mov edx, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x40a3f9
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a3ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a545
push edx
push ecx
call fcn.0041a2f9
add esp, 8
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x74]
pop esi
cmp edx, 8
jb 0x40a43b
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a431
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a54a
push edx
push ecx
call fcn.0041a2f9
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 0x40a48c
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a482
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a54a
push edx
push ecx
call fcn.0041a2f9
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 0x40a4d6
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a54a
push edx
push ecx
call fcn.0041a2f9
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 0x40a520
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40a516
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a54a
push edx
push ecx
call fcn.0041a2f9
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.00448ebf
call fcn.00448ebf
call fcn.00448ebf
call fcn.00448ebf
call fcn.00448ebf
call fcn.00448ebf
int3