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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
test dl, dl
je 0x4d769a
add esp, 0xfffffff0
call fcn.00404114
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x5739dc]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
xor eax, eax
mov al, byte [ebp + 0x10]
cmp eax, 0x12
ja case.0x4d76be.4
jmp dword [eax*4 + 0x4d76c5]
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.0x4d76be.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 0x4d77af
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xa
cmp dword [ebp - 0xc], 0x27
jne 0x4d77cc
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.0x4d76be.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 0x4d781f
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp dword [eax + 8], 0x54
jl 0x4d780b
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x82
jmp 0x4d7815
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 0x4d785f
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp dword [eax + 8], 0x4e
jl 0x4d784b
mov eax, dword [0x57382c]
mov eax, dword [eax]
cmp dword [eax + 0xc], 0x30
jl 0x4d784b
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x96
jmp 0x4d7855
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 0x4d7879
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.0x4d76be.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.0x4d76be.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 [0x574338]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
jmp case.0x4d76be.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 0x4d7a26
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 2
mov eax, 6
call fcn.004035d8
cmp eax, 5
ja case.default.0x4d79ad
jmp dword [eax*4 + 0x4d79b4]
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xe6
jmp case.default.0x4d79ad
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xf0
jmp case.default.0x4d79ad
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xfa
jmp case.default.0x4d79ad
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xe6
jmp case.default.0x4d79ad
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xf0
jmp case.default.0x4d79ad
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 0x4d7a82
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 3
mov eax, 3
call fcn.004035d8
sub eax, 1
jb 0x4d7a4c
je 0x4d7a58
dec eax
je 0x4d7a64
jmp 0x4d7a6e
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x190
jmp 0x4d7a6e
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x19a
jmp 0x4d7a6e
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 0x4d7a9c
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 0x4d7ac0
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 0x4d7ae4
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 0x4d7b08
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.0x4d76be.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.0x4d76be.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 [0x5736e4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
jmp case.0x4d76be.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.0x4d76be.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.0x4d76be.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.0x4d76be.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
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 0x4d7d07
cmp dword [ebp - 0xc], 0x51
jne 0x4d7ce1
sub dword [ebp + 0x20], 0xe
add dword [ebp + 0x1c], 0x14
cmp dword [ebp - 0xc], 0x51
jne 0x4d7cef
sub dword [ebp + 0x20], 0x46
sub dword [ebp + 0x1c], 0xa
cmp dword [ebp - 0xc], 0x53
jne 0x4d7cfd
sub dword [ebp + 0x20], 0x3c
sub dword [ebp + 0x1c], 0x46
mov eax, 0x2010
call fcn.004e5790
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x20]
mov dword [eax + 0xa0], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0x1c]
mov dword [eax + 0xa4], 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 [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xf4]
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [0x57382c]
mov edx, dword [edx]
add eax, dword [edx + 0xcc]
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov eax, dword [0x57382c]
mov eax, dword [eax]
mov eax, dword [eax + 0xf8]
shl eax, 5
mov edx, dword [0x57382c]
mov edx, dword [edx]
add eax, dword [edx + 0xd0]
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x80], 0
jne 0x4d7dc5
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 + 0xa0]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x34]
je 0x4d7df9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa0]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x10], eax
jmp 0x4d7e00
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa4]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x38]
je 0x4d7e2a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa4]
cdq
xor eax, edx
sub eax, edx
mov dword [ebp - 0x14], eax
jmp 0x4d7e31
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xa0]
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 + 0xa4]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x38]
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jle 0x4d7ebd
fild dword [ebp - 0x10]
fdivr dword [0x4d7fc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa0]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00403038
mov edx, dword [ebp - 4]
mov dword [edx + 0xa8], eax
fild dword [ebp - 0x10]
fdivr dword [0x4d7fc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00403038
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
jmp 0x4d7f19
fild dword [ebp - 0x14]
fdivr dword [0x4d7fc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa0]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00403038
mov edx, dword [ebp - 4]
mov dword [edx + 0xa8], eax
fild dword [ebp - 0x14]
fdivr dword [0x4d7fc8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0xa4]
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fmulp st(1)
call fcn.00403038
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], 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 + 0x90], eax
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 + 0x9c], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov dword [eax + 0x98], 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.004e7858
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 + 0xc0], 0x1869f
mov eax, dword [ebp - 4]
mov dword [eax + 0xc4], 0x1869f
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4d7fbe
call fcn.0040416c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x20