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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x59824c
push eax
mov dword fs:[0], esp
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x128]
mov esi, ecx
lea ecx, [esp + 0x74]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x58]
test eax, eax
je 0x57065c
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x84]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x78]
lea edx, [esp + 0x74]
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::FillSolidRect
mov eax, dword [esi + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1200
push eax
call ebx
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x24], eax
push ecx
push 1
push 0
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CPen::CPen
mov edx, dword [esi + 0x74]
lea ecx, [esp + 0x2c]
push edx
push 1
push 0
mov dword [esp + 0x12c], 0
call sub.MFC42.DLL_CPen::CPen
mov eax, dword [edi + 8]
push 1
push eax
mov byte [esp + 0x128], 1
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x31
push ecx
mov dword [esp + 0x4c], eax
call ebx
mov ebp, dword [edi]
push eax
call sub.MFC42.DLL_CGdiObject::FromHandle
push eax
mov ecx, edi
call dword [ebp + 0x30]
mov edx, dword [edi]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x78]
mov ecx, edi
push eax
call dword [edx + 0x34]
mov eax, dword [esi + 0x7c]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x38]
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
jle 0x5705f8
mov ecx, dword [esp + 0x20]
mov edx, dword [esi + 0x20]
push 0
push ecx
push 0x120f
push edx
call ebx
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x94]
mov ebp, eax
push ecx
push ebp
lea eax, [esp + 0xd0]
push 0x1203
push edx
mov dword [esp + 0xa4], 0x37
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], 0x50
call ebx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push eax
push ebp
push 0x1207
push ecx
call ebx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x74]
cmp edx, eax
jge 0x570455
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jg 0x5705a5
mov eax, dword [esp + 0xa8]
test ah, 0x80
je 0x5704c9
mov ecx, esi
mov dword [esp + 0x44], 4
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov ecx, dword [esi + 0x20]
mov edx, dword [edi + 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], 1
mov dword [esp + 0x70], edx
call dword [eax + 0xc0]
jmp 0x57051e
mov eax, dword [esi + 0x44]
mov ebp, dword [sym.imp.USER32.dll_InflateRect]
neg eax
push 0
lea edx, [esp + 0x14]
push eax
push edx
call ebp
lea ecx, [esp + 0x94]
mov eax, dword [esi]
push ecx
mov ecx, dword [esp + 0x14]
sub esp, 0x10
mov edx, esp
push edi
mov dword [edx], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 0xc], ecx
mov ecx, esi
call dword [eax + 0xc4]
mov eax, dword [esi + 0x44]
push 0
lea edx, [esp + 0x14]
push eax
push edx
call ebp
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
dec eax
cmp ecx, eax
jge 0x5705a5
lea ecx, [esp + 0x2c]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 2
dec eax
push edx
lea ecx, [esp + 0xbc]
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 0xfffffffe
dec eax
push edx
push eax
mov ecx, edi
call sub.MFC42.DLL_CDC::LineTo
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::SelectObject_2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add edx, 2
lea ecx, [esp + 0xc0]
push edx
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::MoveTo
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edx, 0xfffffffe
mov ecx, edi
push edx
push eax
call sub.MFC42.DLL_CDC::LineTo
mov ecx, dword [esp + 0x98]
mov ebp, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
add ebp, ecx
mov ecx, dword [esp + 0x24]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x20], eax
jl 0x5703dc
mov eax, ebp
test eax, eax
jle 0x5705f8
mov edx, dword [esp + 0x84]
mov ecx, dword [esi + 0x70]
add eax, edx
lea edx, [esp + 0x84]
mov dword [esp + 0x8c], eax
mov eax, dword [esi + 0x74]
push eax
push ecx
push edx
mov ecx, edi
call sub.MFC42.DLL_CDC::Draw3dRect
mov ecx, dword [esp + 0x40]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [esp + 0x3c]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::SelectObject_2
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x59da10
mov dword [esp + 0x2c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x120], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x2c], 0x59d9fc
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x120], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x114
ret 4