Function at 0x547e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57d1c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
mov ebx, ecx
push esi
push edi
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDC::CDC
push 0
mov dword [esp + 0x48], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::Attach
lea ecx, [esp + 0x14]
call fcn.004293b0
mov dword [esp + 0x14], 0x580178
mov esi, dword [esp + 0x50]
mov byte [esp + 0x44], 1
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov ebp, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 8]
push eax
mov eax, dword [esp + 0x34]
sub ecx, ebp
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edi, dword [esi + 4]
mov ecx, dword [esi + 8]
mov edx, dword [esi]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x30]
sub eax, edi
push 0xff0062
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [esp + 0x4c]
mov ecx, dword [ebx + 0xac]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x34]
mov edx, dword [esi + 4]
mov ebp, dword [esi]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, edx
sub ecx, ebp
test edi, edi
jne 0x547f6c
xor ebp, ebp
jmp 0x547f6f
mov ebp, dword [edi + 4]
push 0xcc0020
push edx
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x3c]
push ebp
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
push eax
push ecx
push 0
push 0
push edx
call ebp
mov ecx, dword [ebx + 0xb0]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x34]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
sub eax, ecx
mov ecx, dword [esi + 8]
sub ecx, edx
test edi, edi
jne 0x547fb3
mov dword [esp + 0x50], edi
jmp 0x547fba
mov edx, dword [edi + 4]
mov dword [esp + 0x50], edx
mov edx, dword [esi + 4]
push 0xee0086
push edx
mov edx, dword [esi]
push edx
mov edx, dword [esp + 0x5c]
push edx
push eax
mov eax, dword [esp + 0x44]
push ecx
push 0
push 0
push eax
call ebp
mov edx, dword [ebx + 0xac]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0xc]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call sub.MFC42.DLL_CDC::FillSolidRect_1
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x34]
mov edx, dword [edi]
push 0xffffff
mov ecx, edi
call dword [edx + 0x38]
lea ecx, [esp + 0x24]
call fcn.004293b0
mov dword [esp + 0x24], 0x5854e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 2
call fcn.004293b0
mov dword [esp + 0x1c], 0x5854e0
mov eax, dword [ebx + 0xb0]
mov byte [esp + 0x44], 3
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
mov ebx, dword [ebx + 0xb4]
push ebx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CGdiObject::Attach
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 4]
sub edx, ebx
sub ecx, eax
inc eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x2c]
inc ebx
push 0xe20746
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x38]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [edi + 4]
push ecx
push ebx
push edx
call ebp
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0xc]
mov ebx, dword [esi]
mov esi, dword [esi + 8]
lea eax, [esp + 0x2c]
sub ecx, edx
sub esi, ebx
push 0xe20746
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x38]
push 0
push eax
push ecx
mov ecx, dword [edi + 4]
push esi
push edx
push ebx
push ecx
call ebp
mov edx, dword [esp + 0x4c]
mov ecx, edi
push edx
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x548103
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x34]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x57f4d8
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x57f4c4
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x24]
mov byte [esp + 0x44], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x44], 0xffffffff
call fcn.005573c6
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8