Function at 0x407380
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4679c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x578
push ebx
push esi
push edi
mov dword [esp + 0x50], ecx
call fcn.004318b0
test eax, eax
je 0x407442
push 0
lea eax, [esp + 0x90]
push str.CInstall_::_StoreInstallHistoryForUninstall_n
push eax
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 + 0x18c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x18c]
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 + 0x8c]
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 + 0x18c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [0x4855a4]
push ebp
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
xor ebp, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x590], ebp
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 dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push str.SOFTWARE_
lea ecx, [esp + 0x24]
mov byte [esp + 0x594], 4
call fcn.0045ce46
push 0x47de60
lea ecx, [esp + 0x20]
push eax
push ecx
mov byte [esp + 0x59c], 5
call fcn.0045d021
push 0x47d160
lea edx, [esp + 0x8c]
push eax
push edx
mov byte [esp + 0x59c], 6
call fcn.0045d021
push str.INSTALL_HISTORY
push eax
lea eax, [esp + 0x94]
mov bl, 7
push eax
mov byte [esp + 0x59c], bl
call fcn.0045d021
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x594], 8
call fcn.0045cec5
lea ecx, [esp + 0x8c]
mov byte [esp + 0x590], bl
call fcn.0045cdd8
lea ecx, [esp + 0x88]
mov byte [esp + 0x590], 6
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x590], 5
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x590], 4
call fcn.0045cdd8
call fcn.004318b0
test eax, eax
je 0x4075af
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x90]
push ecx
push str.csKeyReg___s_n
push edx
call fcn.0044cb10
add esp, 0xc
lea eax, [esp + 0x90]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov ecx, dword [esp + 0x54]
mov ebx, dword [ecx + 0x40c]
test ebx, ebx
je 0x40785a
mov eax, ebx
mov ebx, dword [ebx]
lea ecx, [esp + 0x58]
lea esi, [eax + 8]
push esi
call fcn.0045cec5
lea edx, [esi + 4]
lea ecx, [esp + 0x5c]
push edx
call fcn.0045cec5
lea eax, [esi + 8]
lea ecx, [esp + 0x60]
push eax
call fcn.0045cec5
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x68]
call fcn.0045cec5
lea edx, [esi + 0x10]
lea ecx, [esp + 0x68]
push edx
call fcn.0045cec5
lea eax, [esi + 0x14]
lea ecx, [esp + 0x6c]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x74]
call fcn.0045cec5
lea edx, [esi + 0x1c]
lea ecx, [esp + 0x74]
push edx
call fcn.0045cec5
lea eax, [esi + 0x20]
lea ecx, [esp + 0x78]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x24]
push ecx
lea ecx, [esp + 0x80]
call fcn.0045cec5
lea edx, [esi + 0x28]
lea ecx, [esp + 0x80]
push edx
call fcn.0045cec5
mov esi, dword [esi + 0x2c]
cmp esi, 4
mov dword [esp + 0x84], esi
je 0x407672
cmp esi, 2
jne 0x407852
lea eax, [esp + 0x18]
push 0x47d160
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.0045d021
lea edx, [esp + 0x6c]
mov byte [esp + 0x590], 9
push edx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0045cfbb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x594], 0xa
call fcn.0045cec5
lea ecx, [esp + 0x20]
mov byte [esp + 0x590], 9
call fcn.0045cdd8
lea ecx, [esp + 0x1c]
mov byte [esp + 0x590], 4
call fcn.0045cdd8
mov ecx, dword [esp + 0x14]
push 0x80000002
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x18]
push eax
call fcn.0045d1bc
push eax
lea ecx, [esp + 0x398]
call fcn.0043a3a0
mov edx, dword [esp + 0x54]
mov edi, dword [edx + 0x40c]
test edi, edi
je 0x407852
mov eax, edi
mov edi, dword [edi]
lea ecx, [esp + 0x24]
lea esi, [eax + 8]
push esi
call fcn.0045cec5
lea eax, [esi + 4]
lea ecx, [esp + 0x28]
push eax
call fcn.0045cec5
lea ecx, [esi + 8]
push ecx
lea ecx, [esp + 0x30]
call fcn.0045cec5
lea edx, [esi + 0xc]
lea ecx, [esp + 0x30]
push edx
call fcn.0045cec5
lea eax, [esi + 0x10]
lea ecx, [esp + 0x34]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x14]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0045cec5
lea edx, [esi + 0x18]
lea ecx, [esp + 0x3c]
push edx
call fcn.0045cec5
lea eax, [esi + 0x1c]
lea ecx, [esp + 0x40]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x20]
push ecx
lea ecx, [esp + 0x48]
call fcn.0045cec5
lea edx, [esi + 0x24]
lea ecx, [esp + 0x48]
push edx
call fcn.0045cec5
lea eax, [esi + 0x28]
lea ecx, [esp + 0x4c]
push eax
call fcn.0045cec5
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0x2c]
push edx
push eax
mov dword [esp + 0x58], ecx
call fcn.0044d010
add esp, 8
test eax, eax
je 0x40784a
mov eax, ebp
lea ecx, [esp + 0x10]
push eax
push str.Failed_d
push ecx
inc ebp
call fcn.0045c136
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edx - 8]
mov esi, dword [ecx - 8]
push eax
push eax
lea ecx, [esp + 0x40]
call fcn.0045d1bc
push eax
push esi
lea ecx, [esp + 0x1c]
call fcn.0045d1bc
lea edx, [esp + 0x39c]
push eax
push edx
lea ecx, [esp + 0x3a0]
call fcn.0043a950
test eax, eax
je 0x40784a
call fcn.004318b0
test eax, eax
je 0x40784a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x98]
push str.Registry_WriteValue_:_csValueName___s__csDeviceID___s_n
push edx
call fcn.0044cb10
add esp, 0x10
lea eax, [esp + 0x90]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
test edi, edi
jne 0x407707
test ebx, ebx
jne 0x4075c1
call fcn.004318b0
test eax, eax
pop ebp
je 0x4078fb
push 0
lea ecx, [esp + 0x390]
push str.CInstall_::_StoreInstallHistoryForUninstall_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 + 0x28c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x28c]
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 + 0x38c]
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 + 0x28c]
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 + 0xc]
mov byte [esp + 0x58c], 3
call fcn.0045cdd8
lea ecx, [esp + 0x10]
mov byte [esp + 0x58c], 2
call fcn.0045cdd8
lea ecx, [esp + 0x14]
mov byte [esp + 0x58c], 1
call fcn.0045cdd8
lea ecx, [esp + 0x48]
mov byte [esp + 0x58c], 0x14
call fcn.0045cdd8
lea ecx, [esp + 0x44]
mov byte [esp + 0x58c], 0x13
call fcn.0045cdd8
lea ecx, [esp + 0x40]
mov byte [esp + 0x58c], 0x12
call fcn.0045cdd8
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58c], 0x11
call fcn.0045cdd8
lea ecx, [esp + 0x38]
mov byte [esp + 0x58c], 0x10
call fcn.0045cdd8
lea ecx, [esp + 0x34]
mov byte [esp + 0x58c], 0xf
call fcn.0045cdd8
lea ecx, [esp + 0x30]
mov byte [esp + 0x58c], 0xe
call fcn.0045cdd8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x58c], 0xd
call fcn.0045cdd8
lea ecx, [esp + 0x28]
mov byte [esp + 0x58c], 0xc
call fcn.0045cdd8
lea ecx, [esp + 0x24]
mov byte [esp + 0x58c], 0xb
call fcn.0045cdd8
lea ecx, [esp + 0x20]
mov byte [esp + 0x58c], 0
call fcn.0045cdd8
lea ecx, [esp + 0x54]
mov dword [esp + 0x58c], 0xffffffff
call fcn.00402f30
mov ecx, dword [esp + 0x584]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x584
ret