Function at 0x569e20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x597c60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov edx, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x4c]
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x60]
lea ecx, [esp + 0x5c]
push eax
push ecx
push ebp
push edx
mov ecx, edi
call fcn.0056a100
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x58]
push eax
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov edx, ebx
mov ecx, dword [edx]
add ecx, 9
mov eax, dword [edx + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0xc]
mov edx, dword [esp + 0x34]
dec eax
mov dword [esp + 0x3c], eax
sub eax, edx
add eax, ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x38], eax
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x50]
mov edx, dword [edi]
push ebp
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x54], 0
call dword [edx + 0xc8]
push eax
lea ecx, [esp + 0x58]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x50]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x54]
mov eax, dword [edx - 8]
test eax, eax
jne 0x569f24
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [ebx + 8]
sub ecx, edx
mov edx, dword [ebx]
mov dword [esp + 0x58], ecx
sub eax, edx
cdq
sub eax, edx
mov edx, eax
mov eax, ecx
sar edx, 1
mov ecx, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x58]
sar eax, 1
sub ecx, eax
mov eax, dword [ebx]
lea eax, [ecx + eax - 1]
add edx, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], edx
mov eax, dword [edi + 0xf8]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x30]
push 0xf
inc eax
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
push 0xa
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov ecx, ebp
shl ecx, 4
add ecx, ebp
mov ebp, dword [esp + 0x68]
cmp dword [ebp + ecx*4 + 0x3c], 1
jne 0x56a06c
mov edx, dword [edi + 0xec]
lea ecx, [esp + 0x18]
push edx
push 1
push 0
call sub.MFC42.DLL_CPen::CPen
push 0
push 1
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [ebp]
mov byte [esp + 0x48], 3
test eax, eax
je 0x569fa4
lea eax, [esp + 0x10]
push eax
jmp 0x569fa9
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x50], 4
lea edi, [edx + 9]
lea ebp, [eax + 3]
lea ebx, [ebp + 3]
push ebp
lea ecx, [esp + 0x24]
push edi
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebx
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x50]
dec edi
inc ebp
inc ebx
dec eax
mov dword [esp + 0x50], eax
jne 0x569fcd
lea ebx, [ebp + 3]
mov dword [esp + 0x50], 3
push ebp
lea edx, [esp + 0x24]
push edi
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::MoveTo
push ebx
push edi
mov ecx, esi
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x50]
dec edi
dec ebp
dec ebx
dec eax
mov dword [esp + 0x50], eax
jne 0x569ffd
mov eax, dword [esp + 0x58]
test eax, eax
je 0x56a032
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edi, 0x59da10
mov dword [esp + 0x10], edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x59d9fc
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ebx, dword [esp + 0x64]
mov byte [esp + 0x48], 0
mov eax, dword [esp + 0x54]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x56a0d5
push 1
mov ecx, esi
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [esp + 0x5c]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esp + 0x60]
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edx, dword [ebx + 4]
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
add edx, 4
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [eax - 8]
mov edx, dword [esi]
lea edi, [esp + 0x20]
push 0x24
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x70]
lea ecx, [esp + 0x54]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x1c