Function at 0x42d420
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4905de
push eax
mov dword fs:[0], esp
sub esp, 0x628
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.0044bde0
test eax, eax
je 0x42d4e1
push 0
lea eax, [esp + 0x140]
push str.CINIFile::GetDeviceSpecificInstallInfo_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x438]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bde0
mov ebx, dword [esp + 0x64c]
test eax, eax
je 0x42d529
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.00471c30
add esp, 0x10
lea ecx, [esp + 0x13c]
push ecx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
jmp 0x42d530
mov esi, dword [esp + 0x648]
mov eax, dword [0x4b538c]
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 + 0x13c8]
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x644], 3
mov dword [ebp + 0x14d0], edx
call fcn.004822f6
push 0x5c
lea ecx, [esp + 0x28]
mov byte [esp + 0x644], 4
call fcn.0048123e
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.004811c6
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x644], 5
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 4
call fcn.00482288
mov eax, edi
lea edx, [esp + 0x20]
push eax
push str.DEVICE
push str._s_d
push edx
inc edi
call fcn.004815e6
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.00446ac0
test eax, eax
je 0x42de33
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.004823c5
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
test eax, eax
je 0x42d5bc
mov eax, dword [ebx]
lea ecx, [esp + 0x10]
push eax
call fcn.00481260
cmp eax, 0xffffffff
jne 0x42d633
mov edx, dword [esp + 0x10]
mov ecx, ebx
push edx
call fcn.00481260
cmp eax, 0xffffffff
je 0x42d5bc
mov edi, dword [esp + 0x654]
push ebx
lea ecx, [edi + 4]
call fcn.00482375
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
push 0x4add78
push str.DRIVER
mov dword [esp + 0x40], 1
call fcn.0042bab0
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.00446ac0
test eax, eax
je 0x42d68d
lea eax, [esp + 0x38]
lea ecx, [edi + 0x1c]
push eax
call fcn.004823c5
jmp 0x42d703
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.00446ac0
test eax, eax
je 0x42d703
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
call fcn.004822f6
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
mov bl, 6
push ecx
push edx
mov byte [esp + 0x64c], bl
call fcn.0048246b
push eax
lea ecx, [edi + 0x1c]
mov byte [esp + 0x644], 7
call fcn.00482375
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], bl
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 4
call fcn.00482288
call fcn.0044bde0
test eax, eax
je 0x42d739
mov eax, dword [edi + 0x1c]
lea ecx, [esp + 0x13c]
push eax
push str.pDeviceINIInstallData__csDeviceInstallPath___s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
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.00446ac0
test eax, eax
je 0x42d7af
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.004822f6
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
mov bl, 8
push ecx
push edx
mov byte [esp + 0x64c], bl
call fcn.0048246b
push eax
lea ecx, [edi + 0x20]
mov byte [esp + 0x644], 9
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], bl
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 4
call fcn.00482288
call fcn.0044bde0
test eax, eax
je 0x42d7e5
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x13c]
push eax
push str.pDeviceINIInstallData__csNWInstallSetupExe___s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
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.00446ac0
test eax, eax
je 0x42d85b
lea eax, [esp + 0x38]
lea ecx, [esp + 0x1c]
push eax
call fcn.004822f6
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x18]
mov bl, 0xa
push ecx
push edx
mov byte [esp + 0x64c], bl
call fcn.0048246b
push eax
lea ecx, [edi + 0x24]
mov byte [esp + 0x644], 0xb
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], bl
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 4
call fcn.00482288
call fcn.0044bde0
test eax, eax
je 0x42d891
mov eax, dword [edi + 0x24]
lea ecx, [esp + 0x13c]
push eax
push str.pDeviceINIInstallData__csOCPInstallSetupExe___s_n
push ecx
call fcn.00471c30
add esp, 0xc
lea edx, [esp + 0x13c]
push edx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
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.00446ac0
test eax, eax
je 0x42d8de
lea eax, [esp + 0x38]
lea ecx, [esp + 0x14]
push eax
call fcn.004822f6
push eax
lea ecx, [edi + 8]
mov byte [esp + 0x644], 0xc
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 4
call fcn.00482288
call fcn.0044bde0
test eax, eax
je 0x42d914
mov ecx, dword [edi + 8]
lea edx, [esp + 0x13c]
push ecx
push str.pDeviceINIInstallData__csInstallFriendlyName___s_n
push edx
call fcn.00471c30
add esp, 0xc
lea eax, [esp + 0x13c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea ecx, [esp + 0x2c]
push ecx
push 0x4a9150
push str.CABFILE
mov ecx, ebp
call fcn.0042bab0
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.00446ac0
test eax, eax
jne 0x42d968
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.00446ac0
test eax, eax
je 0x42db90
lea eax, [esp + 0x38]
lea ecx, [esp + 0x10]
push eax
call fcn.004823c5
push 0x4acdb0
lea ecx, [esp + 0x14]
call fcn.00481260
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42db90
lea ecx, [esp + 0x14]
push ebx
push ecx
lea ecx, [esp + 0x18]
call fcn.004811c6
lea esi, [edi + 0xc]
push eax
mov ecx, esi
mov byte [esp + 0x644], 0xd
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 4
call fcn.00482288
mov ecx, esi
call fcn.00481645
mov ecx, esi
call fcn.004815f9
push 0x4a919c
lea ecx, [esp + 0x1c]
call fcn.004822f6
push eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x20]
push edx
push eax
mov byte [esp + 0x64c], 0xe
call fcn.0048246b
push esi
lea ecx, [esp + 0x18]
push eax
push ecx
mov byte [esp + 0x64c], 0xf
call fcn.0048246b
push eax
mov ecx, esi
mov byte [esp + 0x644], 0x10
call fcn.00482375
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 0xf
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 0xe
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 4
call fcn.00482288
push 0x80000002
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [esp + 0x144]
call fcn.00457c00
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.00458470
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.0048114a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x644], 0x11
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 4
call fcn.00482288
lea ecx, [esp + 0x10]
call fcn.00481645
lea ecx, [esp + 0x10]
call fcn.004815f9
push 0x4a919c
lea ecx, [esp + 0x2c]
call fcn.004822f6
mov esi, eax
lea ecx, [esp + 0x334]
mov byte [esp + 0x640], 0x12
push ecx
lea ecx, [esp + 0x20]
call fcn.004822f6
lea edx, [esp + 0x10]
mov byte [esp + 0x640], 0x13
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0048246b
push esi
lea ecx, [esp + 0x1c]
mov bl, 0x14
push eax
push ecx
mov byte [esp + 0x64c], bl
call fcn.0048246b
push eax
lea ecx, [edi + 0x10]
mov byte [esp + 0x644], 0x15
call fcn.00482375
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], bl
call fcn.00482288
lea ecx, [esp + 0x14]
mov byte [esp + 0x640], 0x13
call fcn.00482288
lea ecx, [esp + 0x1c]
mov byte [esp + 0x640], 0x12
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], 4
call fcn.00482288
mov esi, dword [esp + 0x648]
call fcn.0044bde0
test eax, eax
je 0x42dbc6
mov edx, dword [edi + 0xc]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csCabFileName___s_n
push eax
call fcn.00471c30
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bde0
test eax, eax
je 0x42dbfc
mov edx, dword [edi + 0x10]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csCabFileDestPath___s_n
push eax
call fcn.00471c30
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
push 0x4a9150
push str.HOMOLFILE
call fcn.0042bab0
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.00446ac0
test eax, eax
jne 0x42dc50
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.00446ac0
test eax, eax
je 0x42dd2b
lea edx, [esp + 0x38]
lea ecx, [esp + 0x10]
push edx
call fcn.004823c5
push 0x4acdb0
lea ecx, [esp + 0x14]
call fcn.00481260
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x42dd1e
push eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.004811c6
lea ebx, [edi + 0x14]
push eax
mov ecx, ebx
mov byte [esp + 0x644], 0x16
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], 4
call fcn.00482288
mov ecx, ebx
call fcn.00481645
mov ecx, ebx
call fcn.004815f9
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.0048114a
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x644], 0x17
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], 4
call fcn.00482288
lea ecx, [esp + 0x10]
call fcn.00481645
lea ecx, [esp + 0x10]
call fcn.004815f9
mov eax, dword [esp + 0x10]
push eax
call fcn.00472c40
add esp, 4
mov dword [edi + 0x18], eax
jmp 0x42dd2b
lea ecx, [esp + 0x38]
push ecx
lea ecx, [edi + 0x14]
call fcn.004823c5
call fcn.0044bde0
test eax, eax
je 0x42dd61
mov edx, dword [edi + 0x14]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csHomolFileName___s_n
push eax
call fcn.00471c30
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
lea edx, [esp + 0x2c]
mov ecx, ebp
push edx
push 0x4add78
push str.INSTALL_PATH
call fcn.0042bab0
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.00446ac0
test eax, eax
je 0x42dded
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
call fcn.004822f6
push eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x2c]
mov bl, 0x18
push eax
push ecx
mov byte [esp + 0x64c], bl
call fcn.0048246b
push eax
lea ecx, [edi + 0x1c]
mov byte [esp + 0x644], 0x19
call fcn.00482375
lea ecx, [esp + 0x28]
mov byte [esp + 0x640], bl
call fcn.00482288
lea ecx, [esp + 0x18]
mov byte [esp + 0x640], 4
call fcn.00482288
call fcn.0044bde0
test eax, eax
je 0x42de23
mov edx, dword [edi + 0x1c]
lea eax, [esp + 0x13c]
push edx
push str.pDeviceINIInstallData__csDeviceInstallPath___s_n
push eax
call fcn.00471c30
add esp, 0xc
lea ecx, [esp + 0x13c]
push ecx
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
push edi
mov ecx, ebp
call fcn.0042abb0
push edi
mov ecx, ebp
call fcn.0042b120
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.0044bde0
test eax, eax
je 0x42dedf
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x334]
push edx
push str.CINIFile::GetDeviceSpecificInstallInfo_:_bRetVal___d_n
push eax
call fcn.00471c30
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.0044bd70
mov ecx, eax
call fcn.0044c180
call fcn.0044bd70
mov ecx, eax
call fcn.0044be20
lea ecx, [esp + 0x24]
mov byte [esp + 0x640], 3
call fcn.00482288
lea ecx, [esp + 0x10]
mov byte [esp + 0x640], 2
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0x640], 1
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0x640], 0
call fcn.00482288
lea ecx, [esp + 0x20]
mov dword [esp + 0x640], 0xffffffff
call fcn.00482288
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