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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51775b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x55509c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
cmp esi, 7
jne 0x46c182
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [edi + 0x30]
push eax
add ecx, 0x974
mov dword [ebp - 4], 0
call fcn.00425d00
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.00425c60
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.0046c060
push eax
mov eax, dword [esi]
mov ecx, esi
push 0x672
push esi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.0042e820
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0x15
movq qword [ebp - 0x1c], xmm0
call fcn.0046c790
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00427830
jmp 0x46c4ae
cmp esi, 8
jne 0x46c204
mov ecx, dword [edi + 0x30]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.0042a470
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0x14
movq qword [ebp - 0x1c], xmm0
call fcn.0046c790
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0xb8]
push ecx
push eax
push esi
mov ecx, edi
call fcn.0046cc50
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00427830
jmp 0x46c4ae
cmp esi, 0x2111
jne 0x46c285
mov ecx, eax
mov edx, 0x300
shr ecx, 0x10
cmp cx, dx
jne 0x46c245
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
mov ecx, edi
call fcn.0046cb80
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00427830
jmp 0x46c4ae
mov eax, 0x400
cmp cx, ax
jne 0x46c3df
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x20]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00427830
jmp 0x46c4ae
cmp esi, 0x102
jne 0x46c2dd
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 5
mov word [ebp - 0x1c], ax
call fcn.0046c790
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
cmp dword [ebp - 0x14], 1
jne 0x46c3df
xor eax, eax
jmp 0x46c4ae
cmp esi, 0x100
je 0x46c35a
cmp esi, 0x104
je 0x46c35a
cmp esi, 0x101
je 0x46c301
cmp esi, 0x105
jne 0x46c3cf
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
movq qword [ebp - 0xc8], xmm0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xdc], 4
mov word [ebp - 0xc8], ax
call fcn.0046c790
mov word [ebp - 0xc6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x30]
lea edx, [ebp - 0xdc]
mov dword [ebp - 0xd4], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x13c]
jmp 0x46c3cf
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 3
mov word [ebp - 0x1c], ax
call fcn.0046c790
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x10]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x14], ecx
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x13c]
cmp word [ebp - 0xb8], 0xd
jne 0x46c3cf
mov ecx, dword [edi + 0x30]
push 0
push 0
push 0
mov eax, dword [ecx]
push str.return
push ecx
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.0042d5b0
cmp esi, 0x2133
je 0x46c3f5
cmp esi, 0x2138
je 0x46c3f5
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00427830
jmp 0x46c4ae
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.0046c010
cmp eax, 0xffffffff
jne 0x46c413
mov ecx, esi
call fcn.0046c780
test al, al
je 0x46c2d6
mov esi, dword [ebp - 0xb8]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [edi + 0x30]
call fcn.0046c020
mov ecx, dword [edi + 0x30]
test eax, eax
je 0x46c438
call fcn.0046c020
jmp 0x46c43d
call fcn.00468700
mov edx, eax
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
cmp dword [edi + 0x34], 0
jne 0x46c4ab
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.0046c780
mov ecx, esi
test al, al
jne 0x46c47d
call fcn.0046c010
jmp 0x46c482
call fcn.004345f0
mov edx, eax
test edx, edx
je 0x46c4cb
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
or ecx, eax
shr edx, 0x10
shl ecx, 8
movzx eax, dl
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi + 0x34], eax
mov eax, dword [edi + 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00413012
mov esp, ebp
pop ebp
ret 0xc
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x46c4ae