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

Disassembly:
push 0xc4
mov eax, 0x565156
call fcn.0054f7b0
mov edi, ecx
mov dword [ebp - 0x28], edi
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x50]
cmp byte [ebx + 0xe], 0xff
sete cl
xor edx, edx
mov byte [ebp - 0x15], cl
test cl, cl
jne 0x4928ca
cmp dword [edi + 0x368], edx
jg 0x4928ca
mov eax, dword [ebp + 0xc]
mov byte [eax + 0xcc], 1
inc dword [ebx + 0x3c]
mov byte [ebx + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x44], eax
test eax, eax
jne 0x492e5a
mov dword [ebx + 0x44], 1
jmp 0x492e5a
cmp dword [ebx + 0x54], edx
jle 0x492e5a
mov eax, dword [edi + 0x280]
test eax, eax
je 0x4928eb
dec eax
cmp dword [edi + 0x288], eax
jne 0x4928eb
xor eax, eax
inc eax
jmp 0x4928ed
mov eax, edx
mov byte [edi + 0x2e8], al
test al, al
jne 0x492e5a
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc8]
cmp eax, dword [edi + 0x284]
je 0x492918
mov byte [ebp - 0xf], 1
cmp eax, dword [edi + 0x288]
jg 0x49291b
mov byte [ebp - 0xf], dl
mov esi, dword [ebx + 0x54]
mov dword [ebp - 0x24], esi
test cl, cl
jne 0x492933
mov eax, dword [edi + 0x368]
cmp esi, eax
cmovg esi, eax
mov dword [ebp - 0x24], esi
push 0x40
push edx
lea eax, [ebp - 0x78]
push eax
call sub.MSVCR120.dll_memset
and dword [ebp - 0x38], 0
lea eax, [ebp - 0xd0]
add esp, 0xc
push 0x40
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], 0x10
cmp dword [eax + 4], 1
jne 0x492998
mov ecx, dword [edi + 0x278]
mov eax, dword [eax]
mov byte [ebp - 0xd], 1
cmp byte [ecx + eax], 0xff
jne 0x49299c
mov byte [ebp - 0xd], 0
mov eax, dword [edi + 0x27c]
test eax, eax
je 0x4929c4
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, dword [edi + 0x27c]
lea ecx, [ecx + eax*8]
call fcn.00448525
mov edx, dword [ebp - 0x38]
mov byte [ebp - 0xe], 1
test al, al
jne 0x4929c8
mov byte [ebp - 0xe], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
cmp eax, dword [edi + 0x284]
jb 0x4929ec
mov eax, dword [edi + 0x284]
add eax, 0x96
cmp eax, dword [ebp - 0x20]
jbe 0x4929ec
mov ah, 1
jmp 0x4929ee
xor ah, ah
cmp byte [ebp - 0xd], 0
je 0x492af2
cmp edx, esi
jge 0x492a6f
mov al, byte [edi + 0x339]
test al, al
je 0x492a6f
cmp byte [ebp - 0xf], 0
jne 0x492a6f
test ah, ah
jne 0x492a15
cmp byte [ebp - 0xe], ah
je 0x492a6f
mov esi, dword [edi + 0x27c]
mov dword [ebp + edx*4 - 0x78], ecx
mov edx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x38], edx
test esi, esi
je 0x492b3a
mov edx, dword [ebp - 0x20]
cmp dword [esi + edx*8 + 4], 0
jne 0x492a44
mov eax, dword [ebx + 0x224]
add eax, eax
mov dword [esi + edx*8 + 4], eax
mov eax, dword [edi + 0x27c]
mov esi, dword [ecx]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + esi*8], eax
test eax, eax
jne 0x492b37
mov dword [ecx + esi*8], 1
jmp 0x492b37
mov edx, dword [edi + 0x278]
mov eax, dword [ebp - 0x20]
cmp byte [edx + eax], 0xff
je 0x492af2
push ecx
lea ecx, [ebp - 0x84]
mov byte [edx + eax], 0
call fcn.0043ce33
cmp dword [edi + 0x59c], 0
je 0x492aef
lea esi, [edi + 0x5b0]
mov ecx, esi
mov dword [ebp - 0x88], esi
call fcn.00529310
mov byte [ebp - 4], 1
mov ebx, dword [ebx]
mov edi, dword [edi + 0x59c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x28]
push ebx
push dword [ecx]
push eax
push 0x581dd0
push str.block_return
push dword [edi + 0x59c]
call fcn.0051f43e
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00529320
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x90]
mov dword [ebp + eax*4 - 0xd0], ecx
mov eax, dword [ebp - 0x90]
mov eax, dword [ebp + eax*4 - 0xd0]
and dword [eax], 0
mov eax, dword [ebp - 0x90]
mov eax, dword [ebp + eax*4 - 0xd0]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x90]
mov eax, dword [ebp + eax*4 - 0xd0]
and dword [eax + 8], 0
inc dword [ebp - 0x90]
mov edx, dword [ebp - 0x38]
cmp byte [ebp - 0xd], 0
je 0x492ba4
inc dword [ebx + 0x22c]
cmp dword [edi + 0x59c], 0
je 0x492ba4
lea esi, [edi + 0x5b0]
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.00529310
mov byte [ebp - 4], 2
mov ebx, dword [ebx]
mov edi, dword [edi + 0x59c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x28]
push ebx
push dword [ecx]
push eax
push 0x581dd0
push str.block_miss
push dword [edi + 0x59c]
call fcn.0051f43e
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00529320
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
add eax, 0xc
dec dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
jne 0x492980
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x90]
mov byte [esi + 0xcc], 0
mov byte [ebx + 0x38], 0
test eax, eax
jle 0x492bf9
lea ecx, [ebp - 0x78]
lea ecx, [ecx + edx*4]
lea edx, [ebp - 0xd0]
lea eax, [edx + eax*4]
sub eax, edx
and eax, 0xfffffffc
push eax
mov eax, edx
push eax
push ecx
call dword [sym.imp.MSVCR120.dll_memmove]
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov eax, dword [edi + 0x284]
and dword [esi + 0xc4], 0
mov dword [esi + 0xc8], eax
mov eax, dword [edi + 0x284]
mov ecx, dword [edi + 0x288]
cmp eax, ecx
mov esi, dword [ebp - 0x24]
cmovg ecx, eax
mov dword [ebp - 0x1c], ecx
cmp edx, esi
jge 0x492cb0
push 0
push eax
mov eax, esi
sub eax, edx
push eax
push ecx
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
push ebx
call fcn.0049249b
mov edx, dword [ebp - 0x38]
cmp edx, esi
jge 0x492cb0
push 1
push dword [edi + 0x284]
mov eax, esi
mov ecx, edi
sub eax, edx
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.0049249b
mov edx, dword [ebp - 0x38]
cmp edx, esi
jge 0x492cb0
push 0
push dword [edi + 0x284]
mov eax, esi
mov ecx, edi
sub eax, edx
push eax
push dword [edi + 0x288]
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.0049249b
mov edx, dword [ebp - 0x38]
cmp edx, esi
jge 0x492cb0
push 1
push dword [edi + 0x284]
sub esi, edx
lea eax, [ebp - 0x78]
push esi
push dword [edi + 0x288]
mov ecx, edi
push eax
push ebx
call fcn.0049249b
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp + 0xc]
mov dword [esi + 0xc0], edx
cmp dword [edi + 0x59c], 0
je 0x492d76
lea esi, [edi + 0x5b0]
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.00529310
lea eax, [ebx + 0x58]
mov byte [ebp - 4], 3
mov edi, dword [edi + 0x59c]
xor ebx, ebx
cmp dword [ebp + 0xc], eax
setne bl
inc ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 8]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
push dword [ecx]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x38]
push dword [ecx + 0xc0]
push ebx
push eax
push str._d__d__d__d__d
push 0x58293c
push dword [edi + 0x59c]
call fcn.0051f43e
and dword [ebp - 0x1c], 0
add esp, 0x20
cmp dword [ebp - 0x38], 0
mov ebx, dword [ebp + 8]
jle 0x492d65
mov esi, dword [ebp - 0x1c]
push dword [ebx]
mov eax, dword [ebp + esi*4 - 0x78]
push dword [eax]
push dword [ebp - 0x24]
push 0x581dd0
push str.block_id
push dword [edi + 0x59c]
call fcn.0051f43e
add esp, 0x18
inc esi
cmp esi, dword [ebp - 0x38]
jl 0x492d36
lea esi, [edi + 0x5b0]
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.00529320
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp + 0xc]
cmp byte [edi + 0x2e8], 0
je 0x492db9
push dword [edi + 0x204]
mov ecx, edi
push dword [edi + 0x200]
call fcn.00493510
mov eax, dword [edi + 0x200]
mov ecx, dword [edi + 0x204]
mov edx, dword [ebp - 0x38]
mov dword [edi + 0x418], eax
mov dword [edi + 0x41c], ecx
mov dword [edi + 0x420], eax
mov dword [edi + 0x424], ecx
test edx, edx
jle 0x492e4b
cmp byte [ebp - 0x15], 0
jne 0x492dcd
sub dword [edi + 0x368], edx
and dword [esi + 0xc4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x220], eax
cmp dword [edi + 0x59c], 0
je 0x492e3f
lea esi, [edi + 0x5b0]
mov ecx, esi
mov dword [ebp + 0xc], esi
call fcn.00529310
mov byte [ebp - 4], 4
mov ebx, dword [ebx]
mov edi, dword [edi + 0x59c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x28]
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx + 0x224]
push eax
push 0x581dd0
push str.source_rttm
push dword [edi + 0x59c]
call fcn.0051f43e
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00529320
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
push ebx
call fcn.0049205a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00408eb1
call fcn.0054f77e
ret 8