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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff48
push ebx
push esi
push edi
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], edx
mov dword [ebp - 0xa4], eax
mov ebx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0xc]
dec eax
sub eax, 9
jae 0x4c92a8
mov dword [ebp - 0xb0], 1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff6
sub eax, 2
jae 0x4c92bd
mov dword [ebp - 0xb0], 2
mov eax, dword [ebp + 0xc]
sub eax, 0xc
jne 0x4c92cf
mov dword [ebp - 0xb0], 4
mov esi, dword [ebp - 0xb0]
test esi, esi
jle 0x4c92f3
lea edi, [ebp - 0xa0]
mov dl, 1
mov eax, dword [0x4c3738]
call fcn.00403a18
mov dword [edi], eax
add edi, 4
dec esi
jne 0x4c92df
mov eax, dword [ebp - 0xb0]
inc eax
cmp eax, 0x28
jg 0x4c9313
lea edx, [ebp + eax*4 - 0xa4]
xor ecx, ecx
mov dword [edx], ecx
inc eax
add edx, 4
cmp eax, 0x29
jne 0x4c9306
mov eax, dword [ebp + 0xc]
cmp eax, 0xc
ja case.0x4c931f.0
jmp dword [eax*4 + 0x4c9326]
push 0
push 0
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fdiv dword [0x4c9cd4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb8], eax
fild dword [ebp - 0xb8]
fdiv dword [0x4c9cd4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x14]
fdiv dword [0x4c9cd4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x10]
fdiv dword [0x4c9cd4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
sar ecx, 1
jns 0x4c9404
adc ecx, 0
mov edx, dword [ebp + 0x14]
sar edx, 1
jns 0x4c940e
adc edx, 0
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
push 0
mov eax, dword [0x4dd090]
push eax
push 0
push 0
push 0
push 0
fild dword [ebp + 0x14]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x10]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
push 0
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
fild dword [ebp + 0x10]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
push 0
mov eax, dword [0x4dd090]
push eax
push 0
push 0
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x14]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
push 0
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb8], eax
fild dword [ebp - 0xb8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [0x4dd090]
push eax
push 0
push 0
push 0
push 0
fild dword [ebp + 0x14]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov eax, dword [0x4dd090]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
fild dword [ebp + 0x10]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov eax, dword [0x4dd090]
push eax
push 0
push 0
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [0x4dd090]
push eax
push 0
push 0
push 0
push 0
fild dword [ebp + 0x14]
fild dword [0x4dd090]
fdivp st(1)
fdiv dword [0x4c9cd4]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
mov esi, dword [ebp + 0x14]
sar esi, 1
jns 0x4c97a6
adc esi, 0
push esi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
push 0
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fild dword [0x4dd090]
fdivp st(1)
fdiv dword [0x4c9cd4]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x9c]
call fcn.004c4258
jmp case.0x4c931f.0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov eax, dword [0x4dd090]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
fild dword [ebp + 0x10]
fild dword [0x4dd090]
fdivp st(1)
fdiv dword [0x4c9cd4]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
mov eax, dword [ebp + 0x14]
push eax
mov esi, dword [ebp + 0x10]
sar esi, 1
jns 0x4c9876
adc esi, 0
push esi
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
mov eax, dword [ebp + 0x14]
push eax
push 0
mov eax, dword [0x4dd090]
push eax
push 0
push 0
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fild dword [0x4dd090]
fdivp st(1)
fdiv dword [0x4c9cd4]
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov eax, dword [ebp - 0x9c]
call fcn.004c4258
jmp case.0x4c931f.0
push 0
push 0
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb8], eax
fild dword [ebp - 0xb8]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x14]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x10]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
push 0
mov eax, dword [ebp + 0x14]
sar eax, 1
jns 0x4c9994
adc eax, 0
push eax
mov eax, dword [ebp + 0x10]
sar eax, 1
jns 0x4c999f
adc eax, 0
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jns 0x4c99b8
add ecx, 3
sar ecx, 2
mov edi, dword [ebp + 0x14]
test edi, edi
jns 0x4c99c5
add edi, 3
sar edi, 2
mov edx, edi
mov eax, dword [ebp - 0xa0]
call fcn.004c4258
push 0
push 0
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb8], eax
fild dword [ebp - 0xb8]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x14]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x10]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov esi, dword [ebp + 0x14]
sar esi, 1
jns 0x4c9a65
adc esi, 0
push esi
push 0
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
sar eax, 1
jns 0x4c9a76
adc eax, 0
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov edx, esi
add edx, edi
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jns 0x4c9a93
add ecx, 3
sar ecx, 2
mov eax, dword [ebp - 0x9c]
call fcn.004c4258
push 0
push 0
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb8], eax
fild dword [ebp - 0xb8]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x14]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x10]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0
mov eax, dword [ebp + 0x10]
sar eax, 1
jns 0x4c9b33
adc eax, 0
push eax
push esi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
sar ecx, 1
jns 0x4c9b51
adc ecx, 0
mov eax, dword [ebp + 0x10]
test eax, eax
jns 0x4c9b5b
add eax, 3
sar eax, 2
add ecx, eax
mov edx, edi
mov eax, dword [ebp - 0x98]
call fcn.004c4258
push 0
push 0
mov eax, dword [0x4dd090]
push eax
mov eax, dword [ebp + 0x14]
neg eax
mov dword [ebp - 0xb4], eax
fild dword [ebp - 0xb4]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov eax, dword [ebp + 0x10]
neg eax
mov dword [ebp - 0xb8], eax
fild dword [ebp - 0xb8]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x14]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
fild dword [ebp + 0x10]
fdiv dword [0x4c9cd8]
fild dword [0x4dd090]
fdivp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
push esi
mov eax, dword [ebp + 0x10]
sar eax, 1
jns 0x4c9bfe
adc eax, 0
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp - 0xa8]
push eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp + 0x10]
sar ecx, 1
jns 0x4c9c1f
adc ecx, 0
mov eax, dword [ebp + 0x10]
test eax, eax
jns 0x4c9c29
add eax, 3
sar eax, 2
add ecx, eax
mov edx, dword [ebp + 0x14]
sar edx, 1
jns 0x4c9c38
adc edx, 0
mov eax, dword [ebp + 0x14]
test eax, eax
jns 0x4c9c42
add eax, 3
sar eax, 2
add edx, eax
mov eax, dword [ebp - 0x94]
call fcn.004c4258
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x4e03f0], eax
jmp 0x4c9c97
mov edx, 1
mov eax, ebx
call fcn.00429b30
push eax
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [0x4e03f0]
cdq
xor eax, edx
sub eax, edx
cmp ebx, eax
jle 0x4c9c8d
cmp byte [0x4e03e8], 0
je 0x4c9c5e
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x4e03f0], eax
push ebp
call fcn.004c91c8
pop ecx
test al, al
je 0x4c9cab
cmp byte [0x4e03e8], 0
je 0x4c9c5e
mov esi, dword [ebp - 0xb0]
test esi, esi
jle 0x4c9cc8
lea ebx, [ebp - 0xa0]
mov eax, dword [ebx]
call fcn.00403a48
add ebx, 4
dec esi
jne 0x4c9cbb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10