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

Disassembly:
push 0x24
mov eax, 0x56510d
call fcn.0054f7b0
mov edi, ecx
or dword [ebp - 0x24], 0xffffffff
xor ebx, ebx
mov edx, ebx
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], ebx
mov ecx, 0x96
mov eax, dword [edi + 0x598]
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x4924e1
cmp eax, dword [edi + 0x280]
cmovb ecx, eax
mov dword [ebp - 0x18], ecx
cmp dword [edi + 0x280], ebx
mov esi, ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], esi
jle 0x49283d
mov eax, dword [edi + 0x278]
cmp byte [esi + eax], 0xff
jne 0x492513
cmp byte [ebp - 0xd], 0
jne 0x49282d
mov dword [ebp - 0x24], esi
jmp 0x49282d
mov byte [ebp - 0xd], 1
cmp esi, dword [ebp + 0x10]
jl 0x49282d
xor eax, eax
mov dword [ebp - 0x20], eax
cmp dword [ebx + 0x40], eax
jle 0x492541
mov eax, dword [ebx + eax*4]
cmp esi, dword [eax]
je 0x49282d
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp eax, dword [ebx + 0x40]
jl 0x49252a
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
sar eax, 2
test eax, eax
je 0x4925bf
cmp eax, 5
jae 0x4925bf
mov eax, dword [ebp + 0x18]
add eax, ecx
cmp esi, eax
jl 0x4925bf
mov eax, dword [ebx + 0x40]
add eax, edx
mov ecx, dword [ebx + eax*4]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
mov dword [eax + 4], 1
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
and dword [eax + 8], 0
inc edx
mov eax, dword [edi + 0x278]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx]
inc byte [ecx + eax]
lea ecx, [edx + 4]
mov eax, dword [ebp - 0x2c]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
push edx
call dword [sym.imp.MSVCR120.dll_memmove]
sub dword [ebp - 0x2c], 4
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp + 0x14]
jge 0x49283d
mov eax, dword [edi + 0x278]
mov al, byte [esi + eax]
test al, al
jne 0x492687
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x224]
lea ecx, [eax*2 + 0x7d0]
mov eax, 0x2710
cmp ecx, eax
cmova ecx, eax
cmp byte [edi + 0x339], 0
je 0x49260b
mov eax, dword [ebp - 0x18]
add eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0xc]
cmp esi, eax
jge 0x49260b
cmp esi, dword [ebp + 0x18]
mov eax, 0x3e8
cmovge ecx, eax
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
mov dword [eax], esi
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
mov dword [eax + 4], 1
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
and dword [eax + 8], 0
inc edx
mov eax, dword [edi + 0x278]
mov dword [ebp - 0x14], edx
mov byte [esi + eax], 1
mov eax, dword [edi + 0x27c]
test eax, eax
je 0x492825
mov edx, dword [edi + 0x27c]
mov eax, esi
shl eax, 3
mov dword [eax + edx + 4], ecx
mov ecx, dword [edi + 0x27c]
add ecx, eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
jne 0x492825
mov dword [ecx], 1
jmp 0x492825
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x49272f
cmp al, 1
jb 0x4927e4
cmp al, 3
jae 0x4927e4
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
mov dword [eax], esi
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
mov dword [eax + 4], 1
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
and dword [eax + 8], 0
inc edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 0x224]
lea ecx, [eax*2 + 0x1f4]
mov eax, 0x2710
cmp ecx, eax
cmova ecx, eax
mov eax, dword [edi + 0x27c]
test eax, eax
je 0x492721
mov edx, dword [edi + 0x27c]
mov eax, esi
shl eax, 3
mov dword [eax + edx + 4], ecx
mov ecx, dword [edi + 0x27c]
add ecx, eax
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
jne 0x492721
mov dword [ecx], 1
mov eax, dword [edi + 0x278]
inc byte [eax + esi]
jmp 0x492825
cmp al, 1
jb 0x4927e4
mov eax, dword [edi + 0x27c]
test eax, eax
je 0x4927e4
mov ecx, esi
shl ecx, 3
add ecx, eax
call fcn.00448525
test al, al
je 0x4927e1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x224]
lea ecx, [eax*2 + 0x7d0]
mov eax, 0x2710
cmp ecx, eax
cmova ecx, eax
cmp byte [edi + 0x339], 0
je 0x492792
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp + 0x18]
add eax, edx
cmp esi, eax
jge 0x492792
cmp esi, edx
mov eax, 0x1f4
cmovge ecx, eax
mov eax, dword [ebx + 0x40]
mov edx, dword [ebp - 0x14]
add eax, edx
mov eax, dword [ebx + eax*4]
mov dword [eax], esi
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
mov dword [eax + 4], 1
mov eax, dword [ebx + 0x40]
add eax, edx
mov eax, dword [ebx + eax*4]
and dword [eax + 8], 0
inc edx
mov eax, dword [edi + 0x27c]
mov dword [ebp - 0x14], edx
test eax, eax
je 0x492825
mov edx, esi
shl edx, 3
mov dword [edx + eax + 4], ecx
mov eax, dword [edi + 0x27c]
add eax, edx
mov dword [ebp - 0x20], eax
jmp 0x492666
mov cl, byte [ebp + 0x1c]
cmp byte [edi + 0x339], 0
je 0x492822
test cl, cl
mov ecx, dword [ebp - 0x18]
jne 0x492865
mov eax, dword [edi + 0x278]
mov al, byte [esi + eax]
cmp al, 1
jb 0x492865
cmp al, 3
jae 0x492865
mov edx, dword [ebp + 0x18]
lea eax, [ecx + edx]
cmp esi, eax
jge 0x492865
cmp esi, edx
jl 0x492865
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
call fcn.00451de1
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x14]
jge 0x49283d
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, dword [edi + 0x280]
jl 0x4924f5
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x288], eax
add dword [ebx + 0x40], edx
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x49285b
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov edx, dword [ebp - 0x14]
pop ecx
mov eax, edx
call fcn.0054f77e
ret 0x18
mov edx, dword [ebp - 0x14]
jmp 0x492828