Function at 0x43ba50
Capabilities:
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46d3cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x24], edi
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [edi + 0x300]
test eax, eax
jne 0x43ba95
mov ecx, edi
call fcn.0043bf30
lea ebx, [edi + 0x314]
push 0
push 0
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
push eax
push 0
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov esi, dword [esp + 0xe0]
push eax
push 0
push 0
push 0
push 0
push esi
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push edx
push eax
lea ecx, [esp + 0x24]
push str._MagicPanel::DrawAll__d__d__d__d
push ecx
mov dword [esp + 0xe0], 0
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push 0x4800dc
push eax
mov byte [esp + 0xdc], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x10]
mov byte [esp + 0xd0], 0
call sub.MFC42.DLL_CString::CString
mov ebp, dword [0x487cbc]
mov ebx, 1
xor edx, edx
cmp ebp, ebx
setg dl
lea ecx, [edi + 0x5b4]
push edx
call fcn.0040ec40
mov ebp, dword [0x487cbc]
xor eax, eax
cmp ebp, ebx
lea ecx, [edi + 0x554]
setg al
push eax
call fcn.0040ec40
mov eax, dword [edi + 0x674]
test eax, eax
jne 0x43bbe2
mov ebp, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
lea ebx, [edi + 0x35c]
sub ebp, ecx
push 0
push 0
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
push eax
push 0
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
push eax
push 0
push 0
push 0
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
sub ebp, eax
mov ecx, ebx
sub ebp, 0x13
push ebp
push 0xd
push esi
call sub.CLUINewEngine.dll_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
push esi
lea ecx, [edi + 0x554]
call fcn.0040e8d0
push esi
lea ecx, [edi + 0x5b4]
call fcn.0040e8d0
push esi
mov ecx, edi
call fcn.0043c000
jmp 0x43bc1a
push esi
lea ecx, [edi + 0x614]
call fcn.0040e8d0
lea ebx, [edi + 0x530]
push 0
push 0
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
push eax
push 0
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
push eax
push 0
push 0
push 0xe
push 5
push esi
mov ecx, ebx
call sub.CLUINewEngine.dll_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
mov eax, dword [0x4a90cc]
test eax, eax
je 0x43bc2a
mov ecx, edi
call fcn.0043c0f0
lea ecx, [esp + 0x4c]
push ecx
call sub.CLUINewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::GetFont_void_
lea edx, [esp + 0x50]
push 0
lea eax, [esp + 0x8c]
push edx
push eax
mov dword [esp + 0x5c], 0xffffffff
call sub.CLUINewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
lea ecx, [esp + 0x9c]
push ecx
call fcn.00465bff
add esp, 0x14
lea edx, [esp + 0x8c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
push esi
mov dword [esp + 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
mov dword [esp + 0x3c], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xffffff
push esi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x3c], eax
or eax, 0xffffffff
mov ebx, 0x3e
mov dword [esp + 0x24], 2
lea edx, [eax + eax*8]
mov dword [esp + 0x28], 0
mov dword [esp + 0x10], 0xc
lea ecx, [eax*4 + 0x487c8c]
lea ebp, [edi + edx*4 + 0x380]
jmp 0x43bcd2
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
add ecx, 4
inc eax
add ebp, 0x24
test edx, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
je 0x43bea3
mov eax, dword [esp + 0x10]
push 0
push 0
mov ecx, ebp
lea edi, [eax + 1]
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
push eax
push 0
mov ecx, ebp
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
push eax
push 0
lea ecx, [ebx - 0x2e]
push 0
push ecx
push edi
push esi
mov ecx, ebp
call sub.CLUINewEngine.dll_public:_void___thiscall_CxImage::Draw_struct_HDC_____int__int__int__int__int__int__unsigned_int_
mov edx, dword [esp + 0x18]
or ecx, 0xffffffff
mov eax, dword [edx]
lea edx, [eax + 0x110]
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 8
mov dword [esp + 0x30], ecx
jg 0x43bd8d
push eax
mov ecx, ebp
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov edi, eax
push 0
mov ecx, ebp
add edi, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add eax, ecx
push 0x21
mov dword [esp + 0x70], eax
lea eax, [esp + 0x68]
push eax
mov eax, dword [edx]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x38]
add eax, 0x110
push ecx
push eax
push esi
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], edi
call dword [sym.imp.USER32.dll_DrawTextA]
jmp 0x43be7e
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x14]
mov byte [esp + 0xd0], 2
xor esi, esi
cmp byte [esi + eax], 0
jge 0x43bdac
inc esi
inc esi
cmp esi, 4
jl 0x43bda5
mov eax, esi
push 0x2e
push eax
lea ecx, [esp + 0x1c]
inc esi
call sub.MFC42.DLL_CString::SetAt
mov eax, esi
push 0x2e
push eax
lea ecx, [esp + 0x1c]
inc esi
call sub.MFC42.DLL_CString::SetAt
mov eax, esi
push 0x2e
push eax
lea ecx, [esp + 0x1c]
inc esi
call sub.MFC42.DLL_CString::SetAt
lea ecx, [esp + 0x44]
push esi
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x44]
mov byte [esp + 0xd0], 2
call sub.MFC42.DLL_CString::CString
push 0
mov ecx, ebp
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetHeight_unsigned_int_
mov esi, eax
push 0
mov ecx, ebp
add esi, ebx
call sub.CLUINewEngine.dll_public:_unsigned_int___thiscall_CxImage::GetWidth_unsigned_int_
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], esi
push 0x21
lea edx, [eax + ecx + 1]
lea eax, [ecx + 1]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], edx
lea edx, [esp + 0x78]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0xe8]
push eax
call dword [sym.imp.USER32.dll_DrawTextA]
lea ecx, [esp + 0x14]
mov byte [esp + 0xd0], 0
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0xd8]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
add edi, 0x33
inc eax
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], eax
cmp eax, 6
mov eax, dword [esp + 0x2c]
jl 0x43bcce
mov ecx, dword [esp + 0x24]
add ebx, 0x41
dec ecx
mov dword [esp + 0x24], ecx
jne 0x43bcab
lea ecx, [esp + 0x84]
push 0
lea edx, [esp + 0x48]
push ecx
push edx
call sub.CLUINewEngine.dll_public:_static_struct_CxImage::_XFONT___cdecl_CxImage::SetFont_struct_CxImage::_XFONT___struct_HFONT____
mov eax, dword [esp + 0x40]
add esp, 0xc
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x40]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x3c]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xd0], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 4