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

Disassembly:
mov eax, 0x617a5c
call fcn.0044c164
sub esp, 0xc0
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push ebx
call fcn.004e9b4a
pop ecx
mov dword [ebp - 0x64], eax
mov ax, word [ebx + 0x1ac]
push 1
xor edi, edi
pop esi
cmp word [ebx + 0x126], di
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov word [ebp - 0x30], ax
mov dword [ebp - 0x2c], edi
jne 0x48f64b
push dword [ebx + 4]
call fcn.00471679
test ax, ax
pop ecx
jne 0x48f64b
mov eax, dword [ebx + 0x12c]
cmp eax, dword [ebx + 0x144]
je 0x48ebf5
mov ax, si
jmp 0x48f656
cmp dword [ebp + 0x1c], edi
je 0x48ebff
cmp dword [ebp + 0x1c], esi
jne 0x48ec1c
push edi
mov word [ebx + 0x184], si
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0048e96f
add esp, 0x18
cmp word [ebx + 0x182], di
je 0x48ec2d
xor ax, ax
jmp 0x48f656
mov word [ebx + 0x182], si
mov dword [ebp - 4], edi
call fcn.00593582
mov dword [ebp - 0x68], eax
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
lea ecx, [ebp - 0x70]
mov dword [eax], ecx
mov dword [ebp - 0x6c], 0x593563
cmp word [ebx + 0x184], di
lea esi, [ebx + 0x184]
mov byte [ebp - 4], 1
jne 0x48ec69
cmp word [ebp - 0x30], di
je 0x48ec79
push 1
push ebx
call fcn.0048e28d
pop ecx
mov word [esi], di
pop ecx
mov dword [ebp - 0x30], edi
cmp dword [ebx + 0x188], edi
jne 0x48ed12
push dword [ebx + 0x138]
call fcn.0059bbcd
fstp dword [ebp + 0x18]
pop ecx
push dword [ebx + 4]
call fcn.0046eb99
fld dword [ebp + 0x18]
pop ecx
push ecx
fstp dword [esp]
push dword [ebx + 0x12c]
push eax
call fcn.004f7d39
add esp, 0xc
cmp ax, di
mov dword [ebp - 0x18], eax
jne 0x48ed07
cmp dword [ebx + 0x188], edi
jne 0x48ece0
push dword [ebx + 0x130]
call fcn.0050e38b
cmp eax, edi
pop ecx
mov dword [ebx + 0x188], eax
je 0x48ece0
push eax
call fcn.0050faf7
pop ecx
cmp word [ebx + 0x1a8], di
jne 0x48ecf7
push dword [ebx + 4]
call fcn.004719f2
cmp ax, di
pop ecx
je 0x48ed07
cmp word [ebp - 0x30], di
jne 0x48ed07
mov dword [ebx + 0x1a4], 1
call fcn.0059d186
mov dword [ebx + 0x1a0], eax
cmp dword [ebx + 0x190], edi
jne 0x48ef80
push edi
push str.doFlatView
push str.AVGeneral
call fcn.0045fdbf
add esp, 0xc
cmp ax, di
je 0x48eecf
cmp dword [ebx + 0x198], edi
jne 0x48eecf
call fcn.00510f0f
test al, al
je 0x48ed64
lea eax, [ebp + 0x18]
push 0x73524742
push eax
mov eax, dword [0x6b23e0]
call dword [eax + 0x38]
pop ecx
pop ecx
jmp 0x48ed69
mov eax, 0x67656e20
cmp eax, edi
je 0x48ed76
push edi
push eax
call fcn.005935b8
pop ecx
pop ecx
push edi
push dword [ebp + 0x18]
push 1
call fcn.004f211c
add esp, 0xc
lea ecx, [ebp - 0x58]
push eax
call fcn.004f66b1
lea eax, [ebp - 0x58]
mov ecx, 0x6b1f08
push eax
mov byte [ebp - 4], 2
call fcn.004f22d1
mov byte [ebp - 4], 3
call fcn.004ebe36
mov dword [ebp - 0x28], eax
call fcn.004ebe42
mov esi, eax
push edi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004f25c7
add esp, 0xc
lea ecx, [ebp - 0x38]
push eax
call fcn.004f66b1
lea eax, [ebp - 0x38]
mov ecx, 0x6b2118
push eax
mov byte [ebp - 4], 4
call fcn.004f2768
fld dword [0x62566c]
push ecx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], edi
fstp dword [esp]
fld dword [0x625668]
push ecx
mov byte [ebp - 4], 5
fstp dword [esp]
fld dword [0x62566c]
push ecx
fstp dword [esp]
fild qword [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x38]
fstp dword [esp]
fild qword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x50]
fstp dword [esp]
push dword [ebp + 0x14]
push eax
push edi
call fcn.004f2b25
cmp dword [ebp - 0x38], edi
mov byte [ebp - 4], 7
je 0x48ee3f
push dword [ebp - 0x38]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
cmp dword [ebp - 0x50], edi
je 0x48eeb5
push 3
push str.printTransQuality
push str.AVGeneral
call fcn.0045ff3c
add esp, 0xc
lea ecx, [ebp - 0x50]
push eax
call fcn.004f2bba
lea eax, [ebp - 0x50]
lea ecx, [ebx + 0x190]
push eax
call fcn.00534556
mov eax, dword [ebp - 0x4c]
push ebx
mov dword [ebx + 0x194], eax
lea eax, [ebp - 0x24]
push eax
call fcn.0048e386
pop ecx
mov esi, eax
pop ecx
push esi
lea ecx, [ebx + 0x198]
mov byte [ebp - 4], 8
call fcn.00534556
mov eax, dword [esi + 4]
cmp dword [ebp - 0x24], edi
mov dword [ebx + 0x19c], eax
mov byte [ebp - 4], 7
je 0x48eeb5
push dword [ebp - 0x24]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.004f2c22
cmp dword [ebp - 0x58], edi
mov byte [ebp - 4], 1
je 0x48ef0b
push dword [ebp - 0x58]
jmp 0x48ef02
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.0048e386
pop ecx
mov esi, eax
pop ecx
push esi
lea ecx, [ebx + 0x190]
mov byte [ebp - 4], 9
call fcn.00534556
mov eax, dword [esi + 4]
cmp dword [ebp - 0x24], edi
mov dword [ebx + 0x194], eax
mov byte [ebp - 4], 1
je 0x48ef0b
push dword [ebp - 0x24]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
cmp dword [ebx + 0x190], edi
lea esi, [ebx + 0x190]
jne 0x48ef43
push 0x40090002
push 4
push dword [ebx + 4]
call fcn.0046badd
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov word [ebx + 0x182], di
add esp, 0xc
mov dword [eax], ecx
mov ax, 1
jmp 0x48f656
push esi
call fcn.004f79da
pop ecx
push dword [ebx]
call fcn.0046370f
mov eax, dword [esi]
pop ecx
mov ecx, dword [esi + 4]
push eax
call dword [ecx + 0x90]
pop ecx
push dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp + 0x14], esp
push esi
call fcn.005836d6
push ebx
call fcn.0048f665
add esp, 0x10
push dword [ebx]
call fcn.005d23ab
pop ecx
mov esi, dword [ebp + 0xc]
push esi
call fcn.0046623b
cmp ax, di
pop ecx
jne 0x48f4d7
cmp dword [ebx + 0x190], edi
je 0x48f4d7
mov eax, dword [esi]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0050dc70
mov esi, eax
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x60]
lea edi, [ebp - 0xac]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
lea eax, [ebx + 0x68]
pop ecx
movsd dword es:[edi], dword [esi]
push eax
lea eax, [ebp - 0x8c]
push eax
movsd dword es:[edi], dword [esi]
call fcn.0050e1e2
pop ecx
mov esi, eax
pop ecx
lea edi, [ebp - 0x8c]
push 6
lea eax, [ebp - 0xcc]
pop ecx
rep movsd dword es:[edi], dword [esi]
push 6
lea esi, [ebp - 0x8c]
pop ecx
lea edi, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0050d3b5
mov esi, eax
lea edi, [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x60]
lea edi, [ebp - 0x50]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsd dword es:[edi], dword [esi]
call fcn.0059d186
mov dword [ebp - 0x28], eax
call fcn.0046956c
cmp word [ebx + 0x1a8], 0
mov dword [ebp + 0x14], eax
je 0x48f060
cmp dword [ebp + 0x1c], 1
jne 0x48f060
shr dword [ebp + 0x14], 1
push 5
pop eax
cmp dword [ebp + 0x14], eax
ja 0x48f060
mov dword [ebp + 0x14], eax
push ebx
call fcn.0048e41e
test eax, eax
pop ecx
mov dword [ebp + 0x18], eax
je 0x48f28e
push dword [ebx]
call fcn.0046370f
xor esi, esi
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xa
call fcn.00593582
mov dword [ebp - 0x34], eax
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x3c]
mov dword [eax], ecx
mov dword [ebp - 0x38], 0x593563
mov eax, dword [ebx + 0x1a4]
mov byte [ebp - 4], 0xb
cmp eax, 1
jne 0x48f0af
push 5
jmp 0x48f0b6
cmp eax, 2
jne 0x48f0b9
push 8
pop edi
jmp 0x48f0c7
mov eax, dword [ebp - 0x30]
neg ax
sbb eax, eax
and eax, 7
inc eax
mov edi, eax
push 0x83
call fcn.0045d7b1
cmp ax, si
pop ecx
je 0x48f0eb
push dword [ebx + 4]
call fcn.004719f2
cmp ax, si
pop ecx
jne 0x48f0eb
or edi, 0x100
push 0x8b
call fcn.0045d7b1
cmp ax, si
pop ecx
je 0x48f101
or edi, 0x200
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 0xc]
call fcn.0059f59c
pop ecx
lea eax, [ebp - 0x9c]
pop ecx
push eax
lea eax, [ebx + 0x68]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.0059dbc5
add esp, 0xc
cmp word [ebp - 0x18], si
je 0x48f16a
push dword [ebx + 0x138]
call fcn.0059bbcd
fstp dword [ebp - 0x18]
pop ecx
push dword [ebx + 4]
call fcn.0046eb99
fld dword [ebp - 0x18]
pop ecx
push ecx
fstp dword [esp]
push dword [ebx + 0x12c]
push eax
lea eax, [ebx + 0x190]
push eax
call fcn.004f7e39
add esp, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x1a4]
cmp eax, 2
jne 0x48f1a7
cmp word [ebx + 0x1ac], si
jne 0x48f1a7
call fcn.0046956c
push eax
lea esi, [ebp - 0x50]
push dword [ebp + 0x10]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0048ff77
add esp, 0x20
mov dword [ebp - 0x14], eax
jmp 0x48f245
cmp eax, 3
jne 0x48f1d1
call fcn.0046956c
push 0
push eax
push dword [ebp + 0x10]
lea esi, [ebp - 0x50]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0048f858
add esp, 0x24
jmp 0x48f19f
cmp word [ebp - 0x14], si
jne 0x48f245
lea eax, [ebp - 0x74]
push eax
push ebx
call fcn.0048f831
pop ecx
pop ecx
mov ecx, dword [ebx + 0x188]
cmp ecx, esi
je 0x48f214
push esi
push esi
push esi
lea eax, [ebp - 0x50]
push esi
push eax
push dword [ebp + 0x14]
lea eax, [ebx + 0x190]
push edi
push dword [ebx + 0x138]
push dword [ebp + 0x18]
push eax
push ecx
call fcn.0050eb69
add esp, 0x2c
jmp 0x48f19f
push dword [ebp - 0x74]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
push dword [ebx + 0x138]
lea eax, [ebx + 0x190]
push dword [ebp + 0x18]
push eax
push dword [ebx + 0x130]
call fcn.0050f19b
add esp, 0x20
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
jmp 0x48f25e
push dword [ebx]
mov dword [ebp - 4], 1
call fcn.005d23ab
pop ecx
push dword [ebp + 0x18]
push ebx
call fcn.0048e451
xor eax, eax
pop ecx
cmp word [ebp - 0x14], ax
pop ecx
jne 0x48f28e
cmp dword [ebp - 0x2c], eax
jne 0x48f28e
cmp dword [ebp + 0x1c], eax
jne 0x48f609
lea eax, [ebx + 0x190]
lea ecx, [ebp - 0x40]
push eax
call fcn.0048b9d3
push dword [ebx]
mov byte [ebp - 4], 0xd
call fcn.0046370f
xor esi, esi
pop ecx
cmp dword [ebp - 0x40], esi
je 0x48f2ba
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
call dword [eax + 0x1c]
pop ecx
cmp dword [ebp + 0x1c], esi
jne 0x48f2cb
mov dword [ebp - 0x14], 1
jmp 0x48f47a
cmp dword [ebx + 0x188], esi
je 0x48f47a
and dword [ebp + 0x1c], 0
mov eax, dword [ebx + 0x1a4]
cmp eax, 1
jne 0x48f2f2
mov dword [ebx + 0x1a4], 2
jmp 0x48f31d
cmp eax, 2
jne 0x48f311
push ebx
mov dword [ebx + 0x1a4], 3
call fcn.0048f77c
cmp dword [ebx + 0x1bc], 0
pop ecx
jmp 0x48f314
cmp eax, 3
jne 0x48f31d
and dword [ebx + 0x1a4], 0
xor eax, eax
cmp dword [ebx + 0x1a4], eax
sete al
test ax, ax
mov dword [ebp - 0x14], eax
jne 0x48f473
call fcn.0059d186
cmp eax, dword [ebp - 0x28]
jb 0x48f354
mov ecx, dword [ebp + 0x14]
mov edx, eax
sub edx, dword [ebp - 0x28]
cmp edx, ecx
jae 0x48f354
sub ecx, eax
add ecx, dword [ebp - 0x28]
mov dword [ebp + 0x18], ecx
jmp 0x48f35b
mov dword [ebp + 0x1c], 1
cmp word [ebp + 0x1c], 0
jne 0x48f47a
push dword [ebx + 0x188]
call fcn.0050faf7
pop ecx
push dword [ebx]
call fcn.005d23ab
pop ecx
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.0048e386
pop ecx
mov edi, eax
pop ecx
lea esi, [ebx + 0x190]
push edi
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00534556
mov eax, dword [edi + 4]
xor edi, edi
cmp dword [ebp - 0x58], edi
mov dword [esi + 4], eax
mov byte [ebp - 4], 0xd
je 0x48f3b7
push dword [ebp - 0x58]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
cmp dword [esi], edi
je 0x48f458
push dword [ebx]
call fcn.0046370f
mov eax, dword [esi]
pop ecx
mov ecx, dword [esi + 4]
push eax
call dword [ecx + 0x90]
pop ecx
push dword [ebp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push esi
call fcn.005836d6
push ebx
call fcn.0048f665
mov eax, dword [ebx + 0x1a4]
add esp, 0x10
cmp eax, 2
jne 0x48f42c
cmp word [ebx + 0x1ac], di
jne 0x48f466
push dword [ebp + 0x18]
lea esi, [ebp - 0x50]
push dword [ebp + 0x10]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0048ff77
add esp, 0x20
xor ecx, ecx
test ax, ax
sete cl
mov dword [ebp + 0x1c], ecx
jmp 0x48f466
cmp eax, 3
jne 0x48f466
lea eax, [ebp + 0x1c]
lea esi, [ebp - 0x50]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x10]
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
push dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
call fcn.0048f858
add esp, 0x24
mov dword [ebp - 0x14], eax
jmp 0x48f45f
mov dword [ebp - 0x14], 1
cmp word [ebp - 0x14], 0
jne 0x48f473
cmp word [ebp + 0x1c], 0
je 0x48f2db
jmp 0x48f47a
and dword [ebx + 0x1a4], 0
xor esi, esi
cmp dword [ebp - 0x2c], esi
je 0x48f4a8
push dword [ebp - 0x2c]
push dword [ebx + 0x130]
call fcn.0050e37b
pop ecx
pop ecx
push dword [ebp - 0x2c]
push 4
push dword [ebp - 0x64]
call fcn.0046badd
add esp, 0xc
mov dword [ebp - 0x14], 1
cmp dword [ebx + 0x190], esi
je 0x48f4b8
push dword [ebx]
call fcn.005d23ab
pop ecx
cmp dword [ebp - 0x40], esi
mov byte [ebp - 4], 1
je 0x48f4cd
push dword [ebp - 0x40]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
cmp word [ebp - 0x14], si
je 0x48f609
xor edi, edi
push edi
push str.doFlatView
push str.AVGeneral
call fcn.0045fdbf
add esp, 0xc
cmp ax, di
je 0x48f54d
cmp dword [ebx + 0x198], edi
lea esi, [ebx + 0x198]
je 0x48f54d
lea eax, [ebx + 0x190]
lea ecx, [ebp - 0x50]
push eax
call fcn.004f2bcb
cmp dword [ebp - 0x50], edi
mov byte [ebp - 4], 0xf
je 0x48f541
lea ecx, [ebp + 0x10]
call fcn.00427eff
push eax
push esi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x10
call fcn.004f2c33
mov eax, dword [0x6b1c1c]
mov byte [ebp - 4], 0xf
cmp eax, edi
je 0x48f541
push dword [ebp + 0x10]
call dword [eax + 0xc]
pop ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.004f2c22
call fcn.0059d186
sub eax, dword [ebx + 0x1a0]
cmp dword [ebx + 0x190], edi
lea ecx, [ebx + 0x1a0]
lea esi, [ebx + 0x190]
mov dword [ecx], eax
je 0x48f5b2
push dword [ebx]
call fcn.005d23ab
pop ecx
push dword [ebx + 0x188]
call fcn.0053e514
pop ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x11
call fcn.00534556
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], edi
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
je 0x48f5b2
push dword [ebp - 0x1c]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
cmp dword [ebx + 0x198], edi
lea esi, [ebx + 0x198]
je 0x48f5f0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
mov byte [ebp - 4], 0x12
call fcn.00534556
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c], edi
mov dword [esi + 4], eax
mov byte [ebp - 4], 1
je 0x48f5f0
push dword [ebp - 0x1c]
mov eax, dword [0x6b1bfc]
call dword [eax + 0xc]
pop ecx
push dword [ebp - 0x64]
call fcn.0046bd74
lea esi, [ebx + 0x188]
pop ecx
push dword [esi]
call fcn.0053c050
pop ecx
mov dword [esi], edi
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
mov dword [eax], ecx
jmp 0x48f645
mov ax, word [ebp - 0x14]
jmp 0x48f64e
mov ax, si
and word [ebx + 0x182], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret