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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x154
mov eax, dword [0x51a0a0]
xor eax, esp
mov dword [esp + 0x150], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [esp + 0x10], eax
mov esi, edx
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], ecx
mov ecx, esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
push 3
mov dword [esp + 0x2c], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x28], ebx
call fcn.0042486f
lea eax, [esp + 0x30]
push eax
call fcn.0044ac00
mov ecx, dword [esp + 0x18]
call fcn.004276d2
test al, al
jne 0x416d57
push 0xc
pop eax
push ebx
push 0xace
push eax
mov ecx, esi
mov dword [edi], eax
call fcn.00424ad9
xor al, al
jmp 0x41712c
lea eax, [esp + 0x78]
push eax
call fcn.0044ac00
pop ecx
mov ecx, dword [eax]
sub ecx, dword [esp + 0x30]
mov eax, dword [eax + 4]
sbb eax, dword [esp + 0x34]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea ecx, [ecx + 0x48]
call fcn.004362a0
mov byte [esp + 0x13], al
mov al, byte [esi + 0x51]
test al, al
je 0x416dac
mov ecx, dword [0x51c824]
test ecx, ecx
jne 0x416dc8
mov ecx, str.Setup.Install.HasArchivePatch.background
call fcn.0043a9a0
mov ecx, eax
mov dword [0x51c824], ecx
jmp 0x416dc8
mov ecx, dword [0x51c82c]
test ecx, ecx
jne 0x416dc8
mov ecx, str.Setup.Install.HasArchivePatch
call fcn.0043a9a0
mov ecx, eax
mov dword [0x51c82c], ecx
cmp byte [esp + 0x13], bl
sete al
movzx eax, al
push eax
call fcn.0044a0b0
cmp byte [esp + 0x13], bl
je 0x416e9f
mov eax, dword [esp + 0x2c]
mov dword [eax], 1
mov al, byte [esi + 0x51]
test al, al
je 0x416e41
mov eax, dword [0x51c844]
test eax, eax
jne 0x416e8c
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x4c], ebx
mov ecx, 0xaba9500
push ecx
push ecx
mov dword [esp + 0x50], ecx
mov dword [eax], ecx
mov ecx, esp
push ebx
push 0x3e8
push ebx
push 0xa
mov dword [eax + 4], ebx
call fcn.00416460
add esp, 0x10
mov ecx, str.Setup.Install.UncompressFullArchiveTime.background
push 1
push 0x32
pop edx
call fcn.00438700
mov dword [0x51c844], eax
jmp 0x416e89
mov eax, dword [0x51c828]
test eax, eax
jne 0x416e8c
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x54], ebx
mov ecx, 0xaba9500
push ecx
push ecx
mov dword [esp + 0x58], ecx
mov dword [eax], ecx
mov ecx, esp
push ebx
push 0x3e8
push ebx
push 0xa
mov dword [eax + 4], ebx
call fcn.00416460
add esp, 0x10
mov ecx, str.Setup.Install.UncompressFullArchiveTime
push 1
push 0x32
pop edx
call fcn.00438700
mov dword [0x51c828], eax
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0044a050
mov al, 1
jmp 0x41712c
mov al, byte [esi + 0x51]
push 0x32
pop edi
test al, al
je 0x416ef6
mov eax, dword [0x51c840]
test eax, eax
jne 0x416f40
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x5c], ebx
mov ecx, 0xaba9500
push ecx
push ecx
mov dword [esp + 0x60], ecx
mov dword [eax], ecx
mov ecx, esp
push ebx
push 0x3e8
push ebx
push 0xa
mov dword [eax + 4], ebx
call fcn.00416460
add esp, 0x10
mov edx, edi
mov ecx, str.Setup.Install.UncompressArchivePatchTime.background
push 1
call fcn.00438700
mov dword [0x51c840], eax
jmp 0x416f3d
mov eax, dword [0x51c810]
test eax, eax
jne 0x416f40
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x64], ebx
mov ecx, 0xaba9500
push ecx
push ecx
mov dword [esp + 0x68], ecx
mov dword [eax], ecx
mov ecx, esp
push ebx
push 0x3e8
push ebx
push 0xa
mov dword [eax + 4], ebx
call fcn.00416460
add esp, 0x10
mov edx, edi
mov ecx, str.Setup.Install.UncompressArchivePatchTime
push 1
call fcn.00438700
mov dword [0x51c810], eax
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0044a050
push dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x148]
push esi
call fcn.00425979
pop ecx
pop ecx
cmp dword [esp + 0x154], ebx
jne 0x416fc4
push 2
pop ecx
call fcn.0044bc30
test al, al
je 0x416fa1
push ecx
push 0x132
push str..._.._chrome_installer_setup_setup_main.cc
lea ecx, [esp + 0x9c]
call fcn.0044bca0
mov edx, str.Failed_to_find_archive_to_patch.
lea ecx, [eax + 8]
call fcn.0041cec3
xor eax, eax
inc eax
jmp 0x416fa5
mov eax, dword [esp + 0x24]
test al, 1
je 0x416fb5
lea ecx, [esp + 0x90]
call fcn.0044bd90
mov eax, dword [esp + 0x28]
push ebx
push 0xace
push edi
mov dword [eax], edi
jmp 0x41702e
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x144]
push eax
lea ecx, [ecx + 0x30]
call fcn.0043efc0
lea eax, [esp + 0x80]
push eax
call fcn.0044ac00
pop ecx
push 4
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], ecx
mov ecx, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x38], eax
call fcn.0042486f
mov ecx, dword [esp + 0x14]
call fcn.00427758
test al, al
jne 0x41703a
mov ecx, dword [esp + 0x14]
call fcn.004278b7
test al, al
jne 0x41703a
mov eax, dword [esp + 0x28]
push 0x2a
pop ecx
push ebx
push 0xace
mov dword [eax], ecx
push ecx
mov ecx, esi
call fcn.00424ad9
jmp 0x41711e
lea eax, [esp + 0x88]
push eax
call fcn.0044ac00
pop ecx
mov ecx, dword [eax]
sub ecx, dword [esp + 0x24]
mov eax, dword [eax + 4]
sbb eax, dword [esp + 0x20]
mov dword [esp + 0x64], eax
mov dword [esp + 0x1c], eax
mov al, byte [esi + 0x51]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x18], ecx
test al, al
je 0x4170b9
mov eax, dword [0x51c808]
test eax, eax
jne 0x417106
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x74], ebx
mov ecx, 0xd693a400
push ecx
push ecx
mov dword [esp + 0x78], ecx
mov dword [eax], ecx
mov ecx, esp
push ebx
push 0x3e8
push ebx
push 1
mov dword [eax + 4], ebx
call fcn.00416460
add esp, 0x10
mov edx, edi
mov ecx, str.Setup.Install.ApplyArchivePatchTime.background
push 1
call fcn.00438700
mov dword [0x51c808], eax
jmp 0x417103
mov eax, dword [0x51c7f0]
test eax, eax
jne 0x417106
push ecx
push ecx
mov eax, esp
mov dword [esp + 0x7c], ebx
mov ecx, 0xd693a400
push ecx
push ecx
mov dword [esp + 0x80], ecx
mov dword [eax], ecx
mov ecx, esp
push ebx
push 0x3e8
push ebx
push 1
mov dword [eax + 4], ebx
call fcn.00416460
add esp, 0x10
mov edx, edi
mov ecx, str.Setup.Install.ApplyArchivePatchTime
push 1
call fcn.00438700
mov dword [0x51c7f0], eax
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
call fcn.0044a050
mov eax, dword [esp + 0x2c]
mov bl, 1
mov dword [eax], 2
lea ecx, [esp + 0x144]
call fcn.0043ef40
mov al, bl
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004cb8a3
mov esp, ebp
pop ebp
ret