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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e0eb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x55d3e4]
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 0x474e43
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.0042fec0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.0042fe20
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.00474d60
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.00438240
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00431280
jmp 0x475134
cmp esi, 8
jne 0x474e8a
mov ecx, dword [edi + 0x30]
push ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.00433ea0
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.004758d0
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00431280
jmp 0x475134
cmp esi, 0x2111
jne 0x474f0b
mov ecx, eax
mov edx, 0x300
shr ecx, 0x10
cmp cx, dx
jne 0x474ecb
lea ecx, [ebp - 0xbc]
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
push eax
push esi
mov ecx, edi
call fcn.00475800
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00431280
jmp 0x475134
mov eax, 0x400
cmp cx, ax
jne 0x475065
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.00431280
jmp 0x475134
cmp esi, 0x102
jne 0x474f63
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.00475410
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 0x475065
xor eax, eax
jmp 0x475134
cmp esi, 0x100
je 0x474fe0
cmp esi, 0x104
je 0x474fe0
cmp esi, 0x101
je 0x474f87
cmp esi, 0x105
jne 0x475055
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.00475410
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 0x475055
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.00475410
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 0x475055
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.00436fe0
cmp esi, 0x2133
je 0x47507b
cmp esi, 0x2138
je 0x47507b
push dword [ebp + 0x10]
mov ecx, edi
push dword [ebp - 0xb8]
push esi
call fcn.00431280
jmp 0x475134
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.00474d10
cmp eax, 0xffffffff
jne 0x475099
mov ecx, esi
call fcn.00475400
test al, al
je 0x474f5c
mov esi, dword [ebp - 0xb8]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [edi + 0x30]
call fcn.00474d20
mov ecx, dword [edi + 0x30]
test eax, eax
je 0x4750be
call fcn.00474d20
jmp 0x4750c3
call fcn.004713c0
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 0x475131
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.00475400
mov ecx, esi
test al, al
jne 0x475103
call fcn.00474d10
jmp 0x475108
call fcn.0043d2d0
mov edx, eax
test edx, edx
je 0x475151
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.004974f6
mov esp, ebp
pop ebp
ret 0xc
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x475134