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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x489870]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], edi
je 0x423292
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
and dword [esp + 0x20], 0
xor esi, esi
mov edx, dword [ebp + 0x10]
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x24], esi
cmp ecx, 0x2a1
ja 0x422fa1
je 0x422f3a
cmp ecx, 0x113
ja 0x422c19
je 0x422bf8
sub ecx, 1
je 0x422aa3
sub ecx, 4
je 0x422bed
sub ecx, 0xa
je 0x422ac5
sub ecx, 1
je 0x422aab
sub ecx, 4
jne 0x423292
mov dword [eax], 1
lea eax, [esp + 0x84]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetDC]
sub esp, 0x10
lea esi, [esp + 0x94]
mov edi, esp
mov ebx, eax
mov ecx, ebx
push 0x59
movsd dword es:[edi], dword [esi]
pop edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00423b63
mov edi, dword [esp + 0x20]
add esp, 0x10
push ebx
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
inc eax
jmp 0x423294
mov edi, dword [ebx + 4]
test edi, edi
je 0x422aa3
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
jmp 0x422aa3
xor eax, eax
lea edi, [esp + 0x94]
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x98]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x422aa3
xor eax, eax
lea edi, [esp + 0x84]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x84]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebx + 0x38], 0
je 0x422b47
cmp dword [ebx + 0x20], esi
jne 0x422b47
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x90]
sub eax, dword [esp + 0x88]
push eax
push dword [ebx + 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x20], eax
push 0x40
lea eax, [esp + 0x44]
push esi
push eax
call fcn.0045a980
add esp, 0xc
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x38], 0
jne 0x422baa
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_SaveDC]
mov edi, dword [esp + 0x10]
mov ebx, eax
lea eax, [esp + 0x48]
push eax
push dword [esp + 0x44]
mov edi, dword [edi + 0x34]
mov ecx, dword [edi]
mov esi, dword [ecx + 0xa0]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
push ebx
push dword [esp + 0x44]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ebx, dword [esp + 0x10]
mov edi, dword [ebx + 0x34]
mov eax, dword [edi]
mov esi, dword [eax + 0xa4]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
lea eax, [esp + 0x40]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
cmp dword [ebx + 0x24], eax
je 0x422aa3
push eax
push eax
push dword [ebx + 0x14]
mov dword [ebx + 0x24], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x422aa3
xor eax, eax
inc eax
mov dword [ebx + 0x24], eax
jmp 0x423294
mov edi, dword [ebx + 4]
test edi, edi
je 0x423292
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
jmp 0x423292
sub ecx, 0x200
je 0x422def
sub ecx, 1
je 0x422d55
sub ecx, 1
je 0x422ccd
sub ecx, 1
jne 0x423292
movsx eax, dx
shr edx, 0x10
movsx ecx, dx
push ecx
mov dword [esp + 0x1c], ecx
mov dword [ebx + 0x2c], ecx
mov ecx, ebx
push eax
mov dword [esp + 0x18], eax
mov dword [ebx + 0x28], eax
call fcn.00423473
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x423292
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0xd
mov dword [esp + 0x30], eax
mov word [esp + 0x36], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x1c]
mov eax, dword [esi]
push ecx
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov edi, dword [esp + 0x18]
mov ecx, edi
call esi
mov dword [ebx + 0x10], edi
cmp dword [ebx + 0xc], 0
je 0x423292
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SetCapture]
jmp 0x423292
movsx esi, dx
shr edx, 0x10
cmp dword [ebx + 0x10], 0
movsx eax, dx
mov dword [esp + 0x14], eax
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], eax
jne 0x422cf0
cmp dword [ebx + 0xc], 0
je 0x423292
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x38], edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov word [esp + 0x36], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
test edi, edi
jne 0x422e4b
mov edi, dword [ebx + 0x10]
test edi, edi
je 0x423292
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
and dword [ebx + 0x10], 0
jmp 0x423292
mov eax, dword [ebx + 0xc]
movsx ecx, dx
shr edx, 0x10
movsx edx, dx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x422d8c
push edx
push ecx
mov ecx, ebx
call fcn.00423473
mov dword [esp + 0x10], eax
test eax, eax
je 0x423292
mov dword [ebx + 0x10], eax
mov eax, dword [eax]
mov esi, dword [eax + 0x34]
mov ecx, esi
call dword [0x467454]
mov ecx, dword [esp + 0x10]
call esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x20], 0xb
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], eax
mov word [esp + 0x36], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
jmp 0x422cb5
cmp byte [ebx + 0x30], 0
jne 0x422df9
mov byte [ebx + 0x30], 1
movsx edi, dx
mov ecx, ebx
shr edx, 0x10
movsx esi, dx
push esi
push edi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], esi
call fcn.00423473
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], esi
mov dword [esp + 0x38], eax
mov word [esp + 0x36], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
test edi, edi
je 0x422e69
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
mov eax, dword [edi]
lea ecx, [esp + 0x1c]
push ecx
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
jmp 0x423292
mov eax, dword [ebx + 8]
mov ecx, eax
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
cmp edi, eax
je 0x422eab
test eax, eax
je 0x422eaf
mov dword [esp + 0x20], 2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], edi
mov eax, dword [eax]
push ecx
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov ecx, dword [esp + 0x18]
call esi
and dword [ebx + 8], 0
xor ecx, ecx
cmp edi, ecx
je 0x422edb
test edi, edi
je 0x422edb
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 3
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov dword [ebx + 8], edi
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x14], eax
test eax, eax
je 0x422f28
and dword [esp + 0x24], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], 1
mov eax, dword [eax]
push ecx
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov ecx, dword [esp + 0x18]
call esi
test edi, edi
je 0x423292
cmp edi, dword [ebx + 0x10]
je 0x423292
mov dword [esp + 0x24], edi
jmp 0x422e4b
test edi, edi
je 0x423292
and dword [esp + 0x24], 0
jmp 0x422e43
movsx esi, dx
mov ecx, ebx
shr edx, 0x10
movsx edi, dx
push edi
push esi
mov byte [ebx + 0x30], 0
call fcn.00423473
test eax, eax
je 0x423292
cmp dword [ebx + 8], 0
je 0x422aa3
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], 4
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebx + 8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 0x88]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
jmp 0x422aa3
mov eax, 0x84e
cmp ecx, eax
ja 0x4230fd
je 0x423002
cmp ecx, 0x2a3
je 0x422ff9
cmp ecx, 0x7f2
je 0x423121
cmp ecx, 0x7fb
jbe 0x423292
cmp ecx, 0x7fd
jbe 0x423121
cmp ecx, 0x84b
jbe 0x423292
cmp ecx, 0x84d
jbe 0x423121
jmp 0x423292
mov byte [ebx + 0x30], 0
jmp 0x423292
mov edi, dword [ebx + 0x34]
push 0x10
push str.StatusLabel
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x423292
mov ecx, dword [edi]
push 1
mov esi, dword [ecx + 0x48]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x20]
mov ecx, esi
mov eax, dword [esp + 0x18]
push eax
call dword [0x467454]
mov ecx, edi
call esi
cmp dword [ebp + 0x10], 0x2720
lea ecx, [esp + 0x94]
mov eax, dword [edi]
push ecx
mov esi, dword [eax + 0x68]
mov ecx, esi
jne 0x4230d9
movaps xmm0, xmmword [0x47f620]
movups xmmword [esp + 0x98], xmm0
call dword [0x467454]
mov ecx, edi
call esi
push 0x14
mov ecx, edi
call fcn.00422146
mov edi, dword [ebx + 0x34]
push 0x10
push str.ProgressBar
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x423292
mov ecx, dword [edi]
push 0
mov esi, dword [ecx + 0x48]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
xorps xmm0, xmm0
lea ecx, [esp + 0x84]
movups xmmword [esp + 0x84], xmm0
jmp 0x42327b
movaps xmm0, xmmword [0x47f600]
movups xmmword [esp + 0x98], xmm0
call dword [0x467454]
mov ecx, edi
call esi
push 0x25
mov ecx, edi
call fcn.00422146
jmp 0x4230c2
mov eax, ecx
sub eax, 0x84f
je 0x423232
sub eax, 1
je 0x423227
sub eax, 1
je 0x423144
sub eax, 1
jne 0x423292
mov ebx, dword [ebx + 4]
test ebx, ebx
je 0x423292
mov eax, dword [ebx]
push edx
push edi
push ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x467454]
mov ecx, ebx
call esi
jmp 0x423292
mov edi, dword [ebx + 0x34]
push 0x10
push str.FileLabel
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x423178
mov ecx, dword [edi]
push 0
mov esi, dword [ecx + 0x48]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
cmp dword [ebp + 0x10], 0
je 0x423218
mov edi, dword [ebx + 0x34]
push 0x10
push str.SupportButton
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x4231cd
mov ecx, dword [edi]
push dword [ebx + 0x18]
mov esi, dword [ecx + 0xb0]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov eax, dword [edi]
push 1
mov esi, dword [eax + 0x48]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov edi, dword [ebx + 0x34]
push 0x10
push str.RetryButton
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x423218
mov ecx, dword [edi]
push dword [ebx + 0x18]
mov esi, dword [ecx + 0xb0]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov eax, dword [edi]
push 1
mov esi, dword [eax + 0x48]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
push 1
push 0
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x423292
push edx
push edi
mov ecx, ebx
call fcn.004232ab
jmp 0x423292
mov edi, dword [ebx + 0x34]
push 0x10
push str.FileLabel
mov eax, dword [edi]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
mov edi, eax
test edi, edi
je 0x423292
mov ecx, dword [edi]
mov eax, dword [esp + 0x18]
push eax
mov esi, dword [ecx + 0x20]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
xorps xmm0, xmm0
lea ecx, [esp + 0x94]
movups xmmword [esp + 0x94], xmm0
mov eax, dword [edi]
push ecx
push 0
mov esi, dword [eax + 0xa0]
mov ecx, esi
call dword [0x467454]
mov ecx, edi
call esi
xor eax, eax
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00455de6
mov esp, ebp
pop ebp
ret 0x10