Function at 0x111d5f70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
cmp byte [esi + 8], 0xff
mov dword [ebp - 0xac], eax
lea eax, [esi + 8]
push edi
mov dword [ebp - 0xa8], eax
jne 0x111d60d5
mov ecx, dword [esi]
mov edi, dword [ecx]
mov edx, dword [edi]
mov eax, dword [edx + 4]
push 0
push 0x30
lea ebx, [esi + 0x118]
push ebx
push str.SlaveClass
push str.MMPlayer
mov ecx, edi
call eax
test eax, eax
jns 0x111d5fe2
mov eax, str.PCIVideoSlave32
mov edx, ebx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x111d5fd3
mov edx, dword [edi]
mov edx, dword [edx + 4]
push 0
push 0x60
lea eax, [ebp - 0xa4]
push eax
push str.SlaveWindow
push str.MMPlayer
mov ecx, edi
call edx
test eax, eax
jns 0x111d6027
xor eax, eax
jmp 0x111d6010
movzx ecx, word [eax + str.PCIVideoSlave:0x_x]
mov word [ebp + eax - 0xa4], cx
add eax, 2
test cx, cx
jne 0x111d6010
mov eax, dword [ebp - 0xac]
push eax
lea ecx, [ebp - 0xa4]
push ecx
lea ebx, [esi + 0x148]
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
mov edx, dword [edi]
mov edx, dword [edx + 4]
add esp, 0xc
push 0
push 0x84
lea eax, [ebp - 0xa4]
push eax
push str.SlavePlayer
push str.MMPlayer
mov ecx, edi
call edx
test eax, eax
jns 0x111d60b7
push 0
push 0
push 6
call fcn.111bb9f0
add esp, 0xc
test eax, eax
je 0x111d6099
xor eax, eax
mov edi, edi
movzx ecx, word [eax + str.PCIVideoVi.exe__x__w__s_]
mov word [ebp + eax - 0xa4], cx
add eax, 2
test cx, cx
jne 0x111d6080
jmp 0x111d60b7
xor eax, eax
jmp 0x111d60a0
movzx ecx, word [eax + str.PCIVideo.exe__x__w__s_]
mov word [ebp + eax - 0xa4], cx
add eax, 2
test cx, cx
jne 0x111d60a0
mov ecx, dword [ebp - 0xa8]
push ebx
lea eax, [ebp - 0xa4]
push eax
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0xa8]
add esp, 0xc
cmp byte [eax], 0
je 0x111d628f
cmp dword [esi + 0x1a8], 0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov dword [ebp - 0xb0], eax
jne 0x111d628f
movzx eax, word [esi + 0x118]
lea edi, [esi + 0x118]
mov dword [esi + 0x114], 0
test ax, ax
je 0x111d6116
xor ecx, ecx
jmp 0x111d611c
lea ecx, [esi + 0x148]
mov ebx, dword [sym.imp.USER32.dll_FindWindowW]
neg eax
sbb eax, eax
and eax, edi
push ecx
push eax
call ebx
mov dword [esi + 0x1a8], eax
test eax, eax
jne 0x111d628f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi]
mov edx, dword [ecx]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa8]
push edx
push eax
call fcn.111d5d80
add esp, 8
test eax, eax
jne 0x111d61aa
mov esi, dword [ebp - 0xa8]
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push esi
push 0
push 0x5d2
push eax
call edx
add esp, 0x10
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Here_2___d__n
call fcn.111bd7b0
add esp, 8
pop edi
pop esi
mov eax, 0x5d2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xb8], eax
movzx eax, word [edi]
test ax, ax
je 0x111d61c2
xor ecx, ecx
jmp 0x111d61c8
lea ecx, [esi + 0x148]
neg eax
sbb eax, eax
and eax, edi
push ecx
push eax
call ebx
mov dword [esi + 0x1a8], eax
test eax, eax
jne 0x111d61f7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0xb8]
cmp eax, 0x2710
jl 0x111d61b6
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [esi + 0x1a8]
test eax, eax
jne 0x111d6258
mov eax, dword [ebp - 0xb0]
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push edi
add esi, 0x148
push esi
push 0
push 0x5d3
push eax
call edx
mov eax, dword [ebp - 0xa8]
add esp, 0x14
pop edi
pop esi
mov byte [eax], 0
mov eax, 0x5d3
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0xac]
push ecx
push eax
mov dword [ebp - 0xac], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
shr eax, 0x10
cmp eax, 4
jae 0x111d628f
mov dword [esi + 0x1c4], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.111d9022
mov esp, ebp
pop ebp
ret