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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
xor eax, eax
mov word [ebp - 0xc], ax
xor ecx, ecx
mov word [ebp - 0x10], cx
mov dword [ebp - 0x14], 0x4d8
mov dword [ebp - 4], 0xffffff9c
mov dword [ebp - 0x28], 0x280
mov dword [ebp - 0x20], 0x1e0
mov edx, dword [0xcb1fc4]
and edx, 1
jne 0x49f849
mov eax, dword [0xcb1fc4]
or eax, 1
mov dword [0xcb1fc4], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49f837
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x38], edx
jmp 0x49f840
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [0xcb1fc0], edx
cmp dword [0x121bbe0], 0xa
je 0x49f85e
mov ax, word [0xcb1f78]
mov word [ebp - 0x18], ax
jmp 0x49f869
mov cx, word [0xcb1fa8]
mov word [ebp - 0x18], cx
movsx edx, word [ebp - 0x18]
test edx, edx
je 0x49faf2
movsx eax, word [ebp - 0x18]
cmp eax, 3
jge 0x49f9cc
movsx ecx, word [ebp - 0x18]
imul ecx, ecx, 0x19
mov edx, 0x33
sub edx, ecx
mov word [ebp - 0xc], dx
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49f8b5
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x3c], edx
jmp 0x49f8be
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
movsx edx, word [ebp - 0xc]
add edx, dword [0xcb1fc0]
cmp edx, dword [ebp - 0x3c]
jae 0x49f9c7
call fcn.0049e6c0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x49f9c7
mov eax, 4
mov ecx, dword [ebp - 0x2c]
mov word [ecx + 0x3c], ax
call fcn.005cbcdc
cdq
idiv dword [ebp - 0x14]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 4], 0
call fcn.005cbcdc
and eax, 0x80000003
jns 0x49f91b
dec eax
or eax, 0xfffffffc
inc eax
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x40], ax
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x30], 4
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49f93d
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x49f95c
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], 0xffffffff
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], 2
jmp 0x49f976
cmp dword [ebp - 0x24], 1
jne 0x49f976
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], 3
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49f997
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x40], edx
jmp 0x49f9a0
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [0xcb1fc0], edx
mov ax, word [0xcb1f7c]
add ax, 1
mov word [0xcb1f7c], ax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
neg edx
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], edx
jmp 0x49faf2
movsx ecx, word [ebp - 0x18]
lea edx, [ecx + ecx - 4]
mov word [ebp - 0x10], dx
mov dword [ebp - 8], 0
jmp 0x49f9ea
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, word [ebp - 0x10]
cmp dword [ebp - 8], ecx
jge 0x49faf2
call fcn.0049e6c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x49faed
mov edx, 4
mov eax, dword [ebp - 0x30]
mov word [eax + 0x3c], dx
call fcn.005cbcdc
cdq
idiv dword [ebp - 0x14]
add edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x30]
mov dword [ecx], edx
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], 0
call fcn.005cbcdc
and eax, 0x80000003
jns 0x49fa41
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [ebp - 0x30]
mov word [ecx + 0x40], ax
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x30], 4
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49fa63
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x49fa82
mov eax, dword [ebp - 0x30]
mov dword [eax + 8], 0xffffffff
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], 2
jmp 0x49fa9c
cmp dword [ebp - 0x24], 1
jne 0x49fa9c
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], 0xffffffff
mov eax, dword [ebp - 0x30]
mov dword [eax + 0xc], 3
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49fabd
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x44], edx
jmp 0x49fac6
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [0xcb1fc0], edx
mov ax, word [0xcb1f7c]
add ax, 1
mov word [0xcb1f7c], ax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
neg edx
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], edx
jmp 0x49f9e1
mov dword [ebp - 8], 0
mov ecx, dword [0xca9a7c]
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x1c], 0
je 0x49fc40
mov edx, dword [ebp - 0x1c]
movsx eax, word [edx + 0x3c]
cmp eax, 4
jne 0x49fc1e
call fcn.005cbcdc
cdq
mov ecx, 3
idiv ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
lea ecx, [ecx + eax - 1]
mov edx, dword [ebp - 0x1c]
mov dword [edx], ecx
call fcn.005cbcdc
cdq
mov ecx, 3
idiv ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0xc]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
lea ecx, [ecx + eax - 1]
mov edx, dword [ebp - 0x1c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x30], 0
jg 0x49fbc1
call fcn.005cbcdc
cdq
mov ecx, 3
idiv ecx
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x3e], dx
call fcn.005cbcdc
and eax, 0x80000007
jns 0x49fb92
dec eax
or eax, 0xfffffff8
inc eax
add eax, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x28], eax
call fcn.005cbcdc
and eax, 0x80000007
jns 0x49fbac
dec eax
or eax, 0xfffffff8
inc eax
add eax, 1
mov edx, dword [ebp - 0x1c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], 4
jmp 0x49fbd0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x30]
sub edx, 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 0x1c]
add ecx, 4
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0049e7c0
add esp, 8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 4]
jg 0x49fc1e
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0049e740
add esp, 4
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov ax, word [0xcb1f7c]
sub ax, 1
mov word [0xcb1f7c], ax
jmp 0x49fb02
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x38]
mov dword [ebp - 0x1c], edx
mov eax, 1
mov word [0xcb1f54], ax
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x49fb02
mov esp, ebp
pop ebp
ret