Function at 0x412480
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43809b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x6c]
push eax
mov ebx, dword [edi + 0x40]
call fcn.00412cd0
mov ecx, dword [edi + 0x50]
mov esi, dword [esp + 0x9c]
lea edx, [esp + 0x6c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
push ebp
mov edx, dword [esp + 0x74]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov ecx, edi
mov dword [eax + 0xc], edx
lea eax, [esp + 0x90]
push eax
call fcn.00412d40
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x44], eax
mov eax, dword [edi + 0x58]
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x88]
push eax
lea edx, [esp + 0x40]
push eax
push edx
mov dword [esp + 0x54], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov eax, dword [edi + 0x54]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CBrush::CBrush
mov dword [esp + 0x94], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], 0x43d498
push 0xffffff
push 1
push ebp
mov byte [esp + 0xa0], 1
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x2c]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov ebp, eax
call sub.MFC42.DLL_CDC::SelectObject
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x58]
mov ecx, dword [esp + 0x44]
shl eax, 1
push eax
push eax
mov eax, dword [esp + 0x50]
push eax
push ecx
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
push ebp
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
call sub.MFC42.DLL_CDC::SelectObject
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
push 0x404040
push 1
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CPen::CPen
lea eax, [esp + 0x24]
mov ecx, esi
push eax
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CDC::SelectObject
mov ecx, edi
mov dword [esp + 0x18], eax
call fcn.00413980
xor ebp, ebp
mov dword [esp + 0x14], eax
test eax, eax
jle 0x412698
mov edx, dword [edi + 0x44]
lea ecx, [esp + 0x4c]
add edx, ebp
push ecx
lea eax, [esp + 0x80]
push edx
push eax
mov ecx, edi
call fcn.00413b30
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
dec ecx
lea eax, [esp + 0x34]
push ecx
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
dec ecx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
dec edx
dec eax
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
dec ecx
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x14]
inc ebp
cmp ebp, eax
jl 0x412612
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
call sub.MFC42.DLL_CDC::SelectObject
mov eax, dword [esp + 0x48]
mov edi, dword [edi + 0x58]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x68], eax
sub eax, edi
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x60], eax
push 0xffffffffffffffff
lea eax, [esp + 0x60]
add ecx, edi
sub edx, edi
push 0xffffffffffffffff
push eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], edx
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebx + 0x658]
mov byte [esp + 0x94], 3
test eax, eax
je 0x412704
mov ecx, dword [ebx + 0x664]
inc ecx
jmp 0x412706
xor ecx, ecx
mov edx, dword [ebx + 0x58]
push eax
mov eax, dword [ebx + 0x5c]
push ecx
mov ecx, dword [ebx + 0x68]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push str._s___s___s___d__d
push ecx
call sub.MFC42.DLL_CString::Format_1
add esp, 0x1c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edi, dword [esi]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
push eax
mov ecx, esi
call dword [edi + 0x30]
mov edx, dword [esi]
push 0x80ff80
mov ecx, esi
mov edi, eax
call dword [edx + 0x38]
push 1
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
lea ebx, [esp + 0x5c]
push 0x8825
mov ecx, dword [eax - 8]
push ebx
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
lea ecx, [esp + 0x10]
mov byte [esp + 0x94], 2
call sub.MFC42.DLL_CString::CString
mov esi, 0x43b21c
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x94], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x43b208
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x94], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x88
ret 4