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

Disassembly:
push 0xffffffffffffffff
push 0x48db6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa90
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov dword [esp + 0x1c], ebx
call fcn.0044bde0
test eax, eax
je 0x40c525
push 0
lea eax, [esp + 0x9a4]
push str.CInstall::DoGuiuDeferInstallApp_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 + 0x59c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x59c]
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 + 0x9a0]
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.0044bd70
mov ecx, eax
call fcn.0044be10
lea eax, [esp + 0x59c]
push eax
call fcn.0044bd70
mov ecx, eax
call fcn.0044c180
mov ecx, dword [0x4b538c]
mov dword [esp + 0x10], ecx
lea edx, [esp + 0x89c]
push 0
push edx
mov dword [esp + 0xab0], 0
call fcn.0046c7d0
add esp, 8
lea eax, [esp + 0x89c]
lea ecx, [esp + 0x10]
push eax
call fcn.004823c5
lea edx, [esp + 0x10]
lea ecx, [ebx + 0x1b0]
push edx
call fcn.0042a110
mov eax, dword [ebx + 0x1150]
test eax, eax
je 0x40c805
mov eax, dword [0x4b538c]
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
push 0x403790
push 0x403770
push 5
lea eax, [esp + 0x58]
push 8
push eax
mov byte [esp + 0xabc], 7
call fcn.00472400
mov eax, dword [0x4b538c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x1924]
mov byte [esp + 0xaa8], 8
test eax, eax
je 0x40c740
jmp 0x40c5e9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov esi, eax
add esi, 8
mov dword [esp + 0x14], ecx
push esi
lea ecx, [esp + 0x24]
call fcn.00482375
lea edx, [esi + 4]
lea ecx, [esp + 0x24]
push edx
call fcn.00482375
lea eax, [esi + 8]
lea ecx, [esp + 0x28]
push eax
call fcn.00482375
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x30]
call fcn.00482375
lea edx, [esi + 0x10]
lea ecx, [esp + 0x30]
push edx
call fcn.00482375
lea eax, [esi + 0x14]
lea ecx, [esp + 0x34]
push eax
call fcn.00482375
lea ecx, [esi + 0x18]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00482375
lea edx, [esi + 0x1c]
mov ebx, esi
lea ebp, [esi + 0x2c]
lea edi, [esp + 0x50]
mov eax, dword [edx]
mov dword [esp + 0x18], 5
mov dword [esp + 0x3c], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x40], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x20]
mov dword [esp + 0x48], ecx
sub ebx, edx
push ebp
lea ecx, [edi - 4]
call fcn.00482375
lea eax, [ebx + edi]
mov ecx, edi
push eax
call fcn.00482375
mov eax, dword [esp + 0x18]
add ebp, 8
add edi, 8
dec eax
mov dword [esp + 0x18], eax
jne 0x40c681
lea ecx, [esi + 0x54]
push ecx
lea ecx, [esp + 0x78]
call fcn.00482375
lea edx, [esi + 0x58]
lea ecx, [esp + 0x78]
push edx
call fcn.00482375
lea eax, [esi + 0x5c]
lea ecx, [esp + 0x7c]
push eax
call fcn.00482375
mov ecx, dword [esi + 0x60]
add esi, 0x64
mov dword [esp + 0x80], ecx
mov ecx, 0x146
lea edi, [esp + 0x84]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x80]
cmp eax, 2
je 0x40c6f9
cmp eax, 4
jne 0x40c734
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
push 0x10
mov edx, dword [esi + 0x2368]
push 0
add edx, 0x44
push edx
push eax
push ecx
lea ecx, [esi + 0x1b0]
call fcn.0042a470
test eax, eax
je 0x40c734
mov eax, dword [esi + 0x2368]
or dword [eax + 0xb90], 0x400000
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x40c5e5
lea ecx, [esp + 0x7c]
mov byte [esp + 0xaa8], 0x12
call fcn.00482288
lea ecx, [esp + 0x78]
mov byte [esp + 0xaa8], 0x11
call fcn.00482288
lea ecx, [esp + 0x74]
mov byte [esp + 0xaa8], 0x10
call fcn.00482288
push 0x403790
push 5
lea edx, [esp + 0x54]
push 8
push edx
mov byte [esp + 0xab8], 0xf
call fcn.00472130
lea ecx, [esp + 0x38]
mov byte [esp + 0xaa8], 0xe
call fcn.00482288
lea ecx, [esp + 0x34]
mov byte [esp + 0xaa8], 0xd
call fcn.00482288
lea ecx, [esp + 0x30]
mov byte [esp + 0xaa8], 0xc
call fcn.00482288
lea ecx, [esp + 0x2c]
mov byte [esp + 0xaa8], 0xb
call fcn.00482288
lea ecx, [esp + 0x28]
mov byte [esp + 0xaa8], 0xa
call fcn.00482288
lea ecx, [esp + 0x24]
mov byte [esp + 0xaa8], 9
call fcn.00482288
lea ecx, [esp + 0x20]
mov byte [esp + 0xaa8], 0
call fcn.00482288
call fcn.0044bde0
test eax, eax
je 0x40c8a5
push 0
lea eax, [esp + 0x7a0]
push str.CInstall::DoGuiuDeferInstallApp_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 + 0x69c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x69c]
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 + 0x79c]
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 + 0x69c]
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 + 0x10]
mov dword [esp + 0xaa8], 0xffffffff
call fcn.00482288
mov ecx, dword [esp + 0xaa0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa9c
ret