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

Disassembly:
push 0xbc
mov eax, 0x5761df
call fcn.005611e0
mov edi, ecx
mov dword [ebp - 0x28], edi
mov ebx, dword [ebp + 8]
inc dword [ebx + 0x50]
cmp byte [ebx + 0xe], 0xff
sete dl
xor ecx, ecx
mov byte [ebp - 0x1d], dl
test dl, dl
jne 0x49d3c8
cmp dword [edi + 0x3c0], ecx
jg 0x49d3c8
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 0x49d936
mov dword [ebx + 0x44], 1
jmp 0x49d936
cmp dword [ebx + 0x54], ecx
jle 0x49d936
mov eax, dword [edi + 0x2c0]
test eax, eax
je 0x49d3e9
dec eax
cmp dword [edi + 0x2c8], eax
jne 0x49d3e9
xor eax, eax
inc eax
jmp 0x49d3eb
mov eax, ecx
mov byte [edi + 0x328], al
test al, al
jne 0x49d936
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc8]
cmp eax, dword [edi + 0x2c4]
je 0x49d416
mov byte [ebp - 0xe], 1
cmp eax, dword [edi + 0x2c8]
jg 0x49d419
mov byte [ebp - 0xe], cl
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x18], ecx
test dl, dl
jne 0x49d431
mov eax, dword [edi + 0x3c0]
cmp ecx, eax
cmovg ecx, eax
mov dword [ebp - 0x18], ecx
push 0x40
lea eax, [ebp - 0x80]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc8]
xor esi, esi
mov dword [ebp - 0x40], esi
push 0x40
push esi
push eax
call sub.MSVCR120.dll_memset
and dword [ebp - 0x88], esi
add esp, 0xc
and dword [ebp - 0x34], esi
and dword [ebp - 0x30], esi
and dword [ebp - 0x2c], esi
and dword [ebp - 4], esi
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], 0x10
cmp dword [edx + 4], 1
jne 0x49d48f
mov ecx, dword [edi + 0x2b8]
mov eax, dword [edx]
mov byte [ebp - 0xd], 1
cmp byte [ecx + eax], 0xff
jne 0x49d493
mov byte [ebp - 0xd], 0
mov ecx, dword [edi + 0x2bc]
test ecx, ecx
je 0x49d4b2
mov eax, dword [edx]
lea ecx, [ecx + eax*8]
call fcn.00442733
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0xf], 1
test al, al
jne 0x49d4b6
mov byte [ebp - 0xf], 0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [edi + 0x2c4]
mov edx, dword [ecx]
cmp edx, eax
jb 0x49d4d2
add eax, 0x96
cmp eax, edx
jbe 0x49d4d2
mov ah, 1
jmp 0x49d4d4
xor ah, ah
cmp byte [ebp - 0xd], 0
je 0x49d5d3
cmp esi, dword [ebp - 0x18]
jge 0x49d559
mov al, byte [edi + 0x381]
test al, al
je 0x49d559
cmp byte [ebp - 0xe], 0
jne 0x49d559
test ah, ah
jne 0x49d4fc
cmp byte [ebp - 0xf], ah
je 0x49d559
mov eax, dword [edi + 0x2bc]
mov dword [ebp + esi*4 - 0x80], ecx
mov esi, dword [ebp - 0x40]
inc esi
mov dword [ebp - 0x40], esi
test eax, eax
je 0x49d61a
cmp dword [eax + edx*8 + 4], 0
jne 0x49d52e
mov eax, dword [ebx + 0x224]
mov esi, dword [edi + 0x2bc]
add eax, eax
mov dword [esi + edx*8 + 4], eax
mov eax, dword [edi + 0x2bc]
mov esi, dword [ecx]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + esi*8], eax
test eax, eax
jne 0x49d617
mov dword [ecx + esi*8], 1
jmp 0x49d617
mov eax, dword [edi + 0x2b8]
cmp byte [eax + edx], 0xff
je 0x49d5d3
push ecx
lea ecx, [ebp - 0x34]
mov byte [eax + edx], 0
call fcn.0043f9d2
cmp dword [edi + 0x610], 0
je 0x49d5d0
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.005383c0
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 - 0x1c]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x28]
push ebx
push dword [ecx]
push eax
push 0x592af8
push str.block_return
push dword [edi + 0x610]
call fcn.00532424
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.005383d0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0xc8], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x88]
mov eax, dword [ebp + eax*4 - 0xc8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x88]
mov eax, dword [ebp + eax*4 - 0xc8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x88]
mov eax, dword [ebp + eax*4 - 0xc8]
mov dword [eax + 8], ecx
inc dword [ebp - 0x88]
mov esi, dword [ebp - 0x40]
cmp byte [ebp - 0xd], 0
je 0x49d684
inc dword [ebx + 0x22c]
cmp dword [edi + 0x610], 0
je 0x49d684
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.005383c0
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 - 0x1c]
sub eax, dword [edi + 4]
mov edi, dword [ebp - 0x28]
push ebx
push dword [ecx]
push eax
push 0x592af8
push str.block_miss
push dword [edi + 0x610]
call fcn.00532424
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.005383d0
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 8]
add edx, 0xc
dec dword [ebp - 0x24]
mov dword [ebp - 0x1c], edx
jne 0x49d477
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov byte [ecx + 0xcc], 0
mov byte [ebx + 0x38], 0
test eax, eax
jle 0x49d6d9
lea edx, [ebp - 0xc8]
lea eax, [edx + eax*4]
sub eax, edx
lea ecx, [ebp - 0x80]
and eax, 0xfffffffc
lea ecx, [ecx + esi*4]
push eax
mov eax, edx
push eax
push ecx
call dword [sym.imp.MSVCR120.dll_memmove]
mov esi, dword [ebp - 0x40]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [edi + 0x2c4]
and dword [ecx + 0xc4], 0
mov dword [ecx + 0xc8], eax
mov edx, dword [edi + 0x2c4]
mov ecx, dword [edi + 0x2c8]
cmp edx, ecx
mov eax, dword [ebp - 0x18]
cmovg ecx, edx
mov dword [ebp - 0x14], ecx
cmp esi, eax
jge 0x49d793
push 0
push edx
sub eax, esi
push eax
push ecx
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
push ebx
call fcn.0049cfa2
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
cmp esi, eax
jge 0x49d793
push 1
push dword [edi + 0x2c4]
sub eax, esi
mov ecx, edi
push eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x80]
push eax
push ebx
call fcn.0049cfa2
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
cmp esi, eax
jge 0x49d793
push 0
push dword [edi + 0x2c4]
sub eax, esi
mov ecx, edi
push eax
push dword [edi + 0x2c8]
lea eax, [ebp - 0x80]
push eax
push ebx
call fcn.0049cfa2
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
cmp esi, eax
jge 0x49d793
push 1
push dword [edi + 0x2c4]
sub eax, esi
mov ecx, edi
push eax
push dword [edi + 0x2c8]
lea eax, [ebp - 0x80]
push eax
push ebx
call fcn.0049cfa2
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0xc0], esi
cmp dword [edi + 0x610], 0
je 0x49d856
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.005383c0
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 - 0x40]
push dword [ecx + 0xc0]
push ebx
push eax
push str._d__d__d__d__d
push 0x59370c
push dword [edi + 0x610]
call fcn.00532424
and dword [ebp - 0x14], 0
add esp, 0x20
cmp dword [ebp - 0x40], 0
mov ebx, dword [ebp + 8]
jle 0x49d848
mov esi, dword [ebp - 0x14]
push dword [ebx]
mov eax, dword [ebp + esi*4 - 0x80]
push dword [eax]
push dword [ebp - 0x24]
push 0x592af8
push str.block_id
push dword [edi + 0x610]
call fcn.00532424
add esp, 0x18
inc esi
cmp esi, dword [ebp - 0x40]
jl 0x49d819
lea esi, [edi + 0x628]
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.005383d0
mov esi, dword [ebp - 0x40]
cmp byte [edi + 0x328], 0
je 0x49d899
push dword [edi + 0x244]
mov ecx, edi
push dword [edi + 0x240]
call fcn.0049dfd4
mov eax, dword [edi + 0x240]
mov ecx, dword [edi + 0x244]
mov esi, dword [ebp - 0x40]
mov dword [edi + 0x488], eax
mov dword [edi + 0x48c], ecx
mov dword [edi + 0x490], eax
mov dword [edi + 0x494], ecx
test esi, esi
jle 0x49d92e
cmp byte [ebp - 0x1d], 0
jne 0x49d8ad
sub dword [edi + 0x3c0], esi
mov eax, dword [ebp + 0xc]
and dword [eax + 0xc4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebx + 0x220], eax
cmp dword [edi + 0x610], 0
je 0x49d922
lea esi, [edi + 0x628]
mov ecx, esi
mov dword [ebp + 0xc], esi
call fcn.005383c0
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 0x592af8
push str.source_rttm
push dword [edi + 0x610]
call fcn.00532424
add esp, 0x18
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.005383d0
lea eax, [ebp - 0x80]
mov ecx, edi
push eax
push ebx
call fcn.0049cb4d
lea ecx, [ebp - 0x34]
call fcn.00408f76
call fcn.005611ae
ret 8