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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0xc], cx
mov dword [ebp - 0x10], 0x3ac
mov dword [ebp - 4], 0xffffff38
mov dword [ebp - 0x28], 0x280
mov dword [ebp - 0x1c], 0x1e0
mov edx, dword [0xcb1fbc]
and edx, 1
jne 0x49ed09
mov eax, dword [0xcb1fbc]
or eax, 1
mov dword [0xcb1fbc], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49ecf7
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x38], edx
jmp 0x49ed00
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [0xcb1fb8], edx
cmp dword [0x121bbe0], 0xa
je 0x49ed1e
mov ax, word [0xcb1f64]
mov word [ebp - 0x18], ax
jmp 0x49ed29
mov cx, word [0xcb1fa4]
mov word [ebp - 0x18], cx
movsx edx, word [ebp - 0x18]
test edx, edx
je 0x49eff8
movsx eax, word [ebp - 0x18]
cmp eax, 3
jge 0x49eeaf
movsx ecx, word [ebp - 0x18]
imul ecx, ecx, 0x19
mov edx, 0x33
sub edx, ecx
mov word [ebp - 0x20], dx
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49ed75
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x3c], edx
jmp 0x49ed7e
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x3c], eax
movsx edx, word [ebp - 0x20]
add edx, dword [0xcb1fb8]
cmp edx, dword [ebp - 0x3c]
jae 0x49eeaa
call fcn.0049e6c0
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x49eeaa
mov eax, 2
mov ecx, dword [ebp - 0x2c]
mov word [ecx + 0x3c], ax
call fcn.005cbcdc
cdq
idiv dword [ebp - 0x10]
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, 0x80000001
jns 0x49eddb
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 0x2c]
mov word [edx + 0x40], ax
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49edf3
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x49ee2f
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49ee0d
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 8], eax
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49ee24
dec eax
or eax, 0xfffffffe
inc eax
add eax, 3
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], eax
jmp 0x49ee59
cmp dword [ebp - 0x24], 1
jne 0x49ee59
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], 1
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49ee50
dec eax
or eax, 0xfffffffe
inc eax
add eax, 4
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0xc], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49ee7a
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x40], edx
jmp 0x49ee83
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [0xcb1fb8], edx
mov ax, word [0xcb1f6c]
add ax, 1
mov word [0xcb1f6c], ax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0xc]
neg edx
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], edx
jmp 0x49eff8
movsx ecx, word [ebp - 0x18]
lea edx, [ecx + ecx - 4]
mov word [ebp - 0xc], dx
mov dword [ebp - 8], 0
jmp 0x49eecd
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
movsx ecx, word [ebp - 0xc]
cmp dword [ebp - 8], ecx
jge 0x49eff8
call fcn.0049e6c0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x49eff3
mov edx, 2
mov eax, dword [ebp - 0x30]
mov word [eax + 0x3c], dx
call fcn.005cbcdc
cdq
idiv dword [ebp - 0x10]
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, 0x80000001
jns 0x49ef24
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x30]
mov word [ecx + 0x40], ax
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49ef3c
dec eax
or eax, 0xfffffffe
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x49ef78
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49ef56
dec eax
or eax, 0xfffffffe
inc eax
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], eax
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49ef6d
dec eax
or eax, 0xfffffffe
inc eax
add eax, 3
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
jmp 0x49efa2
cmp dword [ebp - 0x24], 1
jne 0x49efa2
mov edx, dword [ebp - 0x30]
mov dword [edx + 8], 1
call fcn.005cbcdc
and eax, 0x80000001
jns 0x49ef99
dec eax
or eax, 0xfffffffe
inc eax
add eax, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 0xc], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x49efc3
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x44], edx
jmp 0x49efcc
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [0xcb1fb8], edx
mov ax, word [0xcb1f6c]
add ax, 1
mov word [0xcb1f6c], ax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 0xc]
neg edx
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], edx
jmp 0x49eec4
mov dword [ebp - 8], 0
mov ecx, dword [0xca9a7c]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x49f0c0
mov edx, dword [ebp - 0x14]
movsx eax, word [edx + 0x3c]
cmp eax, 2
jne 0x49f09d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
add edx, dword [eax + 8]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx + 0xc]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
add eax, 4
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.0049e7c0
add esp, 8
mov edx, dword [ebp - 0x28]
add edx, 0x64
mov eax, dword [ebp - 0x14]
cmp edx, dword [eax]
jle 0x49f06b
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ecx + 4]
jg 0x49f09d
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.0049e740
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x14], eax
mov cx, word [0xcb1f6c]
sub cx, 1
mov word [0xcb1f6c], cx
jmp 0x49f008
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x14], eax
mov ecx, 1
mov word [0xcb1f54], cx
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x49f008
mov esp, ebp
pop ebp
ret