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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x70], 0
push esi
push edi
je 0x4b403d
cmp dword [ebx + 0x6c], 0
jne 0x4b402e
xor eax, eax
jmp 0x4b4043
lea eax, [ebx + 0x50]
call fcn.00425af0
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
jmp 0x4b4043
mov eax, dword [ebx + 0x1a8]
cmp eax, 0x64
jne 0x4b40f3
cmp dword [ebx + 0x344], 0
jne 0x4b42f1
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x1ac], 1
mov edx, dword [ecx + 0xdc]
lea eax, [ebx + 0x23c]
mov dword [ebx + 0x1b0], edx
xor esi, esi
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0xd4]
cmp byte [ecx + esi + 0x82], 0
lea eax, [ecx + esi]
je 0x4b40dd
mov eax, dword [eax + 0x90]
test eax, eax
je 0x4b40dd
cmp word [eax + 0x4a], 0
jne 0x4b40ae
mov edx, dword [esp + 0x10]
mov dword [edx], 0
jmp 0x4b40dd
call fcn.0051bd66
mov ecx, dword [ebx + 0xd4]
mov edx, dword [ecx + esi + 0x90]
movzx ecx, word [edx + 0x4a]
imul ecx, ecx, 0x3e8
cdq
idiv ecx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x10]
add eax, edi
mov dword [edx], eax
add dword [esp + 0x10], 4
add esi, 0x14
cmp esi, 0x3c
jl 0x4b407e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 0x70], 0
je 0x4b4112
cmp dword [ebx + 0x6c], 0
jne 0x4b4103
xor eax, eax
jmp 0x4b4118
lea eax, [ebx + 0x50]
call fcn.00425af0
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
jmp 0x4b4118
mov eax, dword [ebx + 0x1a8]
test eax, eax
je 0x4b4138
cmp eax, 4
jne 0x4b42f1
mov edi, 1
cmp dword [ebx + 0x324], edi
je 0x4b42f1
jmp 0x4b413d
mov edi, 1
mov esi, dword [ebp + 8]
cmp dword [esi + 0x1444], edi
je 0x4b42f1
cmp dword [ebx + 0x70], 0
je 0x4b41f2
mov eax, ebx
call fcn.00424570
cmp eax, 4
jne 0x4b41d1
lea edi, [esi + 0xd0]
lea eax, [ebx + 0x7c]
mov ecx, edi
call fcn.0041b8c0
mov ecx, dword [ebx + 0xd4]
movzx edx, byte [ecx + 0x69]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fcompp
fnstsw ax
test ah, 1
jne 0x4b42f1
lea ecx, [ebx + 0xd14]
mov eax, edi
call fcn.0041b8c0
fcomp dword [0x57401c]
fnstsw ax
test ah, 0x41
jp 0x4b42f1
push esi
mov ecx, ebx
call fcn.004cd4f0
mov ecx, dword [ebx + 0x1b0]
push 1
lea eax, [ebx + 4]
push eax
call fcn.004a3410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
mov ecx, ebx
call fcn.004cd4f0
push edi
lea ecx, [ebx + 4]
push ecx
mov ecx, dword [ebx + 0x1b0]
call fcn.004a3410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 0x344], 0
jne 0x4b42f1
mov eax, dword [ebx + 0x1a8]
cmp eax, 2
je 0x4b421a
mov dword [ebx + 0x1a8], edi
mov dword [ebx + 0xd48], 0
cmp byte [ebp + 0xc], 0
mov dword [ebx + 0x1ac], edi
mov edx, dword [esi + 0xdc]
mov dword [ebx + 0x1b0], edx
je 0x4b42f1
mov eax, dword [ebx + 0xd4]
movzx eax, byte [eax + 0x26]
sub eax, 2
je 0x4b425e
sub eax, edi
je 0x4b4256
sub eax, 2
jne 0x4b4268
push esi
call fcn.004b47c0
jmp 0x4b4268
push esi
call fcn.004b4a00
jmp 0x4b4268
push esi
push 0
mov ecx, ebx
call fcn.004b4550
xor esi, esi
mov dword [esp + 0x10], esi
lea edi, [ebx + 0x23c]
jmp 0x4b4280
mov ecx, dword [ebx + 0xd4]
cmp byte [esi + ecx + 0x82], 0
lea eax, [esi + ecx]
je 0x4b42e2
mov eax, dword [eax + 0x90]
test eax, eax
je 0x4b42e2
cmp word [eax + 0x4a], 0
je 0x4b42dc
cmp dword [esp + 0x10], 0
je 0x4b42dc
call fcn.0051bd66
mov edx, dword [ebx + 0xd4]
mov ecx, dword [esi + edx + 0x90]
movzx ecx, word [ecx + 0x4a]
imul ecx, ecx, 0x3e8
cdq
idiv ecx
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [esp + 0x14]
mov dword [edi], eax
jmp 0x4b42e2
mov dword [edi], 0
inc dword [esp + 0x10]
add esi, 0x14
add edi, 4
cmp esi, 0x3c
jl 0x4b4280
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8