Function at 0x4a0560
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6868da
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x79cac4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x338], 0
jne 0x4a0844
call fcn.0049f680
push dword [edi + 0x1d8]
mov bh, al
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a05cf
push 0
push 0
push 0xf0
push dword [edi + 0x1d8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x4a05cf
mov bl, al
jmp 0x4a05d1
xor bl, bl
test bh, bh
je 0x4a05e0
test bl, bl
jne 0x4a05ee
mov ecx, 0x6e5f
jmp 0x4a05e9
test bl, bl
je 0x4a05ee
mov ecx, 0x6e5e
call fcn.00497160
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push reloc.OLEAUT32.dll_SysReAllocString
sub esp, 0x18
mov dword [ebp - 4], eax
mov ecx, esp
call fcn.0046ce70
lea edx, [ebp - 0x28]
mov ecx, str.InstallationType
call fcn.0046d320
add esp, 0x1c
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x18], 0xa
jne 0x4a06fc
mov esi, 0xa
mov edx, str.PerMachine
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x4a06fc
add ecx, 2
add edx, 2
sub esi, 1
jne 0x4a0643
test bl, bl
jne 0x4a0704
mov edx, 0x474
lea ecx, [ebp - 0x58]
call fcn.00478590
mov esi, eax
mov edx, 0x5c8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00478590
cmp dword [esi + 0x14], 8
jb 0x4a068a
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x4a0692
mov eax, dword [eax]
push 0x10034
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00453390
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.00453390
cmp esi, 6
jne 0x4a06ef
cmp dword [edi + 0x3d8], 0
jne 0x4a080c
mov ecx, dword [edi + 4]
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [esi - 4]
call fcn.0048c7a0
add esp, 4
push 0
push 0
push 0x465
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x28]
call fcn.00453390
jmp 0x4a0a48
test bl, bl
je 0x4a080c
push 0xc
lea esi, [edi + 0x380]
push str.__permachine
mov ecx, esi
call fcn.00459fe0
lea ecx, [edi + 0x398]
cmp ecx, esi
je 0x4a0735
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4a072c
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00459550
mov ecx, edi
call fcn.004a0fe0
mov ecx, edi
call fcn.004a1b70
push ecx
lea ecx, [edi + 4]
call fcn.004a3e80
push 0x130
call fcn.006113aa
mov edx, eax
add esp, 4
mov dword [ebp - 0x60], edx
mov byte [ebp - 4], 2
lea eax, [edi + 0x3dc]
cmp dword [edi + 0x3d8], 1
push 0
sete cl
movzx ecx, cl
push ecx
lea ecx, [edi + 0x348]
push ecx
push eax
mov ecx, edx
call fcn.00489640
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x60], 0
push dword [ebp - 0x60]
mov dword [ebp - 0x64], 0
push eax
call fcn.004a3620
lea eax, [ebp - 0x64]
lea ebx, [edi + 0x338]
push eax
mov ecx, ebx
call fcn.00468690
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x60]
test esi, esi
je 0x4a07e2
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x4a07e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x4a07e2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebx]
lea eax, [esi + 8]
push eax
push 0
push esi
push 0x474300
push 0
push 0
call fcn.0065f176
add esp, 0x18
mov dword [esi + 4], eax
lea ecx, [ebp - 0x28]
call fcn.00453390
jmp 0x4a0a48
push 9
lea esi, [edi + 0x380]
push str.__peruser
mov ecx, esi
call fcn.00459fe0
cmp dword [edi + 0x3d8], 0
je 0x4a0718
push 0xc
push str.__permachine
lea ecx, [edi + 0x398]
call fcn.00459fe0
jmp 0x4a0735
push dword [edi + 0x1c0]
xor ebx, ebx
mov byte [ebp - 0x59], bl
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4a0879
push ebx
push ebx
push 0xf0
push dword [edi + 0x1c0]
call esi
cmp eax, 1
jne 0x4a0879
lea ebx, [eax + 2]
mov byte [ebp - 0x59], al
push dword [edi + 0x1c4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a08a5
push 0
push 0
push 0xf0
push dword [edi + 0x1c4]
call esi
cmp eax, 1
jne 0x4a08a5
or ebx, 4
mov byte [ebp - 0x59], al
push dword [edi + 0x1c8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a08d1
push 0
push 0
push 0xf0
push dword [edi + 0x1c8]
call esi
cmp eax, 1
jne 0x4a08d1
or ebx, 8
mov byte [ebp - 0x59], al
push dword [edi + 0x1d0]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a08fd
push 0
push 0
push 0xf0
push dword [edi + 0x1d0]
call esi
cmp eax, 1
jne 0x4a08fd
or ebx, 0x10
mov byte [ebp - 0x59], al
push dword [edi + 0x1cc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4a0929
push 0
push 0
push 0xf0
push dword [edi + 0x1cc]
call esi
cmp eax, 1
jne 0x4a0929
or ebx, 0x20
mov byte [ebp - 0x59], al
push 0x20
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Setup_CreateScreenshotEditorLink
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00459550
lea ecx, [edi + 0x1ac]
mov dword [ebp - 4], 4
lea edx, [ebp - 0x28]
call fcn.0049f770
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00453390
push 0x15
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Setup_CreateNotesLink
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00459550
lea ecx, [edi + 0x1b0]
mov dword [ebp - 4], 5
lea edx, [ebp - 0x28]
call fcn.0049f770
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00453390
push 0x18
xor eax, eax
mov dword [ebp - 0x30], 0
push str.Setup_CreateTelemostLink
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00459550
lea ecx, [edi + 0x1b4]
mov dword [ebp - 4], 6
lea edx, [ebp - 0x40]
call fcn.0049f770
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0xffffffff
call fcn.00453390
cmp byte [ebp - 0x59], 0
mov ecx, 0x6e6a
jne 0x4a0a0e
mov ecx, 0x6e6b
call fcn.00497160
mov esi, dword [edi + 0x338]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esi + 0x12c], ebx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0x98]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00611399
mov esp, ebp
pop ebp
ret 0x10