Function at 0x473672
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x28
and dword [esp + 4], 0
push edi
mov edi, ecx
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x47392a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea esi, [edi + 0x68]
push ebx
push dword [esp + 0x14]
mov ecx, esi
call fcn.00442e6c
mov esi, eax
xor ebx, ebx
cmp dword [esi], ebx
je 0x473882
call dword [sym.imp.KERNEL32.dll_GetTickCount]
and dword [esp + 0x10], ebx
cmp dword [esi + 0x18], 3
mov dword [esp + 0x24], eax
jne 0x473720
push dword [edi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esi + 8]
mov ebx, eax
push dword [esi + 4]
push dword [edi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x10], eax
test ebx, ebx
je 0x473720
test eax, eax
je 0x473720
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
lea eax, [edi + 0x7c]
push eax
call ebp
push 0xcc0020
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [edi + 0x38]
push dword [esi + 8]
push dword [esi + 4]
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [edi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
call dword [ecx + 0x1c]
lea eax, [edi + 0x7c]
push eax
call ebp
mov edx, dword [esp + 0x1c]
push 0
mov eax, dword [esi]
mov ecx, dword [eax]
neg edx
push edx
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0
push dword [esi + 8]
push dword [esi + 4]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [edi + 0x38]
push eax
call dword [ecx + 0x20]
test eax, eax
lea eax, [edi + 0x7c]
push eax
jne 0x473782
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0x40]
call fcn.00448203
jmp 0x473788
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x4738c3
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x14]
sub eax, dword [esp + 0x24]
cmp ecx, 5
jae 0x4737aa
push 0x46
pop ecx
jmp 0x4737ad
imul ecx, ecx, 0xa
sub ecx, eax
test ecx, ecx
jg 0x4737b7
push 0
jmp 0x4737b8
push ecx
push dword [edi + 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x30]
test eax, eax
jne 0x4738e5
mov eax, dword [esi + 0x18]
cmp eax, 2
jne 0x47382e
push dword [edi + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [esp + 0x10], eax
test eax, eax
je 0x473882
lea ebx, [edi + 0x7c]
push ebx
call ebp
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x10]
push dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 8]
add eax, ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push dword [edi + 0x38]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.USER32.dll_FillRect]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
jmp 0x47387c
test ebx, ebx
je 0x473882
cmp eax, 3
jne 0x473882
lea eax, [edi + 0x7c]
push eax
call ebp
push 0xcc0020
push 0
push 0
push ebx
push dword [esi + 8]
push dword [esi + 4]
push dword [esi + 0x10]
push dword [esi + 0xc]
push dword [edi + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [edi + 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc dword [esp + 0x14]
lea esi, [edi + 0x68]
mov ecx, esi
call fcn.0045a40c
cmp dword [esp + 0x14], eax
jne 0x4738b6
mov ecx, edi
call fcn.00473451
xor eax, eax
cmp dword [edi + 0x74], eax
je 0x473914
push 1
push 0xffffff
mov ecx, edi
mov dword [esp + 0x1c], eax
call fcn.004733e6
mov eax, dword [edi + 0x30]
test eax, eax
je 0x473694
jmp 0x473927
test ebx, ebx
je 0x473927
push dword [esp + 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x473927
lea esi, [edi + 0x7c]
push esi
call ebp
test ebx, ebx
je 0x47390b
push dword [esp + 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x473927
cmp dword [edi + 0x78], eax
je 0x473927
push 1
push 0xffffff
mov ecx, edi
call fcn.004733e6
pop ebx
pop esi
pop ebp
pop edi
add esp, 0x28
ret