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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
test dl, dl
je 0x4d2176
add esp, 0xfffffff0
call fcn.00404510
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4e97e4]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
xor eax, eax
mov al, byte [ebp + 0x10]
cmp eax, 0x10
ja case.0x4d219a.0
jmp dword [eax*4 + 0x4d21a1]
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 0x4d223c
mov eax, dword [ebp - 4]
mov dword [eax + 0x8c], 0xa
cmp dword [ebp - 0xc], 0x27
jne 0x4d2259
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.0x4d219a.0
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 0x4d22ac
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp dword [eax + 8], 0x54
jl 0x4d2298
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x82
jmp 0x4d22a2
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 0x4d22ec
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp dword [eax + 8], 0x4e
jl 0x4d22d8
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
cmp dword [eax + 0xc], 0x30
jl 0x4d22d8
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x96
jmp 0x4d22e2
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 0x4d2306
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.0x4d219a.0
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.0x4d219a.0
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 [0x4e95e4]
mov eax, dword [eax]
mov eax, dword [eax + 0x404]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
jmp case.0x4d219a.0
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 0x4d24b8
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 2
mov eax, 6
call fcn.00403354
cmp eax, 5
ja case.default.0x4d243f
jmp dword [eax*4 + 0x4d2446]
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xe6
jmp case.default.0x4d243f
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xf0
jmp case.default.0x4d243f
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xfa
jmp case.default.0x4d243f
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xe6
jmp case.default.0x4d243f
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0xf0
jmp case.default.0x4d243f
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 0x4d2514
mov eax, dword [ebp - 4]
mov byte [eax + 0x80], 3
mov eax, 3
call fcn.00403354
sub eax, 1
jb 0x4d24de
je 0x4d24ea
dec eax
je 0x4d24f6
jmp 0x4d2500
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x190
jmp 0x4d2500
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0x19a
jmp 0x4d2500
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 0x4d252e
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 0x4d2552
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 0x4d2576
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 0x4d259a
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.0x4d219a.0
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.0x4d219a.0
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 [0x4e9610]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
mov dword [edx + 0x14], eax
jmp case.0x4d219a.0
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.0x4d219a.0
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.0x4d219a.0
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.0x4d219a.0
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 0x4d2799
cmp dword [ebp - 0xc], 0x51
jne 0x4d2773
sub dword [ebp + 0x20], 0xe
add dword [ebp + 0x1c], 0x14
cmp dword [ebp - 0xc], 0x51
jne 0x4d2781
sub dword [ebp + 0x20], 0x46
sub dword [ebp + 0x1c], 0xa
cmp dword [ebp - 0xc], 0x53
jne 0x4d278f
sub dword [ebp + 0x20], 0x3c
sub dword [ebp + 0x1c], 0x46
mov eax, 0x2010
call fcn.004c4298
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 [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xe0]
shl eax, 4
lea eax, [eax + eax*2]
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
add eax, dword [edx + 0xb8]
mov edx, dword [ebp - 4]
mov dword [edx + 0xb8], eax
mov eax, dword [0x4e96e8]
mov eax, dword [eax]
mov eax, dword [eax + 0xe4]
shl eax, 5
mov edx, dword [0x4e96e8]
mov edx, dword [edx]
add eax, dword [edx + 0xbc]
mov edx, dword [ebp - 4]
mov dword [edx + 0xbc], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x80], 0
jne 0x4d2857
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 0x4d288b
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 0x4d2892
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 0x4d28bc
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 0x4d28c3
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 0x4d294f
fild dword [ebp - 0x10]
fdivr dword [0x4d2a5c]
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.004033d0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa8], eax
fild dword [ebp - 0x10]
fdivr dword [0x4d2a5c]
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.004033d0
mov edx, dword [ebp - 4]
mov dword [edx + 0xac], eax
jmp 0x4d29ab
fild dword [ebp - 0x14]
fdivr dword [0x4d2a5c]
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.004033d0
mov edx, dword [ebp - 4]
mov dword [edx + 0xa8], eax
fild dword [ebp - 0x14]
fdivr dword [0x4d2a5c]
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.004033d0
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.004d60ac
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 0x4d2a50
call fcn.00404568
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x20