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

Disassembly:
push 0xc4
mov eax, 0x578993
call fcn.0056357c
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 0x49c5ff
cmp dword [edi + 0x3c0], edx
jg 0x49c5ff
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 0x49cb8f
mov dword [ebx + 0x44], 1
jmp 0x49cb8f
cmp dword [ebx + 0x54], edx
jle 0x49cb8f
mov eax, dword [edi + 0x2c0]
test eax, eax
je 0x49c620
dec eax
cmp dword [edi + 0x2c8], eax
jne 0x49c620
xor eax, eax
inc eax
jmp 0x49c622
mov eax, edx
mov byte [edi + 0x328], al
test al, al
jne 0x49cb8f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc8]
cmp eax, dword [edi + 0x2c4]
je 0x49c64d
mov byte [ebp - 0xf], 1
cmp eax, dword [edi + 0x2c8]
jg 0x49c650
mov byte [ebp - 0xf], dl
mov esi, dword [ebx + 0x54]
mov dword [ebp - 0x24], esi
test cl, cl
jne 0x49c668
mov eax, dword [edi + 0x3c0]
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 0x49c6cd
mov ecx, dword [edi + 0x2b8]
mov eax, dword [eax]
mov byte [ebp - 0xd], 1
cmp byte [ecx + eax], 0xff
jne 0x49c6d1
mov byte [ebp - 0xd], 0
mov eax, dword [edi + 0x2bc]
test eax, eax
je 0x49c6f9
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov ecx, dword [edi + 0x2bc]
lea ecx, [ecx + eax*8]
call fcn.00441a43
mov edx, dword [ebp - 0x38]
mov byte [ebp - 0xe], 1
test al, al
jne 0x49c6fd
mov byte [ebp - 0xe], 0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
cmp eax, dword [edi + 0x2c4]
jb 0x49c721
mov eax, dword [edi + 0x2c4]
add eax, 0x96
cmp eax, dword [ebp - 0x20]
jbe 0x49c721
mov ah, 1
jmp 0x49c723
xor ah, ah
cmp byte [ebp - 0xd], 0
je 0x49c827
cmp edx, esi
jge 0x49c7a4
mov al, byte [edi + 0x381]
test al, al
je 0x49c7a4
cmp byte [ebp - 0xf], 0
jne 0x49c7a4
test ah, ah
jne 0x49c74a
cmp byte [ebp - 0xe], ah
je 0x49c7a4
mov esi, dword [edi + 0x2bc]
mov dword [ebp + edx*4 - 0x78], ecx
mov edx, dword [ebp - 0x38]
inc edx
mov dword [ebp - 0x38], edx
test esi, esi
je 0x49c86f
mov edx, dword [ebp - 0x20]
cmp dword [esi + edx*8 + 4], 0
jne 0x49c779
mov eax, dword [ebx + 0x224]
add eax, eax
mov dword [esi + edx*8 + 4], eax
mov eax, dword [edi + 0x2bc]
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 0x49c86c
mov dword [ecx + esi*8], 1
jmp 0x49c86c
mov edx, dword [edi + 0x2b8]
mov eax, dword [ebp - 0x20]
cmp byte [edx + eax], 0xff
je 0x49c827
push ecx
lea ecx, [ebp - 0x84]
mov byte [edx + eax], 0
call fcn.0043ec9e
cmp dword [edi + 0x610], 0
je 0x49c824
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp - 0x88], esi
call fcn.0053a750
mov byte [ebp - 4], 1
mov ebx, dword [ebx]
mov edi, dword [edi + 0x610]
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 0x596268
push str.block_return
push dword [edi + 0x610]
call fcn.005341e9
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0053a760
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 0x49c8d9
inc dword [ebx + 0x22c]
cmp dword [edi + 0x610], 0
je 0x49c8d9
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.0053a750
mov byte [ebp - 4], 2
mov ebx, dword [ebx]
mov edi, dword [edi + 0x610]
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 0x596268
push str.block_miss
push dword [edi + 0x610]
call fcn.005341e9
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0053a760
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 0x49c6b5
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x90]
mov byte [esi + 0xcc], 0
mov byte [ebx + 0x38], 0
test eax, eax
jle 0x49c92e
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 + 0x2c4]
and dword [esi + 0xc4], 0
mov dword [esi + 0xc8], eax
mov eax, dword [edi + 0x2c4]
mov ecx, dword [edi + 0x2c8]
cmp eax, ecx
mov esi, dword [ebp - 0x24]
cmovg ecx, eax
mov dword [ebp - 0x1c], ecx
cmp edx, esi
jge 0x49c9e5
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.0049c1d9
mov edx, dword [ebp - 0x38]
cmp edx, esi
jge 0x49c9e5
push 1
push dword [edi + 0x2c4]
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.0049c1d9
mov edx, dword [ebp - 0x38]
cmp edx, esi
jge 0x49c9e5
push 0
push dword [edi + 0x2c4]
mov eax, esi
mov ecx, edi
sub eax, edx
push eax
push dword [edi + 0x2c8]
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.0049c1d9
mov edx, dword [ebp - 0x38]
cmp edx, esi
jge 0x49c9e5
push 1
push dword [edi + 0x2c4]
sub esi, edx
lea eax, [ebp - 0x78]
push esi
push dword [edi + 0x2c8]
mov ecx, edi
push eax
push ebx
call fcn.0049c1d9
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp + 0xc]
mov dword [esi + 0xc0], edx
cmp dword [edi + 0x610], 0
je 0x49caab
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp - 0x2c], esi
call fcn.0053a750
lea eax, [ebx + 0x58]
mov byte [ebp - 4], 3
mov edi, dword [edi + 0x610]
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 0x596ebc
push dword [edi + 0x610]
call fcn.005341e9
and dword [ebp - 0x1c], 0
add esp, 0x20
cmp dword [ebp - 0x38], 0
mov ebx, dword [ebp + 8]
jle 0x49ca9a
mov esi, dword [ebp - 0x1c]
push dword [ebx]
mov eax, dword [ebp + esi*4 - 0x78]
push dword [eax]
push dword [ebp - 0x24]
push 0x596268
push str.block_id
push dword [edi + 0x610]
call fcn.005341e9
add esp, 0x18
inc esi
cmp esi, dword [ebp - 0x38]
jl 0x49ca6b
lea esi, [edi + 0x628]
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.0053a760
mov edx, dword [ebp - 0x38]
mov esi, dword [ebp + 0xc]
cmp byte [edi + 0x328], 0
je 0x49caee
push dword [edi + 0x244]
mov ecx, edi
push dword [edi + 0x240]
call fcn.0049d245
mov eax, dword [edi + 0x240]
mov ecx, dword [edi + 0x244]
mov edx, dword [ebp - 0x38]
mov dword [edi + 0x488], eax
mov dword [edi + 0x48c], ecx
mov dword [edi + 0x490], eax
mov dword [edi + 0x494], ecx
test edx, edx
jle 0x49cb80
cmp byte [ebp - 0x15], 0
jne 0x49cb02
sub dword [edi + 0x3c0], edx
and dword [esi + 0xc4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x220], eax
cmp dword [edi + 0x610], 0
je 0x49cb74
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp + 0xc], esi
call fcn.0053a750
mov byte [ebp - 4], 4
mov ebx, dword [ebx]
mov edi, dword [edi + 0x610]
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 0x596268
push str.source_rttm
push dword [edi + 0x610]
call fcn.005341e9
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.0053a760
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
push ebx
call fcn.0049bd7e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x84]
call fcn.00408df6
call fcn.0056354a
ret 8