Function at 0x425ad0
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483c5e
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.00441cf0
test eax, eax
je 0x425b91
push 0
lea eax, [esp + 0x140]
push str.CINIFile::GetDeviceSpecificInstallInfo_n
push eax
call fcn.00465850
mov edi, str.ENTRY:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x438]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x438]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x13c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00441d20
lea eax, [esp + 0x438]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441cf0
mov ebx, dword [esp + 0x64c]
test eax, eax
je 0x425bd9
mov esi, dword [esp + 0x648]
mov ecx, dword [ebx]
push ecx
lea eax, [esp + 0x140]
mov edx, dword [esi]
push edx
push str.csINIFileName___s__csDeviceID___s_n
push eax
call fcn.00465850
add esp, 0x10
lea ecx, [esp + 0x13c]
push ecx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
jmp 0x425be0
mov esi, dword [esp + 0x648]
mov eax, dword [0x4a6844]
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x640], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x650]
lea eax, [ebp + 0x128c]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x644], 3
mov dword [ebp + 0x1394], edx
call fcn.00475f16
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x644], 4
call fcn.00474e5e
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00474de6
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x644], 5
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 4
call fcn.00475ea8
mov eax, edi
lea edx, [esp + 0x20]
push eax
push str.DEVICE
push str._s_d
push edx
inc edi
call fcn.00475206
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
add esp, 0x10
lea ecx, [esp + 0x38]
push ecx
push str.DEVICEID
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x4264e3
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.00475fe5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x425c6c
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push eax
call fcn.00474e80
cmp eax, 0xffffffff
jne 0x425ce3
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.00474e80
cmp eax, 0xffffffff
je 0x425c6c
mov edi, dword [esp + 0x654]
push ebx
lea ecx, [edi + 4]
call fcn.00475f95
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push 0x49f580
push str.DRIVER
mov dword [esp + 0x40], 1
call fcn.004241c0
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push str.INSTALL_PATH
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x425d3d
lea eax, [esp + 0x38]
lea ecx, [edi + 0x1c]
push eax
call fcn.00475fe5
jmp 0x425db3
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push str.INSTALL_PATH
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x425db3
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
call fcn.00475f16
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
mov bl, 6
push ecx
push edx
mov byte [esp + 0x64c], bl
call fcn.0047608b
push eax
lea ecx, [edi + 0x1c]
mov byte [esp + 0x644], 7
call fcn.00475f95
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], bl
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 4
call fcn.00475ea8
call fcn.00441cf0
test eax, eax
je 0x425de9
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x13c]
push eax
push str.pDeviceINIInstallData__csDeviceInstallPath___s_n
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push str.NW_SETUP
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x425e5f
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00475f16
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
mov bl, 8
push ecx
push edx
mov byte [esp + 0x64c], bl
call fcn.0047608b
push eax
lea ecx, [edi + 0x20]
mov byte [esp + 0x644], 9
call fcn.00475f95
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], bl
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 4
call fcn.00475ea8
call fcn.00441cf0
test eax, eax
je 0x425e95
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x13c]
push eax
push str.pDeviceINIInstallData__csNWInstallSetupExe___s_n
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push str.OCP_SETUP
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x425f0b
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.00475f16
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
mov bl, 0xa
push ecx
push edx
mov byte [esp + 0x64c], bl
call fcn.0047608b
push eax
lea ecx, [edi + 0x24]
mov byte [esp + 0x644], 0xb
call fcn.00475f95
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], bl
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 4
call fcn.00475ea8
call fcn.00441cf0
test eax, eax
je 0x425f41
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x13c]
push eax
push str.pDeviceINIInstallData__csOCPInstallSetupExe___s_n
push ecx
call fcn.00465850
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
mov edx, dword [esp + 0x30]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push str.FRIENDLY_NAME
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x425f8e
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
call fcn.00475f16
push eax
lea ecx, [edi + 8]
mov byte [esp + 0x644], 0xc
call fcn.00475f95
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 4
call fcn.00475ea8
call fcn.00441cf0
test eax, eax
je 0x425fc4
mov ecx, dword [edi + 8]
lea edx, [esp + 0x13c]
push ecx
push str.pDeviceINIInstallData__csInstallFriendlyName___s_n
push edx
call fcn.00465850
add esp, 0xc
lea eax, [esp + 0x13c]
push eax
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea ecx, [esp + 0x2c]
push ecx
push 0x49b150
push str.CABFILE
mov ecx, ebp
call fcn.004241c0
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x38]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
jne 0x426018
mov edx, dword [esp + 0x20]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
push str.CABFILE
push edx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x426240
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.00475fe5
push 0x49f464
lea ecx, [esp + 0x14]
call fcn.00474e80
mov ebx, eax
cmp ebx, 0xffffffff
je 0x426240
lea ecx, [esp + 0x14]
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.00474de6
lea esi, [edi + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x644], 0xd
call fcn.00475f95
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 4
call fcn.00475ea8
mov ecx, esi
call fcn.00475265
mov ecx, esi
call fcn.00475219
push 0x49b19c
lea ecx, [esp + 0x1c]
call fcn.00475f16
push eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x64c], 0xe
call fcn.0047608b
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x64c], 0xf
call fcn.0047608b
push eax
mov ecx, esi
mov byte [esp + 0x644], 0x10
call fcn.00475f95
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 0xf
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 0xe
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 4
call fcn.00475ea8
push 0x80000002
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [esp + 0x144]
call fcn.0044cdb0
lea edx, [esp + 0x18]
lea eax, [esp + 0x334]
push edx
push eax
lea ecx, [esp + 0x148]
push str.ProgramFilesDir
push ecx
lea ecx, [esp + 0x14c]
mov dword [esp + 0x28], 0x104
call fcn.0044d620
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, ebx
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00474d6a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x644], 0x11
call fcn.00475f95
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 4
call fcn.00475ea8
lea ecx, [esp + 0x10]
call fcn.00475265
lea ecx, [esp + 0x10]
call fcn.00475219
push 0x49b19c
lea ecx, [esp + 0x2c]
call fcn.00475f16
mov esi, eax
lea ecx, [esp + 0x334]
mov byte [esp + 0x640], 0x12
push ecx
lea ecx, [esp + 0x20]
call fcn.00475f16
lea edx, [esp + 0x10]
mov byte [esp + 0x640], 0x13
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0047608b
push esi
lea ecx, [esp + 0x1c]
mov bl, 0x14
push eax
push ecx
mov byte [esp + 0x64c], bl
call fcn.0047608b
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0x644], 0x15
call fcn.00475f95
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], bl
call fcn.00475ea8
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 0x13
call fcn.00475ea8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 0x12
call fcn.00475ea8
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], 4
call fcn.00475ea8
mov esi, dword [esp + 0x648]
call fcn.00441cf0
test eax, eax
je 0x426276
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csCabFileName___s_n
push eax
call fcn.00465850
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441cf0
test eax, eax
je 0x4262ac
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csCabFileDestPath___s_n
push eax
call fcn.00465850
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
push 0x49b150
push str.HOMOLFILE
call fcn.004241c0
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
jne 0x426300
mov ecx, dword [esp + 0x20]
mov eax, dword [esi]
lea edx, [esp + 0x38]
push edx
push str.HOMOLFILE
push ecx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x4263db
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.00475fe5
push 0x49f464
lea ecx, [esp + 0x14]
call fcn.00474e80
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x4263ce
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.00474de6
lea ebx, [edi + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x644], 0x16
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], 4
call fcn.00475ea8
mov ecx, ebx
call fcn.00475265
mov ecx, ebx
call fcn.00475219
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
lea edx, [esp + 0x28]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x10]
sub eax, ebx
dec eax
push eax
push edx
call fcn.00474d6a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x644], 0x17
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], 4
call fcn.00475ea8
lea ecx, [esp + 0x10]
call fcn.00475265
lea ecx, [esp + 0x10]
call fcn.00475219
mov eax, dword [esp + 0x10]
push eax
call fcn.00466880
add esp, 4
mov dword [edi + 0x18], eax
jmp 0x4263db
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 0x14]
call fcn.00475fe5
call fcn.00441cf0
test eax, eax
je 0x426411
mov edx, dword [edi + 0x14]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csHomolFileName___s_n
push eax
call fcn.00465850
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
push 0x49f580
push str.INSTALL_PATH
call fcn.004241c0
mov edx, dword [esp + 0x2c]
mov eax, dword [esi]
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push ecx
push eax
mov ecx, ebp
call fcn.0043de30
test eax, eax
je 0x42649d
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
call fcn.00475f16
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
mov bl, 0x18
push eax
push ecx
mov byte [esp + 0x64c], bl
call fcn.0047608b
push eax
lea ecx, [edi + 0x1c]
mov byte [esp + 0x644], 0x19
call fcn.00475f95
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], bl
call fcn.00475ea8
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 4
call fcn.00475ea8
call fcn.00441cf0
test eax, eax
je 0x4264d3
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csDeviceInstallPath___s_n
push eax
call fcn.00465850
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.00441c80
mov ecx, eax
call fcn.00442090
push edi
mov ecx, ebp
call fcn.004232c0
push edi
mov ecx, ebp
call fcn.00423830
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00441cf0
test eax, eax
je 0x42658f
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x334]
push edx
push str.CINIFile::GetDeviceSpecificInstallInfo_:_bRetVal___d_n
push eax
call fcn.00465850
mov edi, str.EXIT:
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x538]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x538]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x334]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x538]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00441c80
mov ecx, eax
call fcn.00442090
call fcn.00441c80
mov ecx, eax
call fcn.00441d30
lea ecx, [esp + 0x24]
mov byte [esp + 0x640], 3
call fcn.00475ea8
lea ecx, [esp + 0x10]
mov byte [esp + 0x640], 2
call fcn.00475ea8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x640], 1
call fcn.00475ea8
lea ecx, [esp + 0x30]
mov byte [esp + 0x640], 0
call fcn.00475ea8
lea ecx, [esp + 0x20]
mov dword [esp + 0x640], 0xffffffff
call fcn.00475ea8
mov ecx, dword [esp + 0x638]
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x634
ret 0x10