Function at 0x405f40
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454377
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x46ebd0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004225f4
xor ebx, ebx
push ebx
lea ecx, [esi + 0x260]
push 0x45da4c
mov dword [esi + 0x25c], ebx
call fcn.00401c30
push esi
mov byte [esi + 0x264], bl
call fcn.00407fb0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
cmp byte [esi + 0x1fc], 1
mov edi, dword [sym.imp.USER32.dll_PostThreadMessageW]
je 0x406013
push 0x14c
call fcn.004146f2
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x405fd9
push eax
call fcn.0040cbc0
jmp 0x405fdb
xor eax, eax
push ebx
push ebx
mov byte [esp + 0x40], bl
push 4
mov ecx, eax
mov dword [esi + 0x25c], eax
call fcn.00423ddd
mov eax, dword [esi + 0x25c]
mov eax, dword [eax + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0x25c]
mov ecx, dword [eax + 0x30]
push ebx
push ebx
push 0x800a
push ecx
call edi
call fcn.00408700
test al, al
je 0x4061de
mov eax, dword [esi + 0x15c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004088f0
add esp, 8
test al, al
je 0x4061de
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0xa8]
mov dword [esi + 0x158], edx
mov dword [esi + 0x154], ecx
mov byte [esi + 0x204], bl
mov byte [esi + 0x206], bl
mov ecx, dword [eax]
mov edx, dword [ecx + 0x100]
push ebx
push eax
call edx
mov edx, dword [esi + 0x154]
mov ecx, 0x2ac
mov eax, 0x220
cmp edx, ebx
jle 0x406084
mov ecx, edx
mov edx, dword [esi + 0x158]
cmp edx, ebx
jle 0x406090
mov eax, edx
cmp byte [esi + 0x1fc], 1
jne 0x4060a9
push 4
push eax
push ecx
push 0x2710
push 0x2710
jmp 0x4060af
push 2
push eax
push ecx
push ebx
push ebx
push 0x471e20
mov ecx, esi
call fcn.00424922
mov eax, dword [esi + 0x208]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [esi + 0x20]
push 1
push 0x80
push eax
call edi
mov eax, dword [esi + 0x208]
mov ecx, dword [esi + 0x20]
push eax
push ebx
push 0x80
push ecx
call edi
push 4
call fcn.004146f2
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x38], 2
cmp edi, ebx
je 0x406116
mov eax, dword [esi + 0x15c]
add eax, 0x94
push eax
mov ecx, edi
call fcn.00403e90
jmp 0x406118
xor edi, edi
push ebx
push ebx
push ebx
push ebx
mov byte [esp + 0x48], bl
mov edi, dword [edi]
push ebx
push edi
mov ecx, esi
call fcn.00421516
push 0x6c
call fcn.004146f2
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
mov byte [esp + 0x38], 3
cmp edi, ebx
je 0x40616e
mov ecx, edi
call fcn.00423911
mov dword [edi], vtable.InstallManager.0
mov dword [edi + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
mov dword [edi + 0x68], 0x10101
mov ecx, edi
jmp 0x406170
xor ecx, ecx
push ebx
push ebx
mov byte [esp + 0x40], bl
push 4
mov dword [esi + 0x20c], ecx
call fcn.00423ddd
mov edx, dword [esi + 0x20c]
mov eax, dword [esi + 0x20]
mov dword [edx + 0x44], eax
mov ecx, dword [esi + 0x20c]
mov edx, dword [esi + 0x15c]
mov dword [ecx + 0x48], edx
mov eax, dword [esi + 0x20c]
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 0x200]
push edx
mov ecx, esi
call fcn.0042467e
cmp byte [esi + 0x1fc], 1
je 0x4061d6
mov eax, dword [esi + 0x20]
push ebx
push ebx
push 0x800e
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
call fcn.00407fb0
jmp 0x40621a
cmp byte [esi + 0x1fc], 1
je 0x4061fa
mov ecx, dword [esi + 0x25c]
mov edx, dword [ecx + 0x30]
push ebx
push ebx
push 0x8008
push edx
call edi
push ebx
push 0x41010
push 0x45dc18
push str.Sorry__there_was_an_error_with_your_installation.__Please_check_your_Internet_connection_and_try_again.
push ebx
call dword [sym.imp.USER32.dll_MessageBoxExW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0041fc3d
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret