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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456308
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x334]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
imul dword [edx + 0x354]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x338]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
imul dword [edx + 0x354]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
lea edx, [eax + 0x350]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x384]
mov ecx, dword [ebp - 4]
call fcn.0045ca10
jmp 0x4562c2
mov eax, dword [ebp + 8]
lea ecx, [eax - 8]
mov eax, dword [ebp + 8]
lea edx, [eax - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
add eax, 0x350
call fcn.0045caa4
test al, al
je 0x4562ce
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
mov edx, dword [edx + 0x358]
add edx, edx
mov ecx, edx
xor edx, edx
div ecx
mov edx, dword [ebp - 8]
cmp eax, dword [edx]
jbe 0x455ccf
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
imul dword [edx + 0x358]
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
mov edx, dword [edx + 0x358]
add edx, edx
mov ecx, edx
xor edx, edx
div ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, al
je 0x455e67
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x10]
jae 0x455e67
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jbe 0x455d2a
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x455d30
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp dword [eax + 0x358], 1
jne 0x455dac
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jb 0x455e67
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
mov eax, dword [ebp - 0x28]
add eax, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax]
fild word [eax]
fmulp st(1)
call fcn.0040299c
mov edx, dword [ebp - 0x28]
add edx, edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
lea edx, [ecx + edx]
mov word [edx], ax
inc dword [ebp - 0x28]
dec dword [ebp - 0x2c]
jne 0x455d56
jmp 0x455e67
mov eax, dword [ebp - 0x1c]
dec eax
test eax, eax
jb 0x455e67
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
mov eax, dword [ebp - 0x28]
shl eax, 2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax]
fild word [eax]
fmulp st(1)
call fcn.0040299c
mov edx, dword [ebp - 0x28]
shl edx, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
lea edx, [ecx + edx]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
mov eax, dword [ebp - 0x28]
shl eax, 2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax + 2]
fild word [eax]
fmulp st(1)
call fcn.0040299c
mov edx, dword [ebp - 0x28]
shl edx, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
lea edx, [ecx + edx + 2]
mov word [edx], ax
inc dword [ebp - 0x28]
dec dword [ebp - 0x2c]
jne 0x455dc3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x304]
mov edx, dword [eax]
call dword [edx + 0xb4]
test al, al
je 0x455ff3
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x14]
cmp eax, edx
jbe 0x455ff3
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jbe 0x455eb0
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
jmp 0x455eb5
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
cmp dword [eax + 0x358], 1
jne 0x455f33
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
dec edx
sub edx, eax
jb 0x455ff3
inc edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
mov eax, dword [ebp - 0x28]
add eax, eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax]
fild word [eax]
fmulp st(1)
call fcn.0040299c
mov edx, dword [ebp - 0x28]
add edx, edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
lea edx, [ecx + edx]
mov word [edx], ax
inc dword [ebp - 0x28]
dec dword [ebp - 0x2c]
jne 0x455eda
jmp 0x455ff3
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
dec edx
sub edx, eax
jb 0x455ff3
inc edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
mov eax, dword [ebp - 0x28]
shl eax, 2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax]
fild word [eax]
fmulp st(1)
call fcn.0040299c
mov edx, dword [ebp - 0x28]
shl edx, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
lea edx, [ecx + edx]
mov word [edx], ax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
mov eax, dword [ebp - 0x28]
shl eax, 2
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax + 2]
fild word [eax]
fmulp st(1)
call fcn.0040299c
mov edx, dword [ebp - 0x28]
shl edx, 2
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
lea edx, [ecx + edx + 2]
mov word [edx], ax
inc dword [ebp - 0x28]
dec dword [ebp - 0x2c]
jne 0x455f49
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
sub dword [eax], edx
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jbe 0x45611f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x18]
mov edx, dword [ebp + 8]
cmp eax, dword [edx - 8]
jbe 0x45605b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
lea eax, [edx + eax]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 8]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
call fcn.00406bd0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
add dword [edx - 0x18], eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 8], edx
jmp 0x456112
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 0x18]
mov edx, dword [ebp + 8]
mov dword [edx - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x1c]
lea eax, [edx + eax]
mov edx, dword [ebp + 8]
mov ecx, dword [edx - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
call fcn.00406bd0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff4
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x30]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x1c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x2c]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x28]
push eax
call sub.Lame_enc.dll_beEncodeChunk
test eax, eax
jne 0x4562ed
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jle 0x4560e9
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 0x30]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x34]
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax - 0x18], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
lea eax, [edx + eax]
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x20]
mov edx, dword [ebp + 8]
sub dword [edx - 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
ja 0x45600e
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
mov edx, dword [ebp - 8]
sub eax, dword [edx]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
fmul dword [0x456314]
call fcn.0040299c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x2f0]
call fcn.0044f0ec
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
sub eax, dword [edx + 0x330]
xor edx, edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x10]
sub eax, dword [ecx + 0x340]
sbb edx, dword [ecx + 0x344]
cmp edx, 0
jne 0x4561a0
cmp eax, 0x3e8
jb 0x4562b6
jmp 0x4561a6
jl 0x4562b6
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x10]
sub eax, dword [edx + 0x330]
xor edx, edx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x10]
mov dword [ecx + 0x340], eax
mov dword [ecx + 0x344], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
xor edx, edx
push edx
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [eax + 0x344]
mov eax, dword [eax + 0x340]
call fcn.00405d10
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
fild qword [ebp - 0x34]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x38]
mov edx, dword [ebp - 8]
sub eax, dword [edx]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
fild qword [ebp - 0x3c]
fdivp st(1)
call fcn.0040299c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x10]
mov dword [ecx + 0x348], eax
mov dword [ecx + 0x34c], edx
push 0x456320
push 0
push 0x3e8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [eax + 0x344]
mov eax, dword [eax + 0x340]
call fcn.00405d56
lea edx, [ebp - 0x44]
call fcn.00455b00
push dword [ebp - 0x44]
push 0x456334
push 0
push 0x3e8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov edx, dword [eax + 0x34c]
mov eax, dword [eax + 0x348]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x10]
sub eax, dword [ecx + 0x340]
sbb edx, dword [ecx + 0x344]
call fcn.00405d56
lea edx, [ebp - 0x48]
call fcn.00455b00
push dword [ebp - 0x48]
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00403e44
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
mov eax, dword [eax + 0x2ec]
call fcn.0042c1ec
mov eax, dword [0x464830]
mov eax, dword [eax]
call fcn.00449f30
mov eax, dword [ebp - 8]
cmp dword [eax], 0
ja 0x455c71
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jbe 0x4562dd
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
add eax, 0x350
call fcn.0045cb00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45630f
lea eax, [ebp - 0x48]
mov edx, 3
call fcn.00403b28
ret