Function at 0x4464a4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, ecx
push 0
push 0
push 0x408
push dword [ebx + 4]
mov dword [esp + 0x3c], ebx
call edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x80]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [esp + 0x1c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esp + 0x80]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x44676a
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
push ecx
push dword [esp + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x64], eax
test eax, eax
je 0x446763
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x28]
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esp + 0x68]
push eax
xor eax, eax
inc eax
push eax
push 0x407
push dword [ebx + 4]
call edi
mov ebx, dword [esp + 0x28]
mov eax, ebx
mov edi, dword [esp + 0x20]
sub eax, edi
cdq
sub eax, edx
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0x54], ebx
xor eax, eax
sar esi, 1
inc eax
mov ebx, dword [esp + 0x2c]
cmp esi, eax
mov dword [esp + 0x34], edi
mov ebp, esi
cmovl ebp, eax
sub ecx, dword [esp + 0x68]
imul eax, ebp, 6
xor edx, edx
sub eax, dword [esp + 0x1c]
add eax, dword [esp + 0x24]
imul eax, ecx
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
div ecx
mov ecx, eax
add eax, ebp
mov dword [esp + 0x40], eax
sub ecx, ebp
lea eax, [esi + edi]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x44], eax
mov edi, 0xff00
movzx eax, byte [ebx + 0x30]
shl ax, 8
mov word [esp + 0x58], ax
mov word [esp + 0x38], ax
mov ax, word [ebx + 0x30]
and ax, di
mov dword [esp + 0x30], ecx
movzx eax, ax
mov word [esp + 0x5a], ax
mov word [esp + 0x3a], ax
movzx eax, byte [ebx + 0x32]
shl ax, 8
mov word [esp + 0x5c], ax
mov word [esp + 0x3c], ax
movzx eax, byte [ebx + 0x2c]
shl ax, 8
mov word [esp + 0x48], ax
movzx eax, byte [ebx + 0x2d]
shl ax, 8
mov word [esp + 0x4a], ax
movzx eax, byte [ebx + 0x2e]
shl ax, 8
mov word [esp + 0x4c], ax
xor eax, eax
and dword [esp + 0x70], eax
mov word [esp + 0x5e], ax
mov word [esp + 0x4e], ax
mov word [esp + 0x3e], ax
inc eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov esi, dword [esp + 0x18]
push 2
pop ecx
push eax
push ecx
lea eax, [esp + 0x78]
mov dword [esp + 0x84], ecx
push eax
push 3
pop ebx
push ebx
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
movzx ecx, word [esp + 0x38]
mov eax, edi
sub eax, ecx
movzx ecx, word [esp + 0x3a]
cdq
and edx, ebx
add eax, edx
sar eax, 2
mov dword [esp + 0x18], eax
mov eax, edi
sub eax, ecx
movzx ecx, word [esp + 0x3c]
cdq
and edx, ebx
add eax, edx
sar eax, 2
mov dword [esp + 0x14], eax
mov eax, edi
sub eax, ecx
cdq
and edx, ebx
add eax, edx
sar eax, 2
mov dword [esp + 0x60], eax
imul eax, ebp, 0x19
mov ebp, ebx
push 0xa
pop ecx
mov ebx, dword [esp + 0x18]
cdq
idiv ecx
mov edi, eax
movzx eax, word [esp + 0x48]
mov edx, 0xff00
mov ecx, dword [esp + 0x30]
add eax, ebx
sub dword [esp + 0x40], edi
sub ecx, edi
cmp eax, edx
mov dword [esp + 0x50], ecx
push 1
cmovg eax, edx
mov dword [esp + 0x34], ecx
mov word [esp + 0x4c], ax
movzx eax, word [esp + 0x4e]
add eax, dword [esp + 0x18]
cmp eax, edx
push 2
cmovg eax, edx
mov word [esp + 0x52], ax
movzx eax, word [esp + 0x54]
add eax, dword [esp + 0x68]
cmp eax, edx
cmovg eax, edx
mov word [esp + 0x54], ax
lea eax, [esp + 0x78]
push eax
push 3
lea eax, [esp + 0x40]
push eax
push esi
call dword [sym.imp.MSIMG32.dll_GradientFill]
sub ebp, 1
jne 0x4466bc
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
push 0xcc0020
push ebp
push ebp
push esi
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push eax
push dword [esp + 0x38]
push dword [esp + 0x38]
push dword [esp + 0xa0]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x64]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x2c]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [esp + 0x80]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret 4