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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cab57
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x667ce0]
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.00408770
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0xa9]
call fcn.0059af4f
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 0x404e2b
push str.RunUpdDriversDMP_dmpFiles_empty
call fcn.0043ef39
add esp, 4
lea ecx, [ebp - 0xc4]
call fcn.00403db0
lea ecx, [ebp - 0xa9]
call fcn.00403eb0
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.0059cf09
mov esp, ebp
pop ebp
ret 0x1c
xor edi, edi
mov dword [ebp - 0xb4], edi
test eax, eax
je 0x404df0
xor eax, eax
mov dword [ebp - 0xb0], eax
nop
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x404e4a
mov eax, dword [eax]
push eax
push str.RunUpdDriversDMP_dmpFile__s
call fcn.0043ef39
mov eax, dword [ebp - 0xc4]
add esp, 8
mov esi, dword [ebp - 0xb0]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x404e6e
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405657
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 0x404ea6
movups xmm0, xmmword [eax]
mov dword [ebp - 0x58], 7
movups xmmword [ebp - 0x6c], xmm0
jmp 0x404ee8
mov esi, edi
lea ecx, [ebp - 0x6c]
or esi, 7
mov eax, bind
cmp esi, 0x7ffffffe
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.00403950
lea ecx, [edi*2 + 2]
mov dword [ebp - 0x6c], eax
push ecx
push dword [ebp - 0xb8]
push eax
call fcn.005a1740
mov dword [ebp - 0x58], esi
add esp, 0xc
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0x5c], edi
push 8
push 0x5d493c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.00405a30
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 0x5d4a5c
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.00405d80
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 0x404fd9
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 0x404ff2
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b90
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x405033
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405023
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40569e
push edx
push ecx
call fcn.0059c9cd
mov ecx, dword [ebp - 0xa4]
add esp, 8
mov eax, dword [ebp - 0xc4]
add eax, esi
push eax
cmp dword [ebp - 0xa0], ecx
je 0x405052
call fcn.00403d20
add dword [ebp - 0xa4], 0x18
jmp 0x40505e
push ecx
lea ecx, [ebp - 0xa8]
call fcn.00403a30
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 0x4050c7
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 0x4050e0
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b90
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x405121
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405111
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40569e
push edx
push ecx
call fcn.0059c9cd
mov eax, dword [ebp - 0xa4]
add esp, 8
lea ecx, [ebp - 0x9c]
push ecx
cmp dword [ebp - 0xa0], eax
je 0x405140
mov ecx, eax
call fcn.00403d20
add dword [ebp - 0xa4], 0x18
jmp 0x40514c
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403a30
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 0x4051ad
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 0x4051c0
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b90
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x4051fb
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4051f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40569e
push edx
push ecx
call fcn.0059c9cd
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 0x405215
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 0x40526f
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 0x405282
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b90
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x4052bd
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4052b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40569e
push edx
push ecx
call fcn.0059c9cd
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 0x40531e
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 0x405331
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b90
mov edx, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x40536c
mov ecx, dword [ebp - 0x3c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405362
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40569e
push edx
push ecx
call fcn.0059c9cd
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5d4a94
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 0x4053cd
movups xmm0, xmmword [ebp - 0x3c]
mov dword [eax + 0x10], 0
xor ecx, ecx
mov word [ebp - 0x3c], cx
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [eax + 0x10], xmm0
mov eax, 7
add dword [ebp - 0xa4], 0x18
jmp 0x4053e0
lea ecx, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403b90
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 5
cmp eax, 8
jb 0x4053f6
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.004036e0
push 3
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0x5d4a98
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.00442f17
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xe
cmp eax, 8
jb 0x405450
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.004036e0
xor eax, eax
mov dword [ebp - 0x2c], 0
push 1
push 0x5d4950
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x28], 7
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x44], eax
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.00405a30
push 2
push 0x5d4954
lea ecx, [ebp - 0x54]
call fcn.00405a30
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.00405a30
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
push 0x5d4aa0
call fcn.0043ef39
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 - 0xcc], eax
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x405699
mov eax, dword [ecx]
lea edx, [ebp - 0xb8]
push edx
lea edx, [ebp - 0xcc]
push edx
call dword [eax + 8]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc4]
add eax, esi
cmp dword [eax + 0x14], 8
jb 0x405548
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x405564
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.004036e0
xor eax, eax
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x40], 7
cmp eax, 8
jb 0x405593
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.004036e0
xor eax, eax
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x70], 7
test eax, eax
je 0x40561a
lea ecx, [ebp - 0xa8]
push ecx
push dword [ebp - 0xa4]
push eax
call fcn.004039c0
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.00405d40
mov esi, dword [ebp - 0xb0]
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0x88]
cmp eax, 8
jb 0x405638
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.004036e0
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x405651
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.004036e0
mov edi, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xc0]
add esi, 0x18
mov dword [ebp - 0xb0], esi
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xc4]
inc edi
sub ecx, esi
mov dword [ebp - 0xb4], edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x404df0
mov eax, dword [ebp - 0xb0]
jmp 0x404e40
call fcn.0045af2e
call fcn.005a57f9
int3