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

Disassembly:
push 0xffffffffffffffff
push 0x441c20
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov eax, dword [esp + 0xa8]
push eax
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esp + 0xa4]
push 0xffffff
lea edx, [esp + 0x74]
push edx
call sub.mfc90u.dll_CDC::FillSolidRect
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x48], eax
sub eax, ebx
sub eax, 6
mov ebp, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov edx, eax
mov eax, 0x38e38e39
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea esi, [ebx + eax*8]
add esi, eax
mov dword [esp + 0x44], edi
sub edi, ebp
sub edi, 6
mov eax, 0x38e38e39
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, ebp
lea edi, [ecx + eax*8]
add edi, eax
add ebp, 3
mov dword [esp + 0x40], ebx
add ebx, 3
mov eax, ebp
sub eax, ecx
mov ecx, ebx
sub ecx, dword [esp + 0x40]
add edi, eax
add esi, ecx
mov ecx, edi
add ecx, 3
mov eax, ebx
lea edx, [ebp - 3]
sub eax, 3
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x6c], esi
add dword [esp + 0x6c], 3
push 0xc0c0c0
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
call sub.mfc90u.dll_CBrush::CBrush
test eax, eax
je 0x41b149
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 4]
push eax
lea eax, [esp + 0x64]
push eax
push edx
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.CBrush.0
call fcn.00402460
mov ecx, dword [esp + 0xb4]
test ecx, ecx
je 0x41b320
sub edi, ebp
mov eax, 0x38e38e39
imul edi
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
sub esi, ebx
mov eax, 0x38e38e39
imul esi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], edi
fild dword [esp + 0x2c]
mov dword [esp + 0x28], eax
test edx, edx
jge 0x41b1c0
fadd qword [0x44c3a8]
fidiv dword [esp + 0x24]
or edx, 0xffffffff
xor esi, esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], edx
mov edx, 8
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
fidiv dword [esp + 0x28]
fstp qword [esp + 0x3c]
test ecx, ecx
jbe 0x41b2d2
mov eax, dword [esp + 0x18]
fild dword [esp + 0x18]
test eax, eax
jge 0x41b210
fadd qword [0x44c3a8]
fdiv qword [esp + 0x3c]
call fcn.0043f810
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0x18]
movzx ecx, byte [edx + ecx]
cmp ecx, esi
mov dword [esp + 0x2c], eax
jle 0x41b232
mov esi, ecx
cmp dword [esp + 0x14], eax
je 0x41b2a7
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cdq
idiv edi
cmp edx, dword [esp + 0x20]
je 0x41b29d
lea ecx, [ebx + eax*8]
add ecx, eax
lea eax, [ebp + edx*8]
add eax, edx
mov dword [esp + 0x20], edx
mov edx, eax
sub edx, dword [esp + 0x50]
mov dword [esp + 0x50], eax
add dword [esp + 0x58], edx
mov eax, ecx
sub eax, dword [esp + 0x54]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xac]
mov edx, dword [ecx + esi*4]
add dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xa4]
push edx
lea eax, [esp + 0x54]
push eax
call sub.mfc90u.dll_CDC::FillSolidRect
mov edi, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esp + 0x2c]
jne 0x41b238
cmp dword [esp + 0x1c], 0
je 0x41b2b8
mov dword [esp + 0x1c], 0
xor esi, esi
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0xb4]
jb 0x41b1fe
mov eax, dword [esp + 0x28]
lea edx, [ebx + eax*8]
lea eax, [eax + edx - 9]
lea ecx, [ebp + edi*8]
lea edi, [edi + ecx - 9]
mov edx, edi
sub edx, dword [esp + 0x50]
mov ecx, eax
sub ecx, dword [esp + 0x54]
add dword [esp + 0x58], edx
mov edx, dword [esp + 0xac]
add dword [esp + 0x5c], ecx
mov dword [esp + 0x54], eax
mov eax, dword [edx + esi*4]
mov esi, dword [esp + 0xa4]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, esi
mov dword [esp + 0x58], edi
call sub.mfc90u.dll_CDC::FillSolidRect
jmp 0x41b327
mov esi, dword [esp + 0xa4]
lea ecx, [esp + 0x80]
call sub.mfc90u.dll_CDC::CDC
xor edi, edi
mov dword [esp + 0x9c], edi
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x84]
call sub.mfc90u.dll_CDC::Attach
mov ebx, vtable.CBitmap.0
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x9c], 1
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
sub ecx, dword [esp + 0x60]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x38]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x41b3a5
push eax
mov eax, dword [esp + 0x88]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
sub edx, dword [esp + 0x60]
push 0xf0f0f0
push ecx
push edx
push edi
push edi
lea ecx, [esp + 0x94]
call sub.mfc90u.dll_CDC::FillSolidRect_1
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov byte [esp + 0x1a], 0x5a
mov byte [esp + 0x19], 0
mov byte [esp + 0x18], 0
mov byte [esp + 0x1b], 0
mov ebp, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x88]
sub eax, edx
push eax
sub ecx, edi
push ecx
push 0
push 0
push ebp
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov byte [esp + 0x9c], 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
call fcn.00402460
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0043e4d6
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x8c
ret