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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cbdd0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
cmp dword [edi + 4], 0x62cb09e3
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x24], edi
je 0x446c86
xor al, al
jmp 0x446e48
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jg 0x446ca1
jl 0x446c96
mov eax, dword [ebp + 8]
test eax, eax
jae 0x446ca4
xorps xmm0, xmm0
movlpd qword [ebp + 8], xmm0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp byte [ebx + 0x127], 0
je 0x446cd2
cmp byte [edi + 0x94], 0
jne 0x446cd2
cmp dword [edi + 0x74], 0
jl 0x446cd2
jg 0x446cc4
cmp dword [edi + 0x70], 0
jbe 0x446cd2
push ecx
push eax
push str.consumeProgress
mov ecx, ebx
call fcn.00438210
mov al, byte [edi + 0x94]
mov byte [ebp - 0x15], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x16], al
test al, al
jne 0x446d97
mov edx, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
mov byte [ebp - 0x16], al
test edx, edx
jl 0x446d97
jg 0x446d09
test ecx, ecx
je 0x446d97
mov esi, dword [edi + 0x7c]
mov eax, dword [edi + 0x78]
push edx
push ecx
push esi
push eax
mov ecx, edi
call fcn.00447360
mov edx, dword [edi + 0x74]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
adc esi, dword [ebp + 0xc]
mov dword [edi + 0x78], eax
xor al, al
mov dword [edi + 0x7c], esi
mov byte [ebp - 0x16], al
cmp esi, edx
jl 0x446d97
mov ecx, dword [edi + 0x70]
jg 0x446d45
cmp dword [ebp - 0x1c], ecx
jbe 0x446d97
xor al, al
mov byte [ebp - 0x16], al
cmp byte [ebx + 0x127], al
je 0x446d91
mov eax, dword [ebx]
mov ecx, ebx
push str.Amount_consumed_is_greater_than_the_total.
call dword [eax + 0x14]
push dword [edi + 0x7c]
mov ecx, ebx
push dword [edi + 0x78]
push str.m_consumed64
call fcn.00438210
push dword [edi + 0x74]
mov ecx, ebx
push dword [edi + 0x70]
push str.m_totalAmount64
call fcn.00438210
mov al, byte [edi + 0x94]
mov ecx, dword [edi + 0x70]
mov edx, dword [edi + 0x74]
mov byte [ebp - 0x16], al
mov dword [edi + 0x78], ecx
mov dword [edi + 0x7c], edx
xor esi, esi
test al, al
jne 0x446dc1
mov edx, dword [edi + 0x74]
mov ecx, dword [edi + 0x70]
test edx, edx
jl 0x446dc1
jg 0x446dad
test ecx, ecx
je 0x446dc1
push edx
push ecx
push dword [edi + 0x7c]
mov ecx, edi
push dword [edi + 0x78]
call fcn.00447360
mov esi, eax
mov al, byte [ebp - 0x16]
cmp dword [edi + 0x64], 0
je 0x446e45
test al, al
jne 0x446e66
cmp esi, dword [ebp - 0x20]
jbe 0x446e66
cmp esi, dword [edi + 0x60]
jbe 0x446e66
call sub.KERNEL32.dll_GetTickCount
cmp byte [edi + 0x96], 0
mov dword [edi + 0x6c], eax
je 0x446dfa
cmp esi, dword [edi + 0x8c]
je 0x446e3b
mov dword [edi + 0x60], esi
cmp byte [ebx + 0x127], 0
je 0x446e13
push esi
push str.percentDoneCB
mov ecx, ebx
call fcn.00438280
mov ecx, dword [edi + 0x64]
mov dword [ebp - 4], 0
cmp dword [ecx + 8], 0x77109acd
jne 0x446e3b
mov eax, dword [ecx]
lea edx, [ebp - 0x15]
push edx
push esi
call dword [eax + 8]
jmp 0x446e3b
cmp byte [ebp - 0x15], 0
je 0x446e45
mov byte [edi + 0x69], 1
mov al, byte [edi + 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0xc
cmp byte [edi + 0x95], 0
jne 0x446e45
cmp dword [edi + 0x88], 0
je 0x446e45
call sub.KERNEL32.dll_GetTickCount
mov edx, eax
mov esi, 0x12c
mov eax, dword [edi + 0x88]
mov ecx, edx
sub ecx, dword [edi + 0x6c]
test eax, eax
cmove eax, esi
cmp ecx, eax
jbe 0x446e45
mov ecx, dword [edi + 0x64]
mov dword [edi + 0x90], edx
mov dword [edi + 0x6c], edx
mov dword [ebp - 4], 2
cmp dword [ecx + 8], 0x77109acd
jne 0x446e3b
mov eax, dword [ecx]
lea edx, [ebp - 0x15]
push edx
call dword [eax + 0xc]
jmp 0x446e3b