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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x574cac
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5e10a4]
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 - 0xc4], eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0xb5]
call fcn.0040f650
mov ecx, dword [ebp - 0xa4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xa8]
sub ecx, esi
imul ecx
mov byte [ebp - 4], 1
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x40d61e
push str.RunUpdDriversDMP_dmpFiles_empty
call fcn.0043390e
mov ecx, dword [ebp - 0xa8]
add esp, 4
test ecx, ecx
je 0x40db29
push dword [ebp - 0xc0]
lea eax, [ebp - 0xa8]
push eax
push dword [ebp - 0xa4]
push ecx
call fcn.0040ded0
mov ecx, dword [ebp - 0xa0]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xa8]
add esp, 0x10
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.00413470
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
jmp 0x40db29
xor ecx, ecx
mov dword [ebp - 0xbc], ecx
test eax, eax
je 0x40db1e
xor edi, edi
cmp dword [esi + edi + 0x14], 8
lea eax, [esi + edi]
jb 0x40d63c
mov eax, dword [eax]
push eax
push str.RunUpdDriversDMP_dmpFile__s
call fcn.0043390e
mov eax, dword [ebp - 0xa8]
add esp, 8
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x40d65a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40daea
xor eax, eax
mov dword [ebp - 0x88], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x9c], ax
lea ecx, [ebp - 0x9c]
lea eax, [ebp + 8]
mov dword [ebp - 0x8c], 0
push eax
call fcn.004091c0
push 0xe
push str.JiKeHcores.exe
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0040b980
push 5
xor eax, eax
mov dword [ebp - 0x70], 7
push str.Prodr
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov word [ebp - 0x84], ax
call fcn.004089f0
xor eax, eax
xorps xmm0, xmm0
push 1
mov word [ebp - 0x24], ax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x24]
push 0x5795dc
push eax
movups xmmword [ebp - 0x22], xmm0
call fcn.00413e30
add esp, 0xc
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
push 4
xor eax, eax
mov byte [ebp - 4], 4
push str.3dc0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.004089f0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413c70
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x40d76c
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409050
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xb4]
add eax, edi
push eax
call fcn.00413d20
push 4
xor eax, eax
mov dword [ebp - 0x28], 7
push str.ba2c
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.004089f0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413c70
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x40d7cf
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409050
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413d20
push 4
xor eax, eax
mov dword [ebp - 0x28], 7
push str.4d53
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.004089f0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413c70
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x40d830
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409050
xor eax, eax
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
cmp word [ebp - 0x24], ax
je 0x40d85f
lea eax, [ebp - 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40d850
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004089f0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413c70
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x40d898
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409050
push 4
xor eax, eax
mov dword [ebp - 0x28], 7
push str.bfba
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.004089f0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413c70
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x40d8e7
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409050
push 0x579814
lea ecx, [ebp - 0x3c]
call fcn.004086c0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xb4]
call fcn.00413c70
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x40d920
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409050
push 0x579614
lea ecx, [ebp - 0x3c]
call fcn.004086c0
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.00435597
add esp, 0xc
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xd
cmp eax, 8
jb 0x40d961
inc eax
lea ecx, [ebp - 0x3c]
push eax
push dword [ebp - 0x3c]
call fcn.00409050
xor eax, eax
mov dword [ebp - 0x28], 7
push 0x579900
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
call fcn.004086c0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0xe
push eax
lea ecx, [ebp - 0x54]
call fcn.0040bab0
push 2
push 0x579904
lea ecx, [ebp - 0x54]
call fcn.0040b980
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040bab0
cmp dword [ebp - 0x40], 8
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
push eax
push str.RunUpdDriversDMP_param_s
call fcn.0043390e
add esp, 8
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x58], 8
lea eax, [ebp - 0x54]
cmovae ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x40], 8
mov dword [ebp - 0xc8], ecx
cmovae eax, dword [ebp - 0x54]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40db5b
mov eax, dword [ecx]
lea edx, [ebp - 0xc8]
push edx
lea edx, [ebp - 0xc0]
push edx
call dword [eax + 8]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xa8]
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x40da32
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x40]
cmp eax, 8
jb 0x40da4e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.00409050
xor eax, eax
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x44], 0
cmp eax, 8
jb 0x40da77
inc eax
lea ecx, [ebp - 0x6c]
push eax
push dword [ebp - 0x6c]
call fcn.00409050
xor eax, eax
mov dword [ebp - 0x58], 7
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0x5c], 0
mov word [ebp - 0x6c], ax
call fcn.0040e660
mov eax, dword [ebp - 0x70]
cmp eax, 8
jb 0x40dab1
inc eax
lea ecx, [ebp - 0x84]
push eax
push dword [ebp - 0x84]
call fcn.00409050
xor eax, eax
mov dword [ebp - 0x70], 7
mov word [ebp - 0x84], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x74], 0
mov byte [ebp - 4], 1
cmp eax, 8
jb 0x40daea
inc eax
lea ecx, [ebp - 0x9c]
push eax
push dword [ebp - 0x9c]
call fcn.00409050
mov ecx, dword [ebp - 0xa4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0xa8]
add edi, 0x18
inc dword [ebp - 0xbc]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0xbc], eax
jb 0x40d630
lea ecx, [ebp - 0xa8]
call fcn.0040e660
mov eax, dword [ebp + 0x1c]
cmp eax, 8
jb 0x40db3e
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00409050
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.004273c3
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00426d51
int3