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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push dword [ebp + 8]
call fcn.004b993e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b992e
cmp dword [ebp + 0xc], 3
jne 0x4b96b9
call fcn.004b99de
mov dword [0xe23229], 0
jmp 0x4b98d3
cmp dword [ebp + 0xc], 1
jne 0x4b97f9
mov ebx, dword [0xe2321d]
call fcn.0048f651
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b96e3
push 4
call fcn.006d37e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b96f6
push 1
call fcn.006d37e9
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x4b9761
mov eax, dword [ebp + 0x10]
cmp dword [0xe2322d], eax
jne 0x4b9728
mov eax, 0
jmp 0x4b9938
mov eax, dword [ebp + 0x10]
mov dword [0xe2322d], eax
call fcn.004b99de
mov eax, dword [ebp - 4]
mov dword [0xe23229], eax
mov eax, dword [ebp + 8]
mov dword [0xe23231], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0xe23235], eax
jmp 0x4b97f4
mov ebx, dword [0xe2321d]
call fcn.0048f651
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b9781
push 4
call fcn.006d37e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b9794
push 1
call fcn.006d37e9
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 2
jne 0x4b97f4
mov eax, dword [ebp + 0x10]
cmp dword [0xe2322d], eax
jne 0x4b97c6
mov eax, 0
jmp 0x4b9938
mov eax, dword [ebp + 0x10]
mov dword [0xe2322d], eax
cmp dword [0xe23239], 0
je 0x4b97f4
call fcn.004b99de
mov dword [0xe23229], 0
mov dword [0xe23231], 0
jmp 0x4b98d3
cmp dword [ebp + 0xc], 2
jne 0x4b98d3
mov ebx, dword [0xe2321d]
call fcn.0048f651
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b9823
push 4
call fcn.006d37e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b9836
push 1
call fcn.006d37e9
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 1
je 0x4b989f
mov ebx, dword [0xe2321d]
call fcn.0048f651
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b986f
push 4
call fcn.006d37e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b9882
push 1
call fcn.006d37e9
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
je 0x4b989f
xor eax, eax
jmp 0x4b98a4
mov eax, 1
test eax, eax
je 0x4b98d3
mov eax, dword [ebp - 4]
mov dword [0xe23229], eax
mov eax, dword [ebp + 8]
mov dword [0xe23231], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0xe23235], eax
mov ebx, dword [0xe2321d]
call fcn.0048f651
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b98f3
push 4
call fcn.006d37e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b9906
push 1
call fcn.006d37e9
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.004960e4
jmp 0x4b9938
mov eax, 0
jmp 0x4b9938
mov esp, ebp
pop ebp
ret 0x10