Function at 0x10089a80
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101478c7
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x598
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x498], ecx
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0xc]
mov edi, dword [ebx + 0x34]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0x4c0], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x4a8], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x4bc], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x49c], esi
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4b4], 0
call fcn.1008d0d0
push 0xd
mov ecx, eax
call fcn.1008dfd0
mov ecx, esi
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089b51
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.10002060
mov byte [ebp - 4], 1
call fcn.100deed0
mov dword [ebp - 0x4a4], 6
lea esi, [eax + 0x60]
lea eax, [ebp - 0x4a4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100e1770
mov edx, dword [ebp - 0x1c]
cmp byte [edx + 0xd], 0
jne 0x10089ba1
cmp dword [edx + 0x10], 6
jle 0x10089ba3
mov edx, dword [esi]
cmp edx, dword [esi]
je 0x10089bb4
add edx, 0x14
cmp dword [edx + 0x14], 8
jb 0x10089bb9
mov edx, dword [edx]
jmp 0x10089bb9
mov edx, 0x10168c44
mov ecx, edx
mov dword [ebp - 0x60], 0
xor eax, eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10089be0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.10002060
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x50]
test ecx, ecx
je 0x10089c26
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
cmp word [eax + ecx*2 - 2], 0x5c
je 0x10089c26
push 1
push 0x1016ae40
lea ecx, [ebp - 0x60]
call fcn.100021c0
push 0xa
push str.Installing
lea ecx, [ebp - 0x60]
call fcn.100021c0
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 4
lea eax, [ebp - 0x78]
cmp dword [ebp - 0x64], 8
lea ecx, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x78]
lea edx, [ebp - 0x60]
cmp dword [ebp - 0x4c], 8
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
cmovae edx, dword [ebp - 0x60]
call fcn.100dcd90
add esp, 8
lea ecx, [ebp - 0x30]
test al, al
je 0x10089dea
cmp dword [ebp - 0x20], 0
je 0x10089dea
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x4a0]
cmovae ecx, dword [ebp - 0x30]
call fcn.10082110
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x491], al
mov byte [ebp - 4], 3
call fcn.10002400
cmp byte [ebp - 0x491], 0
je 0x10089df3
mov ecx, dword [ebp - 0x498]
push str.Installer::WaitForInstaller
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x490]
call fcn.1000ab60
mov byte [ebp - 4], 5
push dword [ebp - 0x4a0]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x10089d80
push str.Installer::WaitForInstaller
lea edx, [eax + 4]
lea ecx, [ebp - 0x5a0]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
mov al, byte [esi + 0x48]
test al, al
je 0x10089d58
mov edx, str.failed_open_process
mov ecx, esi
call fcn.10020800
mov al, byte [esi + 0x48]
test al, al
je 0x10089d58
push dword [ebp - 0x4a0]
mov ecx, esi
call fcn.100201d0
cmp byte [esi + 0x48], 0
je 0x10089d58
mov edx, 0x1016d510
mov ecx, esi
call fcn.10020800
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [esi + 0x48], 0
je 0x10089d6c
push eax
mov ecx, esi
call fcn.100201d0
lea ecx, [ebp - 0x5a0]
call fcn.1000ad70
mov byte [ebp - 0x491], 0
jmp 0x10089dca
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], esi
push eax
push 2
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
jne 0x10089dc3
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x60]
cmovae eax, dword [ebp - 0x78]
cmp dword [ebp - 0x4c], 8
push eax
cmovae edx, dword [ebp - 0x60]
call fcn.100dd450
add esp, 4
mov byte [ebp - 0x491], 1
lea ecx, [ebp - 0x490]
call fcn.1000ac70
xor eax, eax
mov edi, 3
cmp byte [ebp - 0x491], al
cmovne edi, eax
jmp 0x1008a56e
mov byte [ebp - 4], 3
call fcn.10002400
push edi
mov edi, dword [ebp - 0x498]
mov ecx, edi
call fcn.1008b5a0
test al, al
jne 0x10089e48
push str.ModulesManager::Install
mov edx, 0x10
lea ecx, [ebp - 0x5a0]
call fcn.1000aed0
add esp, 4
mov byte [ebp - 4], 8
cmp byte [eax + 0x48], 0
je 0x10089e33
mov edx, str.CheckSystemRequirements_false
mov ecx, eax
call fcn.100205a0
lea ecx, [ebp - 0x5a0]
call fcn.1000ad70
mov edi, 4
jmp 0x1008a56e
push 7
push str.file:__
push dword [ebp - 0x4a8]
call fcn.1012417b
add esp, 0xc
test eax, eax
jne 0x10089ea6
mov esi, dword [ebx + 0x24]
cmp esi, 2
jne 0x10089e6e
call fcn.1008a9d0
push dword [ebx + 0x3c]
mov eax, dword [ebp - 0x4a8]
mov ecx, edi
push dword [ebx + 0x38]
add eax, 0xe
push dword [ebx + 0x28]
push esi
push dword [ebp - 0x4b8]
push dword [ebp - 0x4bc]
push eax
push dword [ebp - 0x49c]
lea eax, [ebp - 0x78]
push eax
call fcn.1008a630
mov edi, eax
jmp 0x1008a56e
push dword [ebp - 0x4c8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push dword [ebp - 0x4ac]
push dword [ebp - 0x49c]
push eax
call fcn.10088a20
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x1008a0bb
cmp dword [esi + 0x4c], 0
jne 0x1008a199
push str.ModulesManager::Install
mov edx, 0x10
lea ecx, [ebp - 0x5a0]
call fcn.1000aed0
add esp, 4
mov dword [ebp - 0x4a4], eax
mov byte [ebp - 4], 0xc
mov cl, byte [eax + 0x48]
test cl, cl
je 0x10089f1f
mov edx, str.found_in_cache__completed:
mov ecx, eax
call fcn.10020800
mov eax, dword [ebp - 0x4a4]
mov cl, byte [eax + 0x48]
cmp dword [esi + 0x44], 0x10
lea edi, [esi + 0x30]
mov edx, edi
jb 0x10089f2c
mov edx, dword [edi]
test cl, cl
je 0x10089f37
mov ecx, eax
call fcn.10020800
lea ecx, [ebp - 0x5a0]
call fcn.1000ad70
cmp dword [edi + 0x14], 0x10
jb 0x10089f4a
mov edi, dword [edi]
mov edx, edi
lea ecx, [ebp - 0x30]
call fcn.1000c8d0
mov ecx, dword [ebp - 0x498]
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
call fcn.1008b280
test al, al
je 0x10089fc1
mov edi, dword [ebx + 0x24]
cmp edi, 2
jne 0x10089f80
call fcn.1008a9d0
push dword [ebx + 0x3c]
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push dword [ebx + 0x38]
cmovae eax, dword [ebp - 0x30]
push dword [ebx + 0x28]
mov ecx, dword [ebp - 0x498]
push edi
push dword [ebp - 0x4b8]
push dword [ebp - 0x4bc]
push eax
push dword [ebp - 0x49c]
lea eax, [ebp - 0x78]
push eax
call fcn.1008a630
mov edi, eax
lea ecx, [ebp - 0x30]
jmp 0x1008a553
push str.ModulesManager::Install
mov edx, 8
lea ecx, [ebp - 0x5a0]
call fcn.1000aed0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0xf
mov al, byte [edi + 0x48]
test al, al
je 0x1008a023
mov edx, str.but
mov ecx, edi
call fcn.100205a0
mov al, byte [edi + 0x48]
test al, al
je 0x1008a023
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
push dword [ebp - 0x20]
cmovae edx, dword [ebp - 0x30]
mov ecx, edi
call fcn.10021f70
add esp, 4
cmp byte [edi + 0x48], 0
je 0x1008a023
mov edx, str._isnt_trusted
mov ecx, edi
call fcn.10020800
lea ecx, [ebp - 0x5a0]
mov byte [ebp - 4], 0xd
call fcn.1000ad70
mov edx, dword [ebp - 0x49c]
lea ecx, [ebp - 0x4e0]
call fcn.1000c880
cmp dword [eax + 0x14], 0x10
jb 0x1008a04b
mov eax, dword [eax]
mov ecx, eax
call fcn.10084bf0
mov edx, dword [ebp - 0x4cc]
cmp edx, 0x10
jb 0x1008a08c
mov ecx, dword [ebp - 0x4e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008a082
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008a5b5
push edx
push ecx
call fcn.101157ed
add esp, 8
mov edi, esi
xor esi, esi
mov dword [ebp - 0x18], esi
test edi, edi
je 0x1008a0a9
mov ecx, edi
call fcn.1002ed30
push 0x50
push edi
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xb
call fcn.10002400
mov edi, dword [ebp - 0x498]
lea ecx, [ebp - 0x4f8]
call fcn.10085070
mov ecx, 2
mov dword [ebp - 0x48], 0
xor edx, edx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ebp - 4], 0x11
test cl, 2
je 0x1008a12a
and ecx, 0xfffffffd
mov dword [ebp - 0x4a4], ecx
lea ecx, [ebp - 0x4f8]
call fcn.10002400
mov ecx, dword [ebp - 0x4a4]
mov byte [ebp - 4], 0x12
test cl, 1
je 0x1008a13e
lea ecx, [ebp - 0x4e0]
call fcn.10002400
push 0
push dword [ebp - 0x49c]
mov ecx, edi
call fcn.10086a30
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x1008a163
mov dword [ebp - 0x4a0], 1
cmp ecx, 3
jne 0x1008a16d
mov dword [ebp - 0x4a0], 3
cmp dword [ebx + 0x24], 2
mov dword [ebp - 0x4b0], 0
setne dl
xor eax, eax
cmp ecx, 3
mov dword [ebp - 0x4a4], edx
cmove ecx, eax
mov dword [ebx + 0x20], ecx
nop
test esi, esi
je 0x1008a1bf
mov ecx, dword [esi + 0x4c]
jmp 0x1008a1c1
cmp dword [esi + 0x44], 0x10
lea edx, [esi + 0x30]
jb 0x1008a1a4
mov edx, dword [edx]
lea ecx, [ebp - 0x4e0]
call fcn.1000c8d0
lea eax, [ebp - 0x4e0]
mov ecx, 1
jmp 0x1008a0cb
xor ecx, ecx
push dword [ebx + 0x28]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push edx
push dword [ebx + 0x20]
cmovae eax, dword [ebp - 0x48]
push ecx
push eax
push dword [ebp - 0x4a8]
mov ecx, edi
push dword [ebp - 0x4c0]
push dword [ebp - 0x4ac]
push dword [ebp - 0x49c]
push dword [ebp - 0x4c4]
call fcn.100892a0
mov edi, eax
cmp edi, 0xb
jne 0x1008a3bf
push str.ModulesManager::Install
lea edx, [eax + 5]
lea ecx, [ebp - 0x5a0]
call fcn.1000aed0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x13
mov al, byte [edi + 0x48]
test al, al
je 0x1008a265
mov edx, str.access_denied_for
mov ecx, edi
call fcn.100205a0
mov al, byte [edi + 0x48]
test al, al
je 0x1008a265
cmp dword [ebp - 0x34], 8
lea edx, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae edx, dword [ebp - 0x48]
mov ecx, edi
call fcn.10021f70
add esp, 4
cmp byte [edi + 0x48], 0
je 0x1008a265
mov edx, str.___rem_from_cache_and_retry_in_a_new_location
mov ecx, edi
call fcn.100205a0
lea ecx, [ebp - 0x5a0]
mov byte [ebp - 4], 0x12
call fcn.1000ad70
mov edx, dword [ebp - 0x49c]
lea ecx, [ebp - 0x4e0]
call fcn.1000c880
cmp dword [eax + 0x14], 0x10
jb 0x1008a28d
mov eax, dword [eax]
mov ecx, eax
call fcn.10084bf0
mov edx, dword [ebp - 0x4cc]
cmp edx, 0x10
jb 0x1008a2ce
mov ecx, dword [ebp - 0x4e0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008a2c4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008a5b5
push edx
push ecx
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x4e0]
call fcn.10085070
mov edi, eax
lea eax, [ebp - 0x48]
cmp eax, edi
je 0x1008a30d
mov ecx, eax
call fcn.10002400
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x4e0]
call fcn.10002400
push str.ModulesManager::Install
mov edx, 0x10
lea ecx, [ebp - 0x5a0]
call fcn.1000aed0
add esp, 4
mov edi, eax
mov byte [ebp - 4], 0x14
mov al, byte [edi + 0x48]
test al, al
je 0x1008a34c
mov edx, str.download_in
mov ecx, edi
call fcn.100205a0
mov al, byte [edi + 0x48]
cmp dword [ebp - 0x34], 8
lea edx, [ebp - 0x48]
cmovae edx, dword [ebp - 0x48]
test al, al
je 0x1008a362
mov ecx, edi
call fcn.100205a0
lea ecx, [ebp - 0x5a0]
mov byte [ebp - 4], 0x12
call fcn.1000ad70
push dword [ebx + 0x28]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push dword [ebp - 0x4a4]
cmovae eax, dword [ebp - 0x48]
push dword [ebx + 0x20]
mov ecx, dword [ebp - 0x498]
push 0
push eax
push dword [ebp - 0x4a8]
push dword [ebp - 0x4c0]
push dword [ebp - 0x4ac]
push dword [ebp - 0x49c]
push dword [ebp - 0x4c4]
call fcn.100892a0
mov edi, eax
cmp edi, 0xb
je 0x1008a4ae
test edi, edi
je 0x1008a4ae
mov eax, dword [ebp - 0x498]
push 0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1008a4ae
mov ecx, dword [ebp - 0x4b0]
mov eax, dword [ebp - 0x4a0]
inc ecx
mov dword [ebp - 0x4b0], ecx
cmp ecx, eax
jge 0x1008a4ae
mov eax, dword [ebp - 0x498]
push 0x1388
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1008a4ae
push dword [ebp - 0x4c8]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x4ac]
push dword [ebp - 0x49c]
push eax
call fcn.10088a20
lea ecx, [ebp - 0x18]
cmp ecx, eax
je 0x1008a469
mov ecx, dword [eax]
mov dword [eax], 0
mov eax, esi
mov dword [ebp - 0x4b4], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
test eax, eax
je 0x1008a469
mov ecx, eax
call fcn.1002ed30
push 0x50
push dword [ebp - 0x4b4]
call fcn.101157ed
add esp, 8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x4b4], eax
test eax, eax
je 0x1008a48d
mov ecx, eax
call fcn.1002ed30
push 0x50
push dword [ebp - 0x4b4]
call fcn.101157ed
add esp, 8
mov eax, dword [ebp - 0x4a0]
mov ecx, dword [ebp - 0x4b0]
cmp ecx, eax
jge 0x1008a4ae
mov edi, dword [ebp - 0x498]
mov edx, dword [ebp - 0x4a4]
jmp 0x1008a190
mov eax, dword [ebp - 0x498]
push 0
push dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1008a4df
mov ecx, dword [ebp - 0x498]
lea edi, [eax + 2]
mov eax, 3
push eax
push dword [ebp - 0x49c]
call fcn.10086a30
jmp 0x1008a550
test edi, edi
je 0x1008a502
mov ecx, dword [ebp - 0x498]
xor eax, eax
cmp edi, 2
sete al
add eax, 2
push eax
push dword [ebp - 0x49c]
call fcn.10086a30
jmp 0x1008a550
mov ecx, dword [ebp - 0x498]
push 1
push dword [ebp - 0x49c]
call fcn.10086a30
push dword [ebx + 0x3c]
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push dword [ebx + 0x38]
cmovae eax, dword [ebp - 0x48]
push dword [ebx + 0x28]
mov ecx, dword [ebp - 0x498]
push dword [ebx + 0x24]
push dword [ebp - 0x4b8]
push dword [ebp - 0x4bc]
push eax
push dword [ebp - 0x49c]
lea eax, [ebp - 0x78]
push eax
call fcn.1008a630
mov edi, eax
lea ecx, [ebp - 0x48]
call fcn.10002400
test esi, esi
je 0x1008a56e
mov ecx, esi
call fcn.1002ed30
push 0x50
push esi
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x60]
call fcn.10002400
lea ecx, [ebp - 0x78]
call fcn.10002400
mov dword [ebp - 4], 0x17
call fcn.1008d0d0
push 0xe
mov ecx, eax
call fcn.1008dfd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x38
call fcn.1011a6bf
int3