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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov ecx, dword [eax + 0x35b0]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x1162aba
test dword [ecx + 0x138], 0x200
jne 0x1162aba
cmp dword [edi + 0xa64], 0
jne 0x1162aba
cmp dword [edi + 0xa54], 0
jne 0x1162aba
test byte [ecx + 0x710], 0x40
jne 0x11630f5
cmp dword [ecx + 0x22c], 0
je 0x11630f5
mov edx, dword [eax + 0x304]
push ebx
push esi
lea ecx, [ebp - 0x24]
push ecx
call edx
mov ecx, dword [edi]
lea eax, [ebp - 0x24]
push eax
push ecx
call fcn.0102b650
mov ecx, dword [edi]
cmp dword [ecx + 0x1f2b0], 0
mov esi, eax
mov dword [ebp - 0x10], esi
mov ebx, 1
je 0x1162b05
mov dword [ecx + 0x1f2b0], 0
jmp 0x1162cc2
mov eax, dword [ecx + 0x35b0]
mov edx, dword [eax + 0x230]
cmp edx, ebx
jne 0x1162b4a
cmp dword [ecx + 0x1f5d4], 0
jne 0x11630f3
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, 0x36ee80
jae 0x11630f3
mov edx, dword [edi]
cmp dword [edx + 0x132c4], 0
jne 0x11630f3
mov dword [ebp - 4], ebx
jmp 0x1162cc2
cmp dword [ebp + 0x10], 0
je 0x1162b7a
cmp dword [eax + 0x1c], 0
je 0x1162b7a
test byte [eax + 0x224], bl
je 0x1162b7a
test edx, edx
jne 0x1162b7a
mov ecx, esi
sub ecx, dword [eax + 0x17c]
cmp ecx, 0x15f90
jbe 0x1162b7a
mov dword [ebp - 4], ebx
jmp 0x1162cc2
cmp dword [edi + 0xa4c], 0
jne 0x1162bc8
cmp dword [eax + 0x1c], 0
jne 0x1162bc8
cmp dword [ebp + 0xc], 0x12c
jbe 0x1162bc8
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x1162bc8
cmp dword [eax + 0x17c], 0
je 0x1162bc8
mov ebx, esi
sub ebx, ecx
cmp ebx, 0xa8c
jbe 0x1162bc8
mov dword [eax + 0x1c], 1
mov edx, dword [edi]
mov eax, dword [edx + 0x35b0]
push eax
call fcn.0103fa70
jmp 0x1162cc2
mov ecx, dword [eax + 0x17c]
test ecx, ecx
je 0x11630f3
test edx, edx
je 0x1162be9
movzx ebx, word [ebp - 0x20]
add ebx, 2
cmp edx, ebx
jne 0x11630f3
sub esi, ecx
cmp esi, 0xe4c
jbe 0x11630f3
mov ebx, dword [eax + 0x234]
cmp ebx, 4
jl 0x1162c36
test byte [eax + 0x224], 0x20
je 0x1162c31
mov ecx, dword [ebp - 0x1a]
push ecx
push edi
call fcn.010585e0
test eax, eax
jne 0x1162c31
cmp esi, 0x15f90
jbe 0x11630f3
mov dword [ebp - 4], 1
jmp 0x1162cc2
cmp ebx, 4
jge 0x1162cb3
cmp esi, 0x7080
jbe 0x11630f3
cmp esi, 0x1fa40
jbe 0x1162c53
mov dword [ebp - 4], 1
jmp 0x1162cc2
push edi
call fcn.010585a0
test eax, eax
je 0x11630f3
mov edx, dword [edi]
mov eax, dword [edx + 0x35b0]
mov eax, dword [eax + 0x234]
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x1162c7f
lea edx, [ecx - 1]
cmp dx, 6
jbe 0x1162cc2
cmp eax, 1
jne 0x1162c8d
lea edx, [ecx - 9]
cmp dx, 2
jbe 0x1162cc2
cmp eax, 2
jne 0x1162c9b
lea edx, [ecx - 0xd]
cmp dx, 3
jbe 0x1162cc2
cmp eax, 3
jne 0x11630f3
add ecx, 0xffffffee
cmp cx, 5
ja 0x11630f3
jmp 0x1162cc2
movzx eax, word [ebp - 0x1c]
add ebx, 0xfffffffc
cmp ebx, eax
jne 0x11630f3
xor ebx, ebx
push edi
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0x10], ebx
call fcn.010f8f30
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jne 0x1162e84
mov esi, dword [edi]
cmp dword [esi + 0x132c4], ebx
jne 0x1162ee4
mov ecx, dword [edi + 4]
mov edx, dword [esi + 0x2b0]
mov dword [ebp + 0xc], ecx
xor edi, edi
call edx
mov dword [ebp - 8], eax
cmp eax, 0xea60
ja 0x1162d26
cmp dword [esi + 0x1f278], ebx
jne 0x1162d26
mov eax, dword [esi + 0x35b0]
cmp eax, ebx
je 0x1162ee4
cmp dword [eax + 0x168], ebx
jne 0x1162ee4
cmp dword [esi + 0x8be8], ebx
je 0x1162d40
cmp dword [esi + 0x8bf8], ebx
je 0x1162d40
mov edi, 1
jmp 0x1162e62
push 0
lea ebx, [esi + 0x8d94]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [esi + 0x8bf8], edi
jne 0x1162d61
push esi
call fcn.010f2ae0
test eax, eax
je 0x1162db6
cmp dword [esi + 0x8be8], edi
je 0x1162d73
mov edi, 1
jmp 0x1162e62
push esi
call fcn.011177b0
mov eax, dword [ebp + 0xc]
push eax
push esi
call fcn.011605c0
mov edi, eax
cmp edi, 1
jne 0x1162d95
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jmp 0x1162dad
mov ecx, dword [esi]
push ecx
call fcn.01129220
test eax, eax
je 0x1162dad
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.011605c0
mov edi, eax
cmp edi, 1
je 0x1162e62
cmp dword [esi + 0x8da0], 0
jne 0x1162e62
mov eax, dword [esi + 0x1465c]
add eax, 0x927c0
cmp dword [ebp - 8], eax
jbe 0x1162e05
mov ecx, dword [ebp - 8]
mov ebx, 1
mov dword [esi + 0x1465c], ecx
mov dword [esi + 0x14658], ebx
test ebx, ebx
je 0x1162e05
push esi
call fcn.011177b0
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.011605c0
mov edi, eax
dec ebx
cmp edi, 1
jne 0x1162de7
jmp 0x1162e62
cmp edi, 1
je 0x1162e62
mov eax, dword [esi + 0x35b0]
test eax, eax
je 0x1162e29
test dword [eax + 0x138], 0x20000000
jne 0x1162e62
cmp dword [eax + 0x270], 0
jne 0x1162e62
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, 0x927c0
ja 0x1162e3f
cmp dword [esi + 0x1e048], 0
jne 0x1162e4d
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.01160bc0
mov edi, eax
jmp 0x1162e50
mov ebx, dword [ebp + 0xc]
cmp edi, 1
je 0x1162e62
mov eax, dword [ebx + 0x14]
push 6
push 0
push 0
push ebx
push esi
call eax
push 1
add esi, 0x8bec
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp edi, 1
jne 0x1162ee4
mov ecx, dword [ebp + 8]
push ecx
mov dword [ebp + 0x10], edi
call fcn.0115bfd0
jmp 0x1162ee4
mov esi, 1
mov dword [ebp + 0x10], esi
cmp dword [ebp - 4], ebx
jne 0x1162eb5
mov eax, dword [edi]
mov edx, dword [eax + 0x35b0]
test byte [edx + 0x224], 8
je 0x1162eb5
push ebx
push eax
call fcn.0102b3b0
test eax, eax
je 0x1162eb5
mov dword [ebp - 0xc], esi
xor esi, esi
mov dword [ebp + 0x10], esi
mov edi, dword [edi]
cmp dword [edi + 0x132c4], ebx
jne 0x1162ee1
cmp esi, ebx
je 0x1162ee4
mov eax, dword [edi + 0x35b0]
cmp dword [eax + 0x230], 1
je 0x1162ee4
mov ecx, dword [edi + 0x2b0]
call ecx
cmp eax, 0x927c0
jae 0x1162ee4
mov dword [ebp + 0x10], ebx
mov edx, dword [ebp + 8]
mov esi, dword [edx]
mov ecx, dword [esi + 0x35b0]
mov eax, dword [ebp - 0x10]
sub eax, dword [ecx + 0x17c]
cmp eax, 0x708
jbe 0x11630e0
cmp dword [ebp + 0x10], 0
je 0x1162f39
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp + 8]
push 1
push 0
push edx
push eax
push 0
push 0x227
push esi
call fcn.010618a0
mov ecx, dword [esi]
add ecx, 0x132c8
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
jmp 0x11630e0
cmp dword [ebp - 0xc], 0
jne 0x11630e0
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0x2b0]
mov dword [ebp + 0xc], eax
xor edi, edi
call ecx
mov dword [ebp - 0xc], eax
cmp eax, 0xea60
ja 0x1162f7f
cmp dword [esi + 0x1f278], edi
jne 0x1162f7f
mov eax, dword [esi + 0x35b0]
test eax, eax
je 0x11630e0
cmp dword [eax + 0x168], edi
jne 0x11630e0
cmp dword [esi + 0x8be8], 0
je 0x1162f9b
cmp dword [esi + 0x8bf8], 0
je 0x1162f9b
mov edi, 1
jmp 0x11630c0
push 0
lea ebx, [esi + 0x8d94]
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp dword [esi + 0x8bf8], 0
jne 0x1162fbd
push esi
call fcn.010f2ae0
test eax, eax
je 0x1163013
cmp dword [esi + 0x8be8], 0
je 0x1162fd0
mov edi, 1
jmp 0x11630c0
push esi
call fcn.011177b0
mov edx, dword [ebp + 0xc]
push edx
push esi
call fcn.011605c0
mov edi, eax
cmp edi, 1
jne 0x1162ff2
push 0
push ebx
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
jmp 0x116300a
mov eax, dword [esi]
push eax
call fcn.01129220
test eax, eax
je 0x116300a
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.011605c0
mov edi, eax
cmp edi, 1
je 0x11630c0
cmp dword [esi + 0x8da0], 0
jne 0x11630c0
mov edx, dword [esi + 0x1465c]
add edx, 0x927c0
cmp dword [ebp - 0xc], edx
jbe 0x1163063
mov eax, dword [ebp - 0xc]
mov ebx, 1
mov dword [esi + 0x1465c], eax
mov dword [esi + 0x14658], ebx
test ebx, ebx
je 0x1163063
push esi
call fcn.011177b0
mov ecx, dword [ebp + 0xc]
push ecx
push esi
call fcn.011605c0
mov edi, eax
dec ebx
cmp edi, 1
jne 0x1163045
jmp 0x11630c0
cmp edi, 1
je 0x11630c0
mov eax, dword [esi + 0x35b0]
test eax, eax
je 0x1163087
test dword [eax + 0x138], 0x20000000
jne 0x11630c0
cmp dword [eax + 0x270], 0
jne 0x11630c0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, 0x927c0
ja 0x116309d
cmp dword [esi + 0x1e048], 0
jne 0x11630ab
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.01160bc0
mov edi, eax
jmp 0x11630ae
mov ebx, dword [ebp + 0xc]
cmp edi, 1
je 0x11630c0
mov edx, dword [ebx + 0x14]
push 6
push 0
push 0
push ebx
push esi
call edx
push 1
add esi, 0x8bec
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedExchange]
cmp edi, 1
jne 0x11630e0
mov eax, dword [ebp + 8]
push eax
mov dword [ebp + 0x10], edi
call fcn.0115bfd0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
sete cl
mov dword [eax + 0x1f2b0], ecx
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc