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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ecx + 8]
mov eax, dword [ebx + 0x10]
push esi
mov esi, dword [ebp + 8]
cmp dword [esi], 2
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
jne 0x11122510
mov edx, dword [ecx]
push eax
mov eax, dword [edx]
call eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 0x5a4], 0
je 0x11122540
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
sub eax, dword [ebx + 0x5a4]
cmp eax, 0x1388
jbe 0x11122540
mov esi, ebx
mov dword [ebx + 0x5a4], 0
call fcn.11116320
mov esi, dword [ebp + 8]
mov dword [ebx + 0x594], esi
push edi
mov edi, dword [esi + 0x10]
movzx eax, word [edi]
mov esi, dword [esi + 0xc]
and eax, 0xff
mov dword [ebp - 0x14], eax
add eax, 0xfffffff7
mov dword [ebp - 8], edi
mov dword [ebp + 8], esi
cmp eax, 0xd3
ja case.0x11122573.11
movzx ecx, byte [eax + 0x1112284c]
jmp dword [ecx*4 + 0x111227f8]
push esi
push edi
push ebx
call fcn.11121b80
add esp, 0xc
jmp 0x11122788
push esi
mov edx, edi
mov ecx, ebx
call fcn.1111d040
jmp 0x11122785
push esi
mov edx, edi
mov ecx, ebx
call fcn.11120cd0
jmp 0x11122785
cmp dword [ebx + 0xcc], 0
jne 0x11122788
mov ecx, edi
mov eax, ebx
call fcn.11121090
jmp 0x11122788
cmp dword [ebp + 0xc], 0
mov ecx, dword [ebp - 4]
push esi
push edi
je 0x111225da
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
jmp 0x11122788
call fcn.11119e70
jmp 0x11122788
cmp dword [ebp + 0xc], 0
je case.0x11122573.11
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push esi
push edi
call eax
jmp 0x11122788
cmp dword [ebp + 0xc], 0
je 0x11122788
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push edi
call eax
jmp 0x11122788
mov ecx, dword [ebp - 4]
push esi
push edi
call fcn.1111c940
jmp 0x11122788
movzx ecx, byte [edi + 4]
movzx edx, byte [edi + 3]
movzx edi, byte [edi + 2]
push ecx
push edx
mov esi, ebx
call fcn.11114590
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 8]
add esp, 8
jmp 0x11122788
mov esi, edi
mov eax, ebx
call fcn.11122260
mov esi, dword [ebp + 8]
jmp 0x11122788
push esi
mov eax, edi
mov ecx, ebx
call fcn.11121410
jmp 0x11122785
mov eax, esi
push edi
mov esi, ebx
call fcn.1111a800
jmp 0x11122782
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ebx, esi
call fcn.1111d820
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 8]
jmp 0x11122788
mov ecx, edi
mov eax, esi
mov edi, ebx
call fcn.1111d660
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 8]
jmp 0x11122788
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x428]
push edi
push eax
call fcn.1115ef20
jmp 0x11122788
cmp dword [ebx + 0x428], 0
je case.0x11122573.11
test byte [ebx + 0xc0], 1
je 0x11122788
cmp dword [ebx + 0x190], 0
jne 0x11122788
mov esi, ebx
call fcn.11119e30
mov ecx, dword [ebx + 0x68]
push edx
push eax
push edi
push ecx
mov ecx, dword [ebx + 0x428]
call fcn.1115f030
mov esi, dword [ebp + 8]
jmp 0x11122788
push 0x111b4228
call fcn.11147060
add esp, 4
call dword [sym.imp.KeRneL32.DLl_GetTickCount]
add eax, 0x3e8
mov dword [ebx + 0x42c], eax
jne 0x11122788
mov dword [ebx + 0x42c], 1
jmp 0x11122788
mov ecx, dword [ebp - 4]
push 0
push esi
push edi
call fcn.11118ea0
jmp 0x11122788
push esi
mov esi, ebx
call fcn.11112e00
jmp 0x1112277f
mov ecx, dword [ebx + 8]
push 0
push 0
push 0x111b8964
push 0x111a0f50
call fcn.1105e820
test eax, eax
jne 0x11122788
cmp dword [ebx + 0x48], eax
jne 0x11122788
movzx eax, word [edi + 2]
mov dword [ebx + 0x48], eax
mov ebx, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
call fcn.11112f50
mov ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 8]
add esp, 4
cmp dword [ebx + 0x578], 0
je 0x111227d2
cmp dword [ebp - 0x14], 0x73
jne 0x111227bf
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x111227bf
mov ecx, dword [ebx + 8]
push 0
push 0
push 0x111b73c0
push 0x111a1020
call fcn.1105e820
test eax, eax
je 0x111227d2
mov ecx, dword [ebx + 0x578]
push 0
push edi
push esi
push ecx
call fcn.11112af0
add esp, 0x10
pop edi
pop esi
mov dword [ebx + 0x594], 0
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8