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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523a55
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x56617c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00486680
mov edi, eax
mov eax, dword [esi + 0xb4]
cmp edi, eax
je 0x485f5b
cmp eax, 0xffffffff
je 0x485f1e
push 1
push 0
push eax
mov ecx, esi
call fcn.00487a80
mov dword [esi + 0xb4], edi
cmp edi, 0xffffffff
je 0x485f3e
push 1
push 1
push edi
mov ecx, esi
call fcn.00487a80
cmp dword [esi + 0xb4], 0xffffffff
jne 0x485f5b
push 0
call fcn.004a3a20
mov ecx, eax
call fcn.004a3c50
call fcn.0042a8c0
push ecx
push 1
mov ecx, eax
call fcn.0042d240
cmp dword [esi + 0x164], 0
je 0x485fa6
cmp dword [esi + 0x168], 0xffffffff
je 0x485fa6
cmp dword [esi + 0x12c], 1
je 0x485fa6
cmp dword [esi + 0x100], 1
je 0x485f88
cmp dword [esi + 0x104], 1
jne 0x485fa6
mov ecx, esi
call fcn.0048d220
test eax, eax
jne 0x485fa6
push dword [esi + 0xbc]
mov ecx, esi
push dword [esi + 0x168]
call fcn.00487f90
mov ecx, esi
call fcn.0048bdc0
mov ecx, esi
call fcn.0048b510
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], vtable.IFunc.0
call fcn.004cc620
mov dword [ebp - 0x20], eax
call fcn.004296f0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x60]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x540300
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.00443d70
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x4860a1
mov eax, dword [esi + 0x1cc]
lea ecx, [esi + 0x1cc]
mov eax, dword [eax + 0x30]
call eax
test al, al
jne 0x4860a1
push 1
push 0
sub esp, 0x44
mov edi, esp
mov ecx, edi
mov dword [ebp - 0x28], edi
call fcn.0041ad80
cmp dword [edi + 0x38], 0
mov dword [edi], vtable.CStringUTF8.0
je 0x48604d
lea ecx, [edi + 0x34]
call fcn.0041a760
mov dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x40], 0xffffffff
lea eax, [esi + 0x1cc]
mov byte [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0041a900
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.00443840
push 0x53e7d2
lea ecx, [ebp - 0x70]
call fcn.0041a9d0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x1cc]
call fcn.0041a900
lea ecx, [ebp - 0x70]
call fcn.0041c2a0
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x12c], 0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [sym.imp.WINMM.dll_timeGetTime]
jne 0x4861a3
cmp dword [0x592ad4], 1
jne 0x4860cd
call edi
jmp 0x4860cf
call eax
mov ecx, eax
mov eax, dword [esi + 0x138]
add eax, 0x1d4c
cmp eax, ecx
jae 0x48619e
cmp dword [esi + 0x154], 0
jne 0x486114
cmp dword [esi + 0x170], 1
je 0x486114
mov eax, dword [esi + 0xc4]
xor ecx, ecx
add eax, 0xfffffff1
mov dword [esi + 0x124], 1
cmovs eax, ecx
mov dword [esi + 0xc4], eax
cmp dword [esi + 0x160], 1
jne 0x486184
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], vtable.IFunc.0
call fcn.004cc620
mov dword [ebp - 0x20], eax
call fcn.004296f0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x60]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x540300
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 3
call fcn.00443d70
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x48617d
mov ecx, esi
call fcn.0048d040
mov dword [ebp - 4], 0xffffffff
cmp dword [0x592ad4], 1
jne 0x486191
call edi
jmp 0x486198
mov eax, dword [sym.imp.WINMM.dll_timeGetTime]
call eax
mov dword [esi + 0x138], eax
mov eax, dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [0x592ad4], 1
jne 0x4861b0
call edi
jmp 0x4861b2
call eax
mov ecx, eax
mov eax, dword [esi + 0x13c]
add eax, 0x1f4
cmp eax, ecx
jae 0x48631c
cmp dword [esi + 0x154], 0
mov ecx, 0x3e8
je 0x48625d
cmp dword [esi + 0x170], 1
je 0x48625d
movd xmm0, dword [esi + 0x11c]
mov edi, 0x1bc
mov eax, dword [esi + 0xc4]
mov edx, 0x14
cvtdq2ps xmm0, xmm0
add eax, 0xf
cmp eax, ecx
cmovg eax, ecx
mov ecx, dword [esi + 0x1c0]
mov dword [esi + 0xc4], eax
mulss xmm0, dword [0x54c9b4]
cvttss2si eax, xmm0
sub edi, eax
add ecx, 0x14
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [eax], 0x38
mov dword [eax + 4], edi
sub edx, 1
jne 0x486222
mov edx, dword [esi + 0x1c0]
push edx
mov dword [edx + 0x68], 1
mov ecx, dword [0x593458]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi + 0x124], 1
mov ecx, 0x3e8
cmp dword [esi + 0x158], 0
je 0x4862f6
cmp dword [esi + 0x174], 1
je 0x4862f6
movd xmm0, dword [esi + 0x120]
mov edi, 0x270
mov eax, dword [esi + 0xc8]
mov edx, 0x14
cvtdq2ps xmm0, xmm0
add eax, 0xf
cmp eax, 0x3e8
cmovg eax, ecx
mov ecx, dword [esi + 0x1c4]
mov dword [esi + 0xc8], eax
mulss xmm0, dword [0x54c9ac]
cvttss2si eax, xmm0
sub edi, eax
add ecx, 0x14
nop word [eax + eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [eax], 0x22
mov dword [eax + 4], edi
sub edx, 1
jne 0x4862c0
mov edx, dword [esi + 0x1c4]
push edx
mov dword [edx + 0x68], 1
mov ecx, dword [0x593458]
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [esi + 0x128], 1
cmp dword [0x592ad4], 1
jne 0x486309
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
jmp 0x486316
mov eax, dword [sym.imp.WINMM.dll_timeGetTime]
call eax
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x13c], eax
cmp dword [esi + 0xdc], 1
jne 0x486373
cmp dword [0x592ad4], 1
jne 0x486332
call edi
jmp 0x486338
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov eax, dword [esi + 0x144]
add eax, 0x4e2
cmp ecx, eax
jbe 0x486373
xor eax, eax
cmp dword [esi + 0xc0], eax
push 1
setne al
push eax
push dword [esi + 0xec]
push ecx
mov ecx, dword [esi + 0x1b4]
call fcn.004591c0
mov dword [esi + 0xdc], 0
cmp dword [esi + 0xe0], 1
jne 0x486415
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], vtable.IFunc.0
call fcn.004cc620
mov dword [ebp - 0x20], eax
call fcn.004296f0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x60]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x540300
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 4
call fcn.00443d70
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x48640e
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0x1b4]
neg eax
push ecx
sbb eax, eax
and eax, 7
cmp dword [esi + 0xf0], 0
jle 0x4863f7
inc eax
push eax
call fcn.00459a80
mov ecx, esi
call fcn.0048d040
mov dword [esi + 0xe0], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0xe4], 1
jne 0x48646c
cmp dword [0x592ad4], 1
jne 0x48642b
call edi
jmp 0x486431
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ecx, eax
mov eax, dword [esi + 0x144]
add eax, 0x9c4
cmp ecx, eax
jbe 0x48646c
xor eax, eax
cmp dword [esi + 0xc0], eax
push 1
setne al
push eax
push dword [esi + 0xec]
push ecx
mov ecx, dword [esi + 0x1b4]
call fcn.004591c0
mov dword [esi + 0xe4], 0
cmp dword [esi + 0xe8], 1
jne 0x4864e6
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], vtable.IFunc.0
call fcn.004cc620
mov dword [ebp - 0x20], eax
call fcn.004296f0
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 0x60]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], 0x540300
push 0
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 5
call fcn.00443d70
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
test al, al
jne 0x4864df
mov ecx, esi
call fcn.0048d040
mov dword [esi + 0xe8], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0xc4], 0xc8
jl 0x4865f4
cmp dword [esi + 0x100], 1
je 0x486594
cmp dword [esi + 0x104], 1
je 0x486594
cmp dword [esi + 0x108], 1
je 0x486594
cmp dword [esi + 0x10c], 1
je 0x486594
cmp dword [esi + 0x110], 1
je 0x4865f4
mov ecx, dword [esi + 0x1b4]
xor eax, eax
cmp dword [esi + 0xc0], eax
setne al
xor edi, edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], eax
cmp eax, ecx
je 0x486588
mov edx, dword [eax]
cmp dword [edx + 0x264], 0
je 0x486573
add eax, 4
inc edi
cmp eax, ecx
jne 0x486551
mov dword [esi + 0x110], 1
jmp 0x4865f4
cmp edi, 0xffffffff
je 0x486588
mov ecx, dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x14
mov ecx, dword [ecx + edi*4]
call fcn.0045bbb0
mov dword [esi + 0x110], 1
jmp 0x4865f4
cmp dword [esi + 0x110], 2
je 0x4865f4
mov ecx, dword [esi + 0x1b4]
xor eax, eax
cmp dword [esi + 0xc0], eax
setne al
xor edi, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
cmp eax, ecx
je 0x4865ea
nop
mov edx, dword [eax]
cmp dword [edx + 0x264], 0
je 0x4865d5
add eax, 4
inc edi
cmp eax, ecx
jne 0x4865c0
jmp 0x4865ea
cmp edi, 0xffffffff
je 0x4865ea
mov ecx, dword [ebp - 0x2c]
push dword [ebp - 0x28]
push 0x15
mov ecx, dword [ecx + edi*4]
call fcn.0045bbb0
mov dword [esi + 0x110], 2
mov ecx, esi
call fcn.0048c010
mov ecx, esi
call fcn.0048d220
test eax, eax
jne 0x486662
cmp dword [esi + 0xdc], eax
jne 0x486662
cmp dword [esi + 0xe4], eax
jne 0x486662
cmp dword [esi + 0x12c], eax
jne 0x486662
cmp dword [esi + 0x164], 1
jne 0x48665b
mov eax, dword [esi + 0x168]
cmp eax, 0xffffffff
je 0x48665b
cmp eax, 5
jne 0x486662
cmp dword [esi + 0xbc], 1
jne 0x486652
mov ecx, esi
call fcn.0048cf90
mov eax, dword [esi + 0x168]
cmp eax, 5
jne 0x486662
cmp dword [esi + 0xbc], 2
jne 0x486662
mov ecx, esi
call fcn.0048cf90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fe27d
mov esp, ebp
pop ebp
ret