Function at 0x569600
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x597c25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
push esi
mov esi, dword [esp + 0xcc]
push edi
mov edi, ecx
mov ebp, dword [esi + 0xc]
mov ebx, dword [esi]
mov edx, dword [esi + 8]
inc ebp
inc ebx
add edx, 0xfffffffe
mov dword [esi + 0xc], ebp
mov dword [esi], ebx
mov dword [esi + 8], edx
mov eax, dword [edi + 0xe4]
push eax
push 1
push 0
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CPen::CPen
mov ebp, dword [esp + 0xc4]
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebp
mov dword [esp + 0xb8], 0
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esi + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [esi]
sub edx, 2
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub edx, 2
mov ecx, ebp
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
sub eax, 2
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
dec edx
mov ecx, ebp
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
push 0
push 1
push 0
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CPen::CPen
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], 1
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, esi
mov ebx, dword [sym.imp.USER32.dll_InflateRect]
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov eax, dword [edx]
mov dword [esp + 0x68], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x6c], ecx
mov eax, dword [edx + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [edx + 0xc]
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x78], ecx
call ebx
lea eax, [esp + 0x60]
push 0xffffff
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::FillSolidRect
mov edx, esi
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov eax, dword [edx]
mov dword [esp + 0x28], eax
mov eax, dword [edx + 4]
mov dword [esp + 0x2c], eax
mov ecx, dword [edx + 8]
inc ecx
mov edx, dword [edx + 0xc]
mov dword [esp + 0x30], ecx
sub eax, edx
mov dword [esp + 0x34], edx
add eax, ecx
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], eax
call ebx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
mov edx, dword [edi]
push eax
lea eax, [esp + 0x18]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0xc0], 2
call dword [edx + 0xc8]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x56986c
mov eax, dword [esp + 0xc0]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + edx*4 + 0x18]
lea eax, [eax + edx*4]
test ecx, ecx
je 0x56986c
mov eax, dword [eax + 0x20]
test eax, eax
jl 0x56986c
cmp dword [ecx + 8], eax
jle 0x56986c
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00533ff0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb8], 4
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
push eax
push ecx
push edx
mov ecx, edi
call fcn.0056acc0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x5698fe
mov ecx, esi
push 1
mov eax, dword [ecx]
add eax, 2
mov edx, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x4c]
mov ecx, dword [ecx + 0xc]
dec edx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
dec edx
mov ecx, ebp
mov dword [esp + 0x50], edx
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, dword [esp + 0xd4]
mov eax, dword [edi + 0xfc]
cmp dword [ecx], 0
jne 0x5698ce
mov eax, dword [edi + 0xec]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x38]
mov ecx, dword [edi + 0xf8]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x34]
mov eax, dword [esp + 0x18]
mov edx, dword [ebp]
lea ecx, [esp + 0x44]
push 0x24
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, ebp
call dword [edx + 0x70]
mov eax, dword [esp + 0xc0]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esp + 0xd4]
mov ecx, dword [eax + edx*4 + 0x14]
lea eax, [eax + edx*4]
test ecx, ecx
mov dword [esp + 0x38], eax
jne 0x5699a6
mov edx, dword [ebp + 4]
push 0xf
lea ecx, [esp + 0x24]
push 5
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawEdge]
push 0xfffffffffffffffe
lea eax, [esp + 0x24]
push 0xfffffffffffffffe
push eax
call ebx
mov ecx, dword [edi + 0xe0]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov ebx, 5
mov dword [esp + 0x10], 3
lea esi, [eax + 1]
lea edi, [ecx + 2]
push edi
lea edx, [esp + 0x34]
push esi
push edx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
lea eax, [ebx + esi]
push edi
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov eax, dword [esp + 0x10]
inc esi
inc edi
sub ebx, 2
dec eax
mov dword [esp + 0x10], eax
jne 0x569972
mov esi, 0x59da10
jmp 0x569db0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
lea ecx, [edi + 0x10c]
mov dword [edi + 0x10c], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
mov ecx, dword [edi + 0xdc]
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CBrush::CBrush
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x30]
neg eax
sbb eax, eax
mov byte [esp + 0xb4], 5
and eax, edx
lea edx, [esp + 0x20]
push eax
mov eax, dword [ebp + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_FrameRect]
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
push 0xffffffffffffffff
push ecx
call ebx
mov edx, dword [edi + 0xe0]
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::FillSolidRect
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
add edx, 4
mov dword [esp + 0x10], 5
lea ebx, [ecx + 3]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 3
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push eax
push ebx
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::MoveTo
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
add eax, ebx
push edx
push eax
mov ecx, ebp
call sub.MFC42.DLL_CDC::LineTo
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ebx
inc edx
sub ecx, 2
dec eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x569a41
mov eax, dword [edi + 0x12c]
test eax, eax
jne 0x569d8e
push 0xcc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xb4], 6
je 0x569abb
push edi
mov ecx, eax
call fcn.0056f8d0
jmp 0x569abd
xor eax, eax
test eax, eax
mov byte [esp + 0xb4], 5
mov dword [edi + 0x12c], eax
je 0x569d8e
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0xc0]
lea ebx, [edi + 0x11c]
mov eax, esi
mov dword [edi + 0x104], ecx
mov dword [edi + 0x108], edx
mov edx, dword [eax]
mov ecx, ebx
push ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [edi + 0x124]
dec eax
mov dword [edi + 0x124], eax
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
sub ecx, edx
mov edx, dword [edi + 0x120]
dec ecx
add edx, ecx
mov dword [edi + 0x120], edx
mov ecx, dword [esi + 4]
mov eax, edx
mov edx, dword [esi + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0x3c]
sub edx, 2
imul edx, dword [ecx + 0x1c]
add edx, eax
mov ecx, edi
mov dword [edi + 0x128], edx
call sub.MFC42.DLL_CWnd::ClientToScreen
push 0
push 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
push 0x840
call sub.MFC42.DLL_AfxRegisterWndClass
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x14]
mov ecx, dword [edi + 0x12c]
push 0
push 0
push edi
push ebx
push 0x90800000
push 0x619640
push edx
push 0
mov byte [esp + 0xd4], 7
call sub.MFC42.DLL_CWnd::CreateEx
test eax, eax
je 0x569d7d
lea ecx, [edi + 0x13c]
push 0x619640
call sub.MFC42.DLL_CString::operator_3
mov eax, dword [edi + 0x138]
test eax, eax
jne 0x569c18
mov eax, dword [ebp + 8]
push 6
push eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
test eax, eax
je 0x569c10
mov edx, dword [eax + 4]
lea ecx, [esp + 0x70]
push ecx
push 0x3c
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [edi + 0x130]
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x138]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x569c3e
mov ecx, dword [edi + 0x12c]
lea eax, [edi + 0x130]
test eax, eax
je 0x569c33
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x60]
push 0
push eax
push 0x30
push ecx
call esi
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x18]
test eax, eax
je 0x569cd9
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x38]
xor ebx, ebx
mov byte [esp + 0xb4], 8
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx + 8]
test eax, eax
jle 0x569cc8
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.00533ff0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xb8], 9
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0xb4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x569cbb
mov ecx, dword [edi + 0x12c]
push eax
push 0
push 0x180
mov eax, dword [ecx + 0x60]
push eax
call esi
mov ecx, dword [esp + 0x38]
inc ebx
mov ecx, dword [ecx + 0x18]
cmp ebx, dword [ecx + 8]
jl 0x569c6e
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 7
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
xor ebx, ebx
mov eax, dword [ecx - 8]
test eax, eax
mov eax, dword [edi + 0x12c]
jne 0x569d2f
mov edx, dword [eax + 0x60]
push ebx
push ebx
push 0x18b
push edx
call esi
test eax, eax
jle 0x569d11
mov eax, dword [edi + 0x12c]
lea ecx, [esp + 0x18]
push ecx
push ebx
lea ecx, [eax + 0x40]
call sub.MFC42.DLL_CListBox::GetText
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xbc]
push edx
push eax
push ecx
mov ecx, edi
call fcn.0056acc0
jmp 0x569d46
mov edx, dword [eax + 0x60]
push ecx
push 0xffffffffffffffff
push 0x1a2
push edx
call esi
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x569d46
xor ebx, ebx
mov eax, dword [edi + 0x12c]
push 0
push ebx
push 0x186
mov eax, dword [eax + 0x60]
push eax
call esi
mov eax, dword [edi + 0x12c]
lea ecx, [edi + 0x13c]
push ecx
push ebx
lea ecx, [eax + 0x40]
call sub.MFC42.DLL_CListBox::GetText
mov ecx, dword [edi + 0x12c]
push 0xb
call fcn.0056f9f0
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 5
call sub.MFC42.DLL_CString::CString
mov esi, 0x59da10
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 0xa
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov byte [esp + 0xb4], 2
mov ecx, dword [esp + 0x54]
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 1
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xb4], 0xb
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x3c], 0x59d9fc
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x58]
mov dword [esp + 0xb4], 0xc
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0x1c