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

Disassembly:
push 0xffffffffffffffff
push 0x441c60
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebp
push esi
push edi
mov eax, dword [0x455028]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x94]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
push esi
lea eax, [esp + 0x64]
push eax
call edi
push esi
lea ecx, [esp + 0x28]
push ecx
call edi
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x98]
mov dword [ebp], edx
mov edx, dword [esp + 0x30]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov eax, 8
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0xa0]
mov dword [ebp + 0xc], edx
lea edi, [ebp + 0x18]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
push 0xffffff
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebx
mov dword [ebp + 0x38], eax
call sub.mfc90u.dll_CDC::FillSolidRect
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x50], esi
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x58], ecx
mov dword [ebp + 0x5c], eax
sub eax, edi
sub eax, 6
mov edx, eax
mov eax, 0x38e38e39
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*8]
add edx, dword [ebp + 0x54]
sub ecx, esi
mov dword [ebp + 0x5c], edx
sub ecx, 6
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*8]
add eax, dword [ebp + 0x50]
lea ecx, [esi + 3]
mov dword [ebp + 0x58], eax
mov edx, ecx
sub edx, dword [ebp + 0x50]
mov dword [ebp + 0x50], ecx
add dword [ebp + 0x58], edx
lea eax, [edi + 3]
mov ecx, eax
sub ecx, dword [ebp + 0x54]
mov dword [ebp + 0x54], eax
add dword [ebp + 0x5c], ecx
mov eax, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
mov edx, dword [ebp + 0x58]
mov esi, dword [ebp + 0x5c]
sub eax, 3
sub ecx, 3
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
add edx, 3
add esi, 3
push 0xc0c0c0
lea ecx, [esp + 0x28]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
call sub.mfc90u.dll_CBrush::CBrush
test eax, eax
je 0x41a6ee
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_FrameRect]
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], vtable.CBrush.0
call fcn.00402460
mov esi, dword [esp + 0xa0]
test esi, esi
je 0x41ab6c
mov ecx, dword [ebp + 0x58]
sub ecx, dword [ebp + 0x50]
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp + 0x48], ecx
mov ecx, dword [ebp + 0x5c]
sub ecx, dword [ebp + 0x54]
mov eax, 0x38e38e39
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x94], eax
fild dword [esp + 0x24]
mov dword [ebp + 0x4c], eax
test esi, esi
jge 0x41a769
fadd qword [0x44c3a8]
fidiv dword [ebp + 0x48]
mov eax, 8
xor esi, esi
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
xor eax, eax
or edi, 0xffffffff
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], eax
fidiv dword [esp + 0x94]
mov dword [esp + 0x94], eax
fstp qword [ebp + 0x40]
cmp dword [esp + 0xa0], eax
jbe 0x41a881
mov edx, dword [esp + 0x94]
fild dword [esp + 0x94]
test edx, edx
jge 0x41a7c6
fadd qword [0x44c3a8]
fdiv qword [ebp + 0x40]
call fcn.0043f810
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x94]
movzx ecx, byte [edx + ecx]
cmp ecx, esi
mov dword [esp + 0x24], eax
jle 0x41a7ea
mov esi, ecx
cmp edi, eax
je 0x41a854
mov edi, edi
mov ecx, dword [ebp + 0x48]
inc edi
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x1c], edi
cmp edx, dword [esp + 0x18]
je 0x41a84e
lea ecx, [edx + edx*8]
add ecx, dword [ebp + 0x50]
mov dword [esp + 0x18], edx
mov edx, ecx
sub edx, dword [esp + 0x40]
lea eax, [eax + eax*8]
add eax, dword [ebp + 0x54]
add dword [esp + 0x48], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x40], ecx
mov ecx, eax
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x44], eax
add dword [esp + 0x4c], ecx
mov eax, dword [edx + esi*4]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call sub.mfc90u.dll_CDC::FillSolidRect
mov dword [esp + 0x14], 1
cmp edi, dword [esp + 0x24]
jne 0x41a7f0
cmp dword [esp + 0x14], 0
je 0x41a865
mov dword [esp + 0x14], 0
xor esi, esi
mov eax, dword [esp + 0x94]
inc eax
mov dword [esp + 0x94], eax
cmp eax, dword [esp + 0xa0]
jb 0x41a7ae
mov eax, dword [ebp + 0x4c]
mov ecx, dword [ebp + 0x48]
lea edx, [eax + eax*8]
mov eax, dword [ebp + 0x54]
lea eax, [edx + eax - 9]
mov edx, dword [ebp + 0x50]
lea ecx, [ecx + ecx*8]
lea ecx, [ecx + edx - 9]
mov edx, ecx
sub edx, dword [esp + 0x40]
mov dword [esp + 0x40], ecx
add dword [esp + 0x48], edx
mov edx, dword [esp + 0x98]
mov ecx, eax
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x44], eax
add dword [esp + 0x4c], ecx
mov eax, dword [edx + esi*4]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call sub.mfc90u.dll_CDC::FillSolidRect
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x41ab6c
cmp dword [eax + 0xc], 0
mov ecx, dword [eax + 8]
ja 0x41a8ee
test ecx, ecx
jbe 0x41ab6c
mov esi, dword [eax + 0x10]
mov edi, dword [eax + 0x14]
mov eax, edi
mov ecx, edi
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], esi
fild qword [esp + 0x24]
and ecx, 0x80000000
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 0
fild qword [esp + 0x24]
fchs
faddp st(1)
fdiv qword [ebp + 0x40]
call fcn.0043f810
mov ecx, dword [ebp + 0x48]
cdq
idiv ecx
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0xa4]
add esi, dword [eax + 8]
mov dword [esp + 0x24], edx
adc edi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
mov eax, edi
and edi, 0x7fffffff
mov dword [esp + 0x20], edi
fild qword [esp + 0x1c]
and eax, 0x80000000
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0
fild qword [esp + 0x1c]
fchs
faddp st(1)
fdiv qword [ebp + 0x40]
call fcn.0043f810
cdq
idiv dword [ebp + 0x48]
mov ecx, dword [esp + 0xa0]
inc edx
inc eax
cmp ecx, eax
mov dword [esp + 0x94], edx
jge 0x41aa29
lea esi, [ecx + ecx*8]
sub eax, ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x18], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x24]
cmp eax, edx
jge 0x41aa1a
sub edx, eax
lea esi, [eax + eax*8]
mov dword [esp + 0x9c], edx
mov ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x54]
add eax, dword [esp + 0xa0]
add ecx, esi
mov edx, ecx
sub edx, dword [esp + 0x40]
mov dword [esp + 0x40], ecx
add dword [esp + 0x48], edx
mov edx, dword [esp + 0x98]
mov ecx, eax
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x44], eax
add dword [esp + 0x4c], ecx
mov eax, dword [edx + 0x18]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call sub.mfc90u.dll_CDC::FillSolidRect
add esi, 9
sub dword [esp + 0x9c], 1
jne 0x41a9c4
mov edx, dword [esp + 0x94]
add dword [esp + 0xa0], 9
sub dword [esp + 0x18], 1
jne 0x41a9b0
mov esi, dword [esp + 0xa4]
mov eax, dword [esi + 4]
mov edi, dword [esi]
mov ecx, eax
mov dword [esp + 0x20], eax
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
fild qword [esp + 0x24]
and ecx, 0x80000000
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], 0
fild qword [esp + 0x24]
fchs
faddp st(1)
fdiv qword [ebp + 0x40]
call fcn.0043f810
mov ecx, dword [ebp + 0x48]
cdq
idiv ecx
mov dword [esp + 0x24], edx
mov edx, dword [esi + 8]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0xc]
add edx, edi
adc eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x20], eax
fild qword [esp + 0x1c]
and ecx, 0x80000000
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
fild qword [esp + 0x1c]
fchs
faddp st(1)
fdiv qword [ebp + 0x40]
call fcn.0043f810
cdq
idiv dword [ebp + 0x48]
mov ecx, dword [esp + 0xa0]
inc edx
inc eax
cmp ecx, eax
mov dword [esp + 0x94], edx
jge 0x41ab6c
lea esi, [ecx + ecx*8]
sub eax, ecx
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], eax
nop
mov eax, dword [esp + 0x24]
cmp eax, edx
jge 0x41ab5a
sub edx, eax
lea esi, [eax + eax*8]
mov dword [esp + 0xa4], edx
mov ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x54]
add eax, dword [esp + 0xa0]
add ecx, esi
mov edx, ecx
sub edx, dword [esp + 0x40]
mov dword [esp + 0x40], ecx
add dword [esp + 0x48], edx
mov edx, dword [esp + 0x98]
mov ecx, eax
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x44], eax
add dword [esp + 0x4c], ecx
mov eax, dword [edx + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call sub.mfc90u.dll_CDC::FillSolidRect
add esi, 9
sub dword [esp + 0xa4], 1
jne 0x41ab04
mov edx, dword [esp + 0x94]
add dword [esp + 0xa0], 9
sub dword [esp + 0x9c], 1
jne 0x41aaf0
lea ecx, [esp + 0x70]
call sub.mfc90u.dll_CDC::CDC
xor esi, esi
mov dword [esp + 0x8c], esi
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x74]
call sub.mfc90u.dll_CDC::Attach
mov edi, vtable.CBitmap.0
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], edi
mov byte [esp + 0x8c], 1
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x3c]
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x41abe1
push eax
mov eax, dword [esp + 0x78]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
sub edx, dword [esp + 0x50]
push 0xf0f0f0
push ecx
push edx
push 0
push 0
lea ecx, [esp + 0x84]
call sub.mfc90u.dll_CDC::FillSolidRect_1
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov byte [esp + 0x9a], 0x5a
mov byte [esp + 0x99], 0
mov byte [esp + 0x98], 0
mov byte [esp + 0x9b], 0
mov ebp, dword [esp + 0x98]
push ebp
mov ebp, dword [esp + 0x78]
sub eax, edx
push eax
sub ecx, esi
push ecx
push 0
push 0
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push esi
push eax
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
mov byte [esp + 0x8c], 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], edi
call fcn.00402460
lea ecx, [esp + 0x70]
mov dword [esp + 0x8c], 0xffffffff
call fcn.0043e4d6
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x80
ret 0x14