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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5760fe
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x5c31c8]
xor eax, esp
mov dword [esp + 0x868], eax
push ebx
push esi
push edi
mov eax, dword [0x5c31c8]
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 0x49c893
mov ecx, edi
call fcn.004a7d7e
test al, al
jne 0x49c893
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
inc ebx
cmp dword [esi + 0x54], 0
jne 0x49c782
call edi
test eax, eax
cmove eax, ebx
mov dword [esi + 0x54], eax
cmp dword [esi + 0x5c], 0
jne 0x49c78d
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.00401dc9
and dword [esp + 0x888], 0
mov ecx, dword [esi + 0x324]
cmp ecx, 0x10
je 0x49c81a
cmp ecx, 0x14
je 0x49c81a
cmp byte [esi + 0x238], 0
jne 0x49c81a
cmp ecx, 3
je 0x49c7e0
test ecx, ecx
je 0x49c7e0
cmp ecx, 0xd
jne 0x49c838
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.00483a72
jmp 0x49c838
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.004839be
inc dword [esi + 0x6b4]
mov eax, dword [esi + 0x324]
cmp eax, 0x10
je 0x49c84e
cmp eax, 0x14
jne 0x49c880
mov edx, edi
lea ecx, [esp + 0x5c]
call fcn.00532cea
push ecx
mov byte [esp + 0x88c], bl
mov ecx, dword [esi + 0x58c]
push eax
call fcn.00485ffe
mov ecx, eax
call fcn.004a429e
push 0
push ebx
lea ecx, [esp + 0x64]
call fcn.00401d84
push 0
push ebx
lea ecx, [esp + 0x4c]
call fcn.00401d3f
xor eax, eax
jmp 0x49c9f5
push dword [edi]
mov ecx, dword [esi + 0x680]
call fcn.004a6158
xor ebx, ebx
inc ebx
test eax, eax
je 0x49c8aa
mov byte [eax + 0x24], bl
push 0
push 0x800
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x28]
call fcn.005321af
push 2
pop eax
mov dword [esp + 0x888], eax
cmp dword [esi + 0x318], ebx
jne 0x49c9ce
push 0
push eax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0x32
push eax
call fcn.00531e36
push 0
push 0x10
lea eax, [esi + 0x248]
push eax
lea ecx, [esp + 0x28]
call fcn.00531e36
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.00531e36
mov ecx, dword [esi + 0x590]
call fcn.00448333
push 0
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x20]
push 4
lea eax, [esp + 0x20]
push eax
call fcn.00531e36
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.00531e36
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.00531e36
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.00531e36
mov ecx, esi
call fcn.0049faf8
push 0
mov byte [esp + 0x18], al
lea ecx, [esp + 0x20]
push ebx
lea eax, [esp + 0x1c]
push eax
call fcn.00531e36
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.00531e36
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.0049f8ec
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.0055daac
mov esp, ebp
pop ebp
ret 4