Function at 0x407ba0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x467b24
push eax
mov eax, 0x17dc
mov dword fs:[0], esp
call fcn.0044d240
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call fcn.004318b0
test eax, eax
je 0x407c6b
mov eax, dword [esp + 0x17fc]
lea ecx, [esp + 0x364]
push eax
push str.CInstall_::_ProcessMiscInstallFiles_:_bDeviceINIInstallData____d_n
push ecx
call fcn.0044cb10
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 + 0x264]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x264]
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 + 0x364]
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.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x264]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov ecx, dword [ebp + 0xe50]
add ecx, 0x2c
push ecx
lea ecx, [esp + 0x560]
call fcn.00418870
mov eax, dword [0x4855a4]
mov dword [esp + 0x17f4], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov edi, dword [ebp + 0x40c]
mov byte [esp + 0x17f4], 1
test edi, edi
mov ebx, 4
je 0x407daa
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x24]
lea esi, [eax + 8]
push esi
call fcn.0045cec5
lea edx, [esi + 4]
lea ecx, [esp + 0x28]
push edx
call fcn.0045cec5
lea eax, [esi + 8]
lea ecx, [esp + 0x2c]
push eax
call fcn.0045cec5
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x34]
call fcn.0045cec5
lea edx, [esi + 0x10]
lea ecx, [esp + 0x34]
push edx
call fcn.0045cec5
lea eax, [esi + 0x14]
lea ecx, [esp + 0x38]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x40]
call fcn.0045cec5
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x40]
push edx
call fcn.0045cec5
lea eax, [esi + 0x20]
lea ecx, [esp + 0x44]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x24]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0045cec5
lea edx, [esi + 0x28]
lea ecx, [esp + 0x4c]
push edx
call fcn.0045cec5
mov esi, dword [esi + 0x2c]
cmp esi, 2
mov dword [esp + 0x50], esi
je 0x407d7b
cmp esi, ebx
jne 0x407da2
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x564]
call fcn.00418de0
test eax, eax
je 0x407da2
mov eax, dword [ebp + 0xe50]
or dword [eax + 0x4c], 0x400000
test edi, edi
jne 0x407cd8
mov eax, dword [esp + 0x17fc]
test eax, eax
je 0x407fb1
lea edx, [ebp + 0xe24]
lea ecx, [esp + 0x55c]
push edx
call fcn.00418f90
test eax, eax
je 0x407ddd
mov eax, dword [ebp + 0xe50]
or dword [eax + 0x4c], 0x400000
mov eax, dword [ebp + 0xe30]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x407fb1
mov ecx, dword [ebp + 0xe34]
lea esi, [ebp + 0xe34]
mov eax, dword [ecx - 8]
test eax, eax
je 0x407fb1
lea ecx, [esp + 0x5c]
call fcn.00401000
push 0x47df48
lea edx, [esp + 0x24]
push esi
push edx
mov byte [esp + 0x1800], 2
call fcn.0045d021
mov eax, dword [esp + 0x20]
push 0
push eax
lea ecx, [ebp + 0x364]
mov byte [esp + 0x17fc], 3
call fcn.004118b0
mov eax, dword [esi]
mov ebp, dword [ebp + 0xe30]
push eax
push ebp
lea ecx, [esp + 0x64]
call fcn.00401a00
push esi
lea ecx, [esp + 0x18]
call fcn.0045cb4d
push 0x5c
lea ecx, [esp + 0x18]
mov byte [esp + 0x17f8], bl
call fcn.0045bd8e
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045bd16
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x17f8], 5
call fcn.0045cec5
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17f4], bl
call fcn.0045cdd8
push str.SOFTWARE_
lea ecx, [esp + 0x58]
call fcn.0045ce46
push 0x47de60
lea edx, [esp + 0x5c]
push eax
push edx
mov byte [esp + 0x1800], 6
call fcn.0045d021
push 0x47d160
push eax
lea eax, [esp + 0x24]
mov byte [esp + 0x17fc], 7
push eax
call fcn.0045d021
push str.INSTALL_INFO
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x1800], 8
call fcn.0045d021
lea ecx, [esp + 0x1c]
mov byte [esp + 0x17f4], 0xc
call fcn.0045cdd8
lea ecx, [esp + 0x58]
mov byte [esp + 0x17f4], 0xb
call fcn.0045cdd8
lea ecx, [esp + 0x54]
mov byte [esp + 0x17f4], 0xa
call fcn.0045cdd8
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 8]
push 0x80000002
push eax
lea ecx, [esp + 0x20]
call fcn.0045d1bc
push eax
lea ecx, [esp + 0x36c]
call fcn.0043a3a0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
push ecx
push eax
lea eax, [esp + 0x370]
push str.DeviceCabFilePath
push eax
lea ecx, [esp + 0x374]
call fcn.0043a950
lea ecx, [esp + 0x18]
mov byte [esp + 0x17f4], bl
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x17f4], 3
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x17f4], 2
call fcn.0045cdd8
lea ecx, [esp + 0x5c]
mov byte [esp + 0x17f4], 1
call fcn.00401010
call fcn.004318b0
test eax, eax
je 0x40804b
push 0
lea ecx, [esp + 0x60]
push str.CInstall_::_ProcessMiscInstallFiles_n
push ecx
call fcn.0044cb10
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 + 0x164]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x164]
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 + 0x5c]
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 + 0x164]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.00431c70
call fcn.00431840
mov ecx, eax
call fcn.004318f0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x17f4], 0x16
call fcn.0045cdd8
lea ecx, [esp + 0x48]
mov byte [esp + 0x17f4], 0x15
call fcn.0045cdd8
lea ecx, [esp + 0x44]
mov byte [esp + 0x17f4], 0x14
call fcn.0045cdd8
lea ecx, [esp + 0x40]
mov byte [esp + 0x17f4], 0x13
call fcn.0045cdd8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x17f4], 0x12
call fcn.0045cdd8
lea ecx, [esp + 0x38]
mov byte [esp + 0x17f4], 0x11
call fcn.0045cdd8
lea ecx, [esp + 0x34]
mov byte [esp + 0x17f4], 0x10
call fcn.0045cdd8
lea ecx, [esp + 0x30]
mov byte [esp + 0x17f4], 0xf
call fcn.0045cdd8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x17f4], 0xe
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x17f4], 0xd
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x17f4], 0
call fcn.0045cdd8
lea ecx, [esp + 0x55c]
lea edx, [esp + 0x7cc]
neg ecx
sbb ecx, ecx
mov dword [esp + 0x17f4], 0x18
and ecx, edx
call fcn.00412660
lea ecx, [esp + 0x55c]
lea eax, [esp + 0x79c]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x17f4], 0x17
and ecx, eax
call fcn.0040f220
lea ecx, [esp + 0x55c]
lea edx, [esp + 0x560]
neg ecx
sbb ecx, ecx
mov dword [esp + 0x17f4], 0xffffffff
and ecx, edx
call fcn.0040f220
mov ecx, dword [esp + 0x17ec]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x17e8
ret 4