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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5788ac
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x5ca1c8]
xor eax, esp
mov dword [esp + 0x868], eax
push ebx
push esi
push edi
mov eax, dword [0x5ca1c8]
xor eax, esp
push eax
lea eax, [esp + 0x880]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
and dword [esp + 0x18], 0
cmp dword [edi + 0x238], 0
je 0x49babd
mov ecx, edi
call fcn.004a71ef
test al, al
jne 0x49babd
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
inc ebx
cmp dword [esi + 0x54], 0
jne 0x49b9ac
call edi
test eax, eax
cmove eax, ebx
mov dword [esi + 0x54], eax
cmp dword [esi + 0x5c], 0
jne 0x49b9b7
call edi
mov dword [esi + 0x5c], eax
and dword [esp + 0x54], 0
lea edi, [esi + 0x248]
push 0x10
push edi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov byte [esp + 0x4c], 0
call fcn.00401d49
and dword [esp + 0x888], 0
mov ecx, dword [esi + 0x324]
cmp ecx, 0x10
je 0x49ba44
cmp ecx, 0x14
je 0x49ba44
cmp byte [esi + 0x238], 0
jne 0x49ba44
cmp ecx, 3
je 0x49ba0a
test ecx, ecx
je 0x49ba0a
cmp ecx, 0xd
jne 0x49ba62
lea eax, [esi + 0x348]
push eax
push ecx
mov ecx, dword [esi + 0x58c]
lea eax, [esi + 0x6f4]
push eax
push dword [esi + 0x6d8]
lea eax, [esi + 0x6dc]
push eax
push dword [esi + 0x6d4]
lea eax, [esp + 0x5c]
push dword [esi + 0x340]
push eax
call fcn.00482c7a
jmp 0x49ba62
lea eax, [esi + 0x6f4]
push eax
push dword [esi + 0x6d4]
lea eax, [esp + 0x4c]
push ecx
mov ecx, dword [esi + 0x58c]
push eax
call fcn.00482bc6
inc dword [esi + 0x6b4]
mov eax, dword [esi + 0x324]
cmp eax, 0x10
je 0x49ba78
cmp eax, 0x14
jne 0x49baaa
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.00534e6e
push ecx
mov byte [esp + 0x88c], bl
mov ecx, dword [esi + 0x58c]
push eax
call fcn.0048525d
mov ecx, eax
call fcn.004a366e
push 0
push ebx
lea ecx, [esp + 0x64]
call fcn.00401d04
push 0
push ebx
lea ecx, [esp + 0x4c]
call fcn.00401cbf
xor eax, eax
jmp 0x49bc23
push dword [edi]
mov ecx, dword [esi + 0x680]
call fcn.004a5528
xor ebx, ebx
inc ebx
test eax, eax
je 0x49bad4
mov byte [eax + 0x24], bl
push 0
push 0x800
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x28]
call fcn.00533ee6
push 2
pop eax
mov dword [esp + 0x888], eax
cmp dword [esi + 0x318], ebx
jne 0x49bbfc
push 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x32
push eax
lea ecx, [esp + 0x28]
call fcn.00533b41
push 0
push 0x10
lea eax, [esi + 0x248]
push eax
lea ecx, [esp + 0x28]
call fcn.00533b41
mov eax, dword [esi + 0x240]
lea ecx, [esp + 0x1c]
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push 4
push eax
call fcn.00533b41
mov ecx, dword [esi + 0x590]
call fcn.004476bb
push 0
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x20]
push 4
lea eax, [esp + 0x20]
push eax
call fcn.00533b41
mov al, byte [esi + 0x1e0]
lea ecx, [esp + 0x1c]
push 0
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00533b41
mov eax, dword [esi + 0x590]
lea ecx, [esp + 0x1c]
push 0
push ebx
mov al, byte [eax + 0x1c]
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push eax
call fcn.00533b41
mov al, byte [esi + 0x14c]
lea ecx, [esp + 0x1c]
push 0
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.00533b41
mov ecx, esi
call fcn.0049eeb5
push 0
mov byte [esp + 0x18], al
lea ecx, [esp + 0x20]
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.00533b41
mov eax, dword [esi + 0x590]
lea ecx, [esp + 0x1c]
push 0
push 2
movzx eax, word [eax + 0xf0]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
call fcn.00533b41
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [esp + 0x34]
mov dword [edi + 0x220], eax
lea eax, [esp + 0x78]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0049eca5
xor ecx, ecx
test al, al
sete cl
mov eax, ecx
mov ecx, dword [esp + 0x880]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x868]
xor ecx, esp
call fcn.0055fedc
mov esp, ebp
pop ebp
ret 4