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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
test dl, dl
je 0x4efdb6
add esp, 0xfffffff0
call fcn.00403cd8
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x5ab8ac]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x90], 1
xor eax, eax
mov al, byte [ebp + 0x10]
cmp eax, 0x13
ja case.0x4efde4.4
jmp dword [eax*4 + 0x4efdeb]
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x64], 0
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0xa
cmp dword [ebp - 0xc], 0x26
jne 0x4efed9
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xa
cmp dword [ebp - 0xc], 0x27
jne 0x4efef6
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 8
mov eax, dword [ebp - 0xc]
sub eax, 0x51
sub eax, 3
jns case.0x4efde4.4
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x64], 1
cmp dword [ebp - 0xc], 0x51
jne 0x4eff49
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp dword [eax + 8], 0x54
jl 0x4eff35
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x82
jmp 0x4eff3f
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x8c
mov eax, dword [ebp - 4]
mov byte [eax + 0x81], 1
cmp dword [ebp - 0xc], 0x52
jne 0x4eff89
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp dword [eax + 8], 0x4e
jl 0x4eff75
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp dword [eax + 0xc], 0x30
jl 0x4eff75
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x96
jmp 0x4eff7f
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xa0
mov eax, dword [ebp - 4]
mov byte [eax + 0x81], 2
cmp dword [ebp - 0xc], 0x53
jne 0x4effa3
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xb4
mov eax, dword [ebp - 4]
mov byte [eax + 0x81], 3
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xa
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xbe
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0xa
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 1
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x64], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0x14
mov eax, dword [0x5ac2d8]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xffffffff
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0xa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x64], 0
cmp dword [ebp - 0xc], 0x50
jne 0x4f0150
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 2
mov eax, 6
call fcn.004031e8
cmp eax, 5
ja case.default.0x4f00d7
jmp dword [eax*4 + 0x4f00de]
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xe6
jmp case.default.0x4f00d7
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xf0
jmp case.default.0x4f00d7
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xfa
jmp case.default.0x4f00d7
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xe6
jmp case.default.0x4f00d7
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xf0
jmp case.default.0x4f00d7
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xfa
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 5
cmp dword [ebp - 0xc], 0x46
jne 0x4f01ac
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 3
mov eax, 3
call fcn.004031e8
sub eax, 1
jb 0x4f0176
je 0x4f0182
dec eax
je 0x4f018e
jmp 0x4f0198
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x190
jmp 0x4f0198
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x19a
jmp 0x4f0198
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x1a4
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 5
cmp dword [ebp - 0xc], 0x47
jne 0x4f01c6
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 3
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0x14
cmp dword [ebp - 0xc], 0x48
jne 0x4f01ea
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 3
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 3
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0xa
cmp dword [ebp - 0xc], 0x49
jne 0x4f020e
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 3
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 5
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0x14
cmp dword [ebp - 0xc], 0x4a
jne 0x4f0232
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 3
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 4
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0x23
cmp dword [ebp - 0xc], 0x5a
jne case.0x4efde4.4
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x15e
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0x15e
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0x1e
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x64], 0
mov eax, dword [0x5ab8ac]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 3
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 1
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 2
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 1
jmp case.0x4efde4.4
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xffffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x65], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x64], dl
mov eax, dword [ebp - 4]
mov dword [eax + 0x70], 0x14
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x7c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x24]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x18]
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 4]
cmp byte [eax + 0x80], 1
jne 0x4f047b
cmp dword [ebp - 0xc], 0x51
jne 0x4f0455
sub dword [ebp + 0x20], 0xe
add dword [ebp + 0x1c], 0x14
cmp dword [ebp - 0xc], 0x51
jne 0x4f0463
sub dword [ebp + 0x20], 0x46
sub dword [ebp + 0x1c], 0xa
cmp dword [ebp - 0xc], 0x53
jne 0x4f0471
sub dword [ebp + 0x20], 0x3c
sub dword [ebp + 0x1c], 0x46
mov eax, 0x2010
call fcn.005024d4
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0xa4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xa8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x44], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x48], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0x4c], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0x50], edx
fild dword [ebp + 0x20]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x54]
wait
fild dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
fstp qword [eax + 0x5c]
wait
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x118]
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [0x5ab6c4]
mov edx, dword [edx]
add eax, dword [edx + 0xe0]
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x11c]
shl eax, 5
mov edx, dword [0x5ab6c4]
mov edx, dword [edx]
add eax, dword [edx + 0xe4]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc0], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x80], 0
jne 0x4f0539
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
add eax, 0xaa
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x78], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x34]
je 0x4f056d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa4]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x10], eax
jmp 0x4f0574
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
je 0x4f059e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa8]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x14], eax
jmp 0x4f05a5
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x34]
cdq
xor eax, edx
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa8]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x38]
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jle 0x4f0631
fild dword [ebp - 0x10]
fdivr dword [0x4f073c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402c48
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
fild dword [ebp - 0x10]
fdivr dword [0x4f073c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa8]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402c48
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], eax
jmp 0x4f068d
fild dword [ebp - 0x14]
fdivr dword [0x4f073c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402c48
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
fild dword [ebp - 0x14]
fdivr dword [0x4f073c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa8]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00402c48
mov edx, dword [ebp - 4]
mov dword [edx + 0xb0], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x74], 0x32
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x94], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x98], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov dword [edx + 0xa0], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x9c], edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x20]
call fcn.00507a34
mov edx, dword [ebp - 4]
mov byte [edx + 0x30], al
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
mov edx, dword [ebp - 4]
mov byte [edx + 0x31], al
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x6c], edx
mov eax, dword [ebp - 4]
mov byte [eax + 4], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0xc4], 0x1869f
mov eax, dword [ebp - 4]
mov dword [eax + 0xc8], 0x1869f
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4f0732
call fcn.00403d30
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x20