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

Disassembly:
mov eax, 0x617b18
call fcn.0044c164
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push dword [ebx]
xor esi, esi
mov dword [ebp - 0x14], esi
call fcn.0046356b
cmp dword [ebx + 0x188], esi
pop ecx
mov dword [ebp - 0x18], eax
je 0x4903f1
push 1
push ebx
call fcn.0048e28d
pop ecx
pop ecx
cmp dword [ebp - 0x18], esi
je 0x490677
lea eax, [ebp - 0x1c]
push eax
push ebx
call fcn.0048f831
pop ecx
mov dword [ebp - 0x20], eax
pop ecx
call fcn.0059d186
mov dword [ebx + 0x1a0], eax
mov dword [ebp - 4], esi
call fcn.00593582
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
mov dword [eax], ecx
mov dword [ebp - 0x38], 0x593563
push 1
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push esi
push ebx
call fcn.0048e96f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
add esp, 0x18
mov dword [eax], ecx
jmp 0x490462
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0048e386
pop ecx
pop ecx
cmp dword [ebp - 0x28], 0
mov dword [ebp - 4], 3
je 0x490646
lea eax, [ebp - 0x28]
push eax
call fcn.004f79da
push ebx
call fcn.0048e41e
pop ecx
mov dword [ebp + 0x18], eax
test eax, eax
pop ecx
je 0x490646
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push ecx
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.005836d6
push ebx
call fcn.0048f665
push dword [ebx + 0x138]
call fcn.0059bbcd
fstp dword [esp + 0x10]
add esp, 0x10
push dword [ebx + 0x12c]
push dword [ebx + 4]
call fcn.0046eb99
pop ecx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004f7e39
add esp, 0x10
mov dword [ebp - 0x14], eax
test ax, ax
jne 0x49063b
push dword [ebx + 0x130]
call fcn.0050e38b
test eax, eax
pop ecx
mov dword [ebp + 0xc], eax
je 0x49063b
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0050dc70
mov esi, eax
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x68]
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x78]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0050e1e2
push 6
mov esi, eax
pop ecx
lea edi, [ebp - 0x78]
rep movsd dword es:[edi], dword [esi]
push 6
lea eax, [ebp - 0x90]
pop ecx
lea esi, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
lea edi, [ebp - 0x90]
lea eax, [ebp - 0x70]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0050d3b5
mov esi, eax
lea edi, [ebp - 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x83
movsd dword es:[edi], dword [esi]
call fcn.0045d7b1
add esp, 0x20
test ax, ax
je 0x49059b
push dword [ebx + 4]
call fcn.004719f2
pop ecx
push 0x8b
call fcn.0045d7b1
push dword [ebx]
call fcn.0046370f
pop ecx
mov byte [ebp - 4], 4
pop ecx
call fcn.00593582
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
mov dword [eax], ecx
mov dword [ebp - 0x38], 0x593563
push dword [ebp + 0xc]
mov byte [ebp - 4], 5
call fcn.0050faf7
pop ecx
xor esi, esi
push esi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x60]
push dword [ebp - 0x20]
push eax
push esi
push esi
lea eax, [ebp - 0x28]
push dword [ebx + 0x138]
push dword [ebp + 0x18]
push eax
push dword [ebp + 0xc]
call fcn.0050eb69
add esp, 0x2c
cmp word [ebx + 0x126], si
jne 0x490610
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x490623
push dword [ebx]
mov dword [ebp - 4], 3
call fcn.005d23ab
push dword [ebp + 0xc]
call fcn.0053c050
pop ecx
pop ecx
push dword [ebp + 0x18]
push ebx
call fcn.0048e451
pop ecx
pop ecx
push dword [ebp - 0x18]
push dword [ebx]
call fcn.004635b3
pop ecx
add ebx, 0x1a0
pop ecx
call fcn.0059d186
sub eax, dword [ebx]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x28], 0
mov dword [ebx], eax
je 0x490677
push dword [ebp - 0x28]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
mov ecx, dword [ebp - 0xc]
mov ax, word [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret