Function at 0x406f90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4678d4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x43c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x48], ebx
call fcn.004318b0
test eax, eax
je 0x40704c
push 0
lea eax, [esp + 0x250]
push str.CInstall_::_ReviewInstallCompletionStatus_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 + 0x4c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x4c]
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 + 0x24c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00431840
mov ecx, eax
call fcn.004318e0
lea eax, [esp + 0x4c]
push eax
call fcn.00431840
mov ecx, eax
call fcn.00431c70
mov eax, dword [0x4855a4]
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
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 edi, dword [ebx + 0x40c]
mov dword [esp + 0x454], ebp
cmp edi, ebp
je 0x4072a8
add ebx, 0x408
mov eax, edi
mov ebp, edi
mov edi, dword [edi]
lea ecx, [esp + 0x14]
lea esi, [eax + 8]
push esi
call fcn.0045cec5
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0045cec5
lea edx, [esi + 8]
lea ecx, [esp + 0x1c]
push edx
call fcn.0045cec5
lea eax, [esi + 0xc]
lea ecx, [esp + 0x20]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esp + 0x28]
call fcn.0045cec5
lea edx, [esi + 0x14]
lea ecx, [esp + 0x28]
push edx
call fcn.0045cec5
lea eax, [esi + 0x18]
lea ecx, [esp + 0x2c]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x1c]
push ecx
lea ecx, [esp + 0x34]
call fcn.0045cec5
lea edx, [esi + 0x20]
lea ecx, [esp + 0x34]
push edx
call fcn.0045cec5
lea eax, [esi + 0x24]
lea ecx, [esp + 0x38]
push eax
call fcn.0045cec5
lea ecx, [esi + 0x28]
push ecx
lea ecx, [esp + 0x40]
call fcn.0045cec5
mov ecx, dword [esp + 0x48]
mov esi, dword [esi + 0x2c]
mov dword [esp + 0x40], esi
mov edx, dword [ecx + 0xe50]
test byte [edx + 0x4c], 0x40
je 0x407165
sub esi, 3
mov dword [esp + 0x10], 1
neg esi
sbb esi, esi
and esi, 0xfffffffe
add esi, 4
mov dword [esp + 0x40], esi
jmp 0x40719a
lea eax, [esp + 0x14]
push eax
call fcn.00406c20
test eax, eax
je 0x407192
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x10], 1
sub ecx, 3
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 4
mov dword [esp + 0x40], ecx
jmp 0x40719a
mov dword [esp + 0x40], 5
sub esp, 0x30
lea edx, [esp + 0x44]
mov esi, esp
mov dword [esp + 0x74], esp
push edx
mov ecx, esi
mov dword [esp + 0x78], esi
call fcn.0045cb4d
lea eax, [esp + 0x48]
lea ecx, [esi + 4]
push eax
mov byte [esp + 0x488], 1
call fcn.0045cb4d
lea ecx, [esp + 0x4c]
mov byte [esp + 0x484], 2
push ecx
lea ecx, [esi + 8]
call fcn.0045cb4d
lea edx, [esp + 0x50]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x488], 3
call fcn.0045cb4d
lea eax, [esp + 0x54]
lea ecx, [esi + 0x10]
push eax
mov byte [esp + 0x488], 4
call fcn.0045cb4d
lea ecx, [esp + 0x58]
mov byte [esp + 0x484], 5
push ecx
lea ecx, [esi + 0x14]
call fcn.0045cb4d
lea edx, [esp + 0x5c]
lea ecx, [esi + 0x18]
push edx
mov byte [esp + 0x488], 6
call fcn.0045cb4d
lea eax, [esp + 0x60]
lea ecx, [esi + 0x1c]
push eax
mov byte [esp + 0x488], 7
call fcn.0045cb4d
lea ecx, [esp + 0x64]
mov byte [esp + 0x484], 8
push ecx
lea ecx, [esi + 0x20]
call fcn.0045cb4d
lea edx, [esp + 0x68]
lea ecx, [esi + 0x24]
push edx
mov byte [esp + 0x488], 9
call fcn.0045cb4d
lea eax, [esp + 0x6c]
lea ecx, [esi + 0x28]
push eax
mov byte [esp + 0x488], 0xa
call fcn.0045cb4d
mov ecx, dword [esp + 0x70]
push ebp
mov dword [esi + 0x2c], ecx
mov ecx, ebx
mov byte [esp + 0x488], 0
call fcn.00408d30
test edi, edi
jne 0x40709e
mov ebp, dword [esp + 0x10]
call fcn.004318b0
test eax, eax
je 0x407347
push ebp
lea edx, [esp + 0x350]
push str.CInstall_::_ReviewInstallCompletionStatus_:_bRetVal___d_n
push edx
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 + 0x14c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14c]
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 + 0x34c]
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 + 0x14c]
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 + 0x14]
mov dword [esp + 0x454], 0xffffffff
call fcn.00402f30
mov ecx, dword [esp + 0x44c]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x448
ret