Function at 0x111afd90
Capabilities:
Check for time delay via gettickcount
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111eb5a4
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x11279148]
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
cmp dword [0x1127f7b4], 0
jne 0x111afdd2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x1127f7b4], eax
cmp byte [0x1127ab45], 0
jne 0x111afde0
call fcn.11067510
call fcn.111babb0
test al, al
je 0x111afe16
cmp byte [0x1127ad8e], 0
je 0x111afe16
mov ecx, dword [0x1127ab0c]
push 0xc0
call fcn.110c2130
test eax, eax
jne 0x111afe16
call fcn.11076cc0
test al, al
je 0x111afe16
mov byte [0x1127ad8e], 0
call fcn.111a4cb0
push 0
call fcn.111a4780
mov ebx, dword [sym.imp.USER32.dll_IsWindowVisible]
add esp, 4
cmp dword [0x1127f6fc], 0
je 0x111aff11
dec dword [0x1127f6fc]
jne 0x111b04ca
push 0
push 0
push 0x30000102
call fcn.111af870
mov eax, dword [0x1127ab38]
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_IsWindow]
mov ecx, dword [0x1127ab38]
push eax
push ecx
call ebx
mov edx, dword [0x1127ab38]
push eax
push edx
push str.MainWnd___08x__visible__d__valid__d_n
call fcn.111bd7b0
mov ecx, dword [0x1127aa68]
add esp, 0x10
push 0
push 0
push str.HideWhenIdle
push str.Client
call fcn.110bbc00
mov esi, eax
mov eax, dword [0x1127ab38]
push eax
call ebx
test eax, eax
jne 0x111aff07
cmp dword [0x1127abe0], eax
jne 0x111aff07
push str.Reactivate_main_window_n
call fcn.111bd7b0
add esp, 4
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test esi, esi
jne 0x111afef4
mov ecx, dword [0x1127ab38]
push esi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push ecx
call esi
push 4
call fcn.111a2310
push 7
call fcn.111a2310
mov edx, dword [0x1127ab38]
add esp, 8
push 1
push edx
call esi
test edi, edi
je 0x111aff07
cmp edi, dword [0x1127ab38]
je 0x111aff07
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [0x1127f6ec], 1
cmp dword [0x1127ac18], 0
jne 0x111affd0
cmp dword [0x1127f6ec], 0
je 0x111affd0
cmp dword [0x1127f6f4], 0
je 0x111affd0
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x111affd0
push eax
call ebx
test eax, eax
je 0x111affd0
cmp dword [0x1127ad00], 0
jne 0x111affd0
push 0
push 0
push 0x30000102
mov dword [0x1127f6ec], 0
call fcn.111af870
mov eax, dword [0x1127ab38]
add esp, 0xc
push eax
call ebx
test eax, eax
je 0x111affd0
mov ecx, dword [0x1127ab38]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x111affd0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 4
mov esi, eax
call fcn.111a2310
push 7
call fcn.111a2310
add esp, 8
test esi, esi
je 0x111affc1
cmp esi, dword [0x1127ab38]
je 0x111affc1
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0x1127ab38]
push 1
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x2c]
push 0x3e8
push 1
call edx
cmp dword [0x11277cc0], 0
jge 0x111b0168
cmp dword [0x1127ad00], 0
je 0x111b0049
mov dword [0x11277cc0], 1
xor ebx, ebx
cmp dword [0x1127f7a4], ebx
je 0x111b01c5
mov ecx, dword [0x1127aa68]
dec dword [0x1127f7a4]
push ebx
push ebx
push str.HookDirectSound
push str.Audio
call fcn.110bbc00
cmp eax, 2
jne 0x111b01bf
push 1
push 1
call fcn.1106d160
add esp, 8
jmp 0x111b01c5
mov ecx, dword [0x1127aa68]
push 0
push 0
push str.disableRunplugin
push str.Client
call fcn.110bbc00
mov dword [0x11277cc0], eax
test eax, eax
jne 0x111b0004
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
push 0
push 0x105
lea edx, [ebp - 0x21c]
push edx
call eax
cmp word [ebp - 0x21c], 0x22
mov ebx, dword [sym.imp.MSVCR100.dll_wcschr]
lea esi, [ebp - 0x21c]
jne 0x111b00b8
lea esi, [ebp - 0x21a]
mov ecx, esi
push 0x22
push ecx
call ebx
add esp, 8
test eax, eax
je 0x111b00b8
xor edx, edx
mov word [eax], dx
push 0
push esi
call fcn.111be4e0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
test eax, eax
jne 0x111b00e8
call edi
push eax
push esi
push str.File___s__doesnt_exist__e_d_n
call fcn.111bd7b0
add esp, 0xc
mov dword [0x11277cc0], 1
cmp byte [0x1127ad15], 0
je 0x111b0168
mov ecx, dword [0x1127b21c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x110]
push 1
push 0x105
lea edx, [ebp - 0x21c]
push edx
call eax
cmp word [ebp - 0x21c], 0x22
lea esi, [ebp - 0x21c]
jne 0x111b0138
lea esi, [ebp - 0x21a]
mov ecx, esi
push 0x22
push ecx
call ebx
add esp, 8
test eax, eax
je 0x111b0138
xor edx, edx
mov word [eax], dx
xor ebx, ebx
push ebx
push esi
call fcn.111be4e0
add esp, 8
test eax, eax
jne 0x111b0168
call edi
push eax
push esi
push str.File___s__doesnt_exist__e_d_n
call fcn.111bd7b0
add esp, 0xc
mov dword [0x11277cc0], 1
jmp 0x111b0006
xor ebx, ebx
cmp dword [0x11277cc0], ebx
jne 0x111b0006
mov ecx, dword [0x1127f844]
mov eax, ecx
inc ecx
mov dword [0x1127f844], ecx
test eax, eax
jne 0x111b019f
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x100]
call eax
mov ecx, dword [0x1127f844]
mov eax, 0x99999999
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
add ecx, eax
lea edx, [ecx + eax*4]
mov dword [0x1127f844], edx
jmp 0x111b0006
mov dword [0x1127f7a4], ebx
cmp dword [0x1127f6f8], ebx
je 0x111b01dc
push ebx
push ebx
push 0x30000102
call fcn.111af870
add esp, 0xc
mov ecx, dword [0x1127ab0c]
cmp ecx, ebx
je 0x111b01f6
push ebx
push 0x1119e730
push 0xd0
call fcn.110ca780
call fcn.1119e670
cmp dword [0x1127ab10], ebx
je 0x111b020c
push ebx
call fcn.111a2fa0
add esp, 4
movzx eax, word [0x1127aa48]
dec eax
je 0x111b0222
sub eax, 2
jne 0x111b0227
call fcn.111a2ae0
jmp 0x111b0227
call fcn.111a2a10
cmp dword [0x1127ad00], ebx
jne 0x111b033c
cmp dword [0x1127ac44], ebx
je 0x111b02ee
mov eax, dword [0x1127b21c]
cmp dword [eax + 8], ebx
je 0x111b033c
cmp dword [0x1127f7b8], ebx
jne 0x111b033c
push 0x78
call fcn.111709c0
mov esi, eax
add esp, 4
mov dword [ebp - 0x220], esi
mov dword [ebp - 4], ebx
cmp esi, ebx
je 0x111b0293
push ebx
push 1
push ebx
push 0x1127f7bc
mov ecx, esi
call fcn.110acbe0
mov dword [esi], vtable.NSMFakeClientConnection.1.0
mov dword [esi + 0x48], vtable.NSMFakeClientConnection.0
mov ecx, esi
jmp 0x111b0295
xor ecx, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [0x1127f7b8], ecx
call fcn.111707e0
mov ecx, dword [0x1127f7b8]
call fcn.11098a90
mov ecx, dword [0x1127f7b8]
call fcn.1109e440
mov ecx, dword [0x1127f7b8]
call fcn.1109e4b0
mov ecx, dword [0x1127f7b8]
call fcn.11098ad0
mov ecx, dword [0x1127ad34]
mov dword [0x1127ad6c], 1
cmp ecx, ebx
je 0x111b033c
call fcn.11142140
jmp 0x111b033c
mov ecx, dword [0x1127f7b8]
cmp ecx, ebx
je 0x111b033c
call fcn.1108c8d0
mov ecx, dword [0x1127f7b8]
call fcn.1108c910
mov ecx, dword [0x1127f7b8]
call fcn.1108c930
mov ecx, dword [0x1127f7b8]
call fcn.1108c8f0
mov ecx, dword [0x1127f7bc]
push ecx
mov ecx, dword [0x1127f7b8]
call fcn.111707f0
mov dword [0x1127f7b8], ebx
mov dword [0x1127f7bc], ebx
call fcn.111a5250
cmp dword [0x1127f79c], ebx
je 0x111b0375
mov ecx, dword [0x1127ab0c]
push 0xc0
call fcn.110c2130
test eax, eax
jne 0x111b0375
push str.pending_policy_check_n
call fcn.111bd7b0
add esp, 4
mov dword [0x1127f79c], ebx
call fcn.111b78b0
cmp dword [0x1127acfc], ebx
je 0x111b04ba
cmp byte [0x1127f7ad], 0
jne 0x111b04ba
mov ecx, dword [0x1127aa68]
push ebx
push ebx
push str.NeedsReinstall
push str.Client
call fcn.110bbc00
test eax, eax
je 0x111b04ba
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xd8]
call eax
cmp word [eax], bx
je 0x111b03ed
cmp dword [0x1127f7b0], ebx
jne 0x111b03f9
push eax
push str.ShowNeedsReinstall_in_15__user_s_n
call fcn.111bd7b0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x3a98
mov dword [0x1127f7b0], eax
jmp 0x111b04ba
cmp dword [0x1127f7b0], ebx
je 0x111b04ba
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x1127f7b0]
jb 0x111b04ba
mov byte [0x1127f7ad], 1
call fcn.111b8750
push eax
push 0x3fb
call fcn.111be4c0
mov edi, eax
add esp, 8
mov dword [ebp - 0x220], edi
mov dword [ebp - 4], 1
call fcn.111b8750
lea ecx, [ebp - 0x254]
mov esi, eax
call fcn.11063020
mov eax, edi
mov byte [ebp - 4], 2
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x111b0450
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, esi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x111b0466
push 0
lea ecx, [ebp - 0x224]
push ecx
push 0xa
push 0
sub eax, ebx
add edx, edx
push edx
push edi
sar eax, 1
add eax, eax
push eax
push esi
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x254]
call fcn.11148930
mov eax, dword [ebp - 0x254]
test eax, eax
je 0x111b04aa
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov dword [ebp - 4], 0xffffffff
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [0x1127b21c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x84]
call 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.111d9022
mov esp, ebp
pop ebp
ret