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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ca9d7
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc8], eax
lea ecx, [ebp - 0xa9]
mov dword [ebp - 4], 0
call fcn.004087a0
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa9]
call fcn.004481a0
mov ecx, dword [ebp - 0xc0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc4]
sub ecx, esi
imul ecx
mov byte [ebp - 4], 2
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x404d0b
push str.RunUpdDriversDMP_dmpFiles_empty
call fcn.00451391
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00403d70
lea ecx, [ebp - 0xa9]
call fcn.00403e70
lea ecx, [ebp + 8]
call fcn.00402fe0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a851
mov esp, ebp
pop ebp
ret 0x1c
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
test eax, eax
je 0x404cd0
xor edi, edi
mov dword [ebp - 0xb0], edi
nop
cmp dword [esi + edi + 0x14], 8
lea eax, [esi + edi]
jb 0x404d2c
mov eax, dword [eax]
push eax
push str.RunUpdDriversDMP_dmpFile__s
call fcn.00451391
mov eax, dword [ebp - 0xc4]
add esp, 8
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x404d4a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4054a0
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
mov edi, dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov dword [ebp - 0xb8], eax
cmp edi, 8
jae 0x404d82
movups xmm0, xmmword [eax]
mov dword [ebp - 0x58], 7
movups xmmword [ebp - 0x6c], xmm0
jmp 0x404dbe
mov esi, edi
lea ecx, [ebp - 0x6c]
or esi, 7
mov eax, SysReAllocString
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403910
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x6c], eax
push ecx
push dword [ebp - 0xb8]
push eax
call fcn.0046c480
add esp, 0xc
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x5c], edi
push 8
push 0x5d4934
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.004058f0
push 5
xor eax, eax
mov dword [ebp - 0x8c], 0
push str.Prodr
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x88], 7
mov word [ebp - 0x9c], ax
call fcn.00403240
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
push 0x5d4a54
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00405db0
add esp, 0xc
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
push 4
xor eax, eax
mov byte [ebp - 4], 5
push str.5e46
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00403240
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 6
cmp dword [ebp - 0xa0], eax
je 0x404eaf
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov ecx, dword [ebp - 0xa4]
add ecx, 0x18
mov word [ebp - 0x3c], ax
mov dword [ebp - 0xa4], ecx
jmp 0x404ec8
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b50
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x404f09
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404ef9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054e4
push edx
push ecx
call fcn.0044a315
mov ecx, dword [ebp - 0xa4]
add esp, 8
mov eax, dword [ebp - 0xc4]
mov edi, dword [ebp - 0xb0]
add eax, edi
push eax
cmp dword [ebp - 0xa0], ecx
je 0x404f2e
call fcn.00403ce0
add dword [ebp - 0xa4], 0x18
jmp 0x404f3a
push ecx
lea ecx, [ebp - 0xa8]
call fcn.004039f0
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.14b1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00403240
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 7
cmp dword [ebp - 0xa0], eax
je 0x404fa3
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov word [ebp - 0x3c], ax
mov eax, dword [ebp - 0xa4]
add eax, 0x18
mov dword [ebp - 0xa4], eax
jmp 0x404fbc
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b50
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x404ffd
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x404fed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054e4
push edx
push ecx
call fcn.0044a315
mov eax, dword [ebp - 0xa4]
add esp, 8
lea ecx, [ebp - 0x9c]
push ecx
cmp dword [ebp - 0xa0], eax
je 0x40501c
mov ecx, eax
call fcn.00403ce0
add dword [ebp - 0xa4], 0x18
jmp 0x405028
push eax
lea ecx, [ebp - 0xa8]
call fcn.004039f0
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.f231
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00403240
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 8
cmp dword [ebp - 0xa0], eax
je 0x405089
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0xa4], 0x18
mov word [ebp - 0x3c], ax
jmp 0x40509c
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b50
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x4050d7
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4050cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054e4
push edx
push ecx
call fcn.0044a315
add esp, 8
xor eax, eax
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x28], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4050f1
sub eax, edx
lea ecx, [ebp - 0x3c]
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00403240
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 9
cmp dword [ebp - 0xa0], eax
je 0x40514b
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0xa4], 0x18
mov word [ebp - 0x3c], ax
jmp 0x40515e
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b50
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x405199
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40518f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054e4
push edx
push ecx
call fcn.0044a315
add esp, 8
push 4
xor eax, eax
mov dword [ebp - 0x2c], 0
push str.4c8e
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00403240
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xa0], eax
je 0x4051fa
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax + 0x10], 0
mov edx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0xa4], 0x18
mov word [ebp - 0x3c], ax
jmp 0x40520d
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b50
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x405248
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40523e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4054e4
push edx
push ecx
call fcn.0044a315
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5d4a8c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00403240
mov eax, dword [ebp - 0xa4]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xa0], eax
je 0x4052b2
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [ebp - 0xa4], 0x18
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
jmp 0x4052c2
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b50
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.00402fe0
push 3
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5d4a90
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
call fcn.00403240
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.00454e4f
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xe
call fcn.00402fe0
push 1
xor eax, eax
mov dword [ebp - 0x44], 0
push 0x5d4948
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
call fcn.00403240
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x6c]
push dword [ebp - 0x5c]
cmovae eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0xf
call fcn.004058f0
push 2
push 0x5d494c
lea ecx, [ebp - 0x54]
call fcn.004058f0
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x84]
push dword [ebp - 0x74]
cmovae eax, dword [ebp - 0x84]
lea ecx, [ebp - 0x54]
push eax
call fcn.004058f0
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
push 0x5d4a98
call fcn.00451391
add esp, 8
lea ecx, [ebp - 0x84]
cmp dword [ebp - 0x70], 8
lea eax, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x40], 8
mov dword [ebp - 0xb8], ecx
cmovae eax, dword [ebp - 0x54]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x4054df
mov eax, dword [ecx]
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0xb0]
push edx
call dword [eax + 8]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc4]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x405405
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x54]
call fcn.00402fe0
lea ecx, [ebp - 0x84]
call fcn.00402fe0
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x405489
lea ecx, [ebp - 0xa8]
push ecx
push dword [ebp - 0xa4]
push eax
call fcn.00403980
mov ecx, dword [ebp - 0xa0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xa8]
add esp, 0xc
sub ecx, esi
imul ecx
lea ecx, [ebp - 0xa8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push esi
call fcn.00405c00
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x9c]
call fcn.00402fe0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00402fe0
mov ecx, dword [ebp - 0xc0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc4]
add edi, 0x18
inc dword [ebp - 0xb4]
sub ecx, esi
imul ecx
mov dword [ebp - 0xb0], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xb4], eax
jb 0x404d20
jmp 0x404cd0
call fcn.0043bd6d
call fcn.00470179
int3