Function at 0x4d49c0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x585f96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.00405db0
mov edi, 0x5916cc
mov dword [esp + 0x1c], edi
push fcn.004041c0
push 0x4d4e50
push 3
lea eax, [esp + 0x58]
xor ebx, ebx
push 8
push eax
mov dword [esp + 0x80], ebx
call fcn.00573daf
push fcn.004041c0
push 0x4d4e50
push 3
lea ecx, [esp + 0x40]
push 8
push ecx
mov byte [esp + 0x80], 1
call fcn.00573daf
lea ecx, [esp + 0x14]
call fcn.00405db0
mov dword [esp + 0x14], edi
mov edx, dword [esi + 0x20]
mov byte [esp + 0x6c], 3
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
mov ebp, eax
cmp ebp, ebx
jne 0x4d4a5d
xor eax, eax
jmp 0x4d4a60
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x104]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x20]
mov ecx, dword [esi + 0x108]
lea eax, [esp + 0x1c]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
cmp ebp, ebx
jne 0x4d4ac4
xor edx, edx
jmp 0x4d4ac7
mov edx, dword [ebp + 4]
push 0xcc0020
push ebx
push ebx
push edx
mov edx, dword [esi + 0x108]
push eax
push ecx
push ebx
push ebx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
push 0xf00021
push eax
mov eax, dword [esi + 0x108]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea edi, [esi + 0x118]
mov dword [esp + 0x10], ebx
test ebp, ebp
jne 0x4d4b1d
xor eax, eax
jmp 0x4d4b20
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [edi - 4]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
lea ebx, [esp + edx + 0x58]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
test ebx, ebx
jne 0x4d4b60
xor eax, eax
jmp 0x4d4b68
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + ecx + 0x50]
mov edx, dword [edi]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
test ebp, ebp
jne 0x4d4b85
xor edx, edx
jmp 0x4d4b88
mov edx, dword [ebp + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [edi]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
push 0xf00021
push eax
push ecx
mov ecx, dword [edi]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
test ebp, ebp
jne 0x4d4bd0
xor eax, eax
jmp 0x4d4bd3
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [edi + 0x2c]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [ebp + 4]
push ecx
push eax
lea ebx, [esp + edx + 0x40]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::Attach
test ebx, ebx
jne 0x4d4c13
xor eax, eax
jmp 0x4d4c1b
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + ecx + 0x38]
mov edx, dword [edi + 0x30]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
test ebp, ebp
jne 0x4d4c39
xor edx, edx
jmp 0x4d4c3c
mov edx, dword [ebp + 4]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [edi + 0x30]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
push 0xf00021
push eax
push ecx
mov ecx, dword [edi + 0x30]
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov ecx, ebx
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [esp + 0x10]
add edi, 0x10
add eax, 8
cmp eax, 0x18
mov dword [esp + 0x10], eax
jl 0x4d4b15
xor edi, edi
cmp ebp, edi
jne 0x4d4c9f
xor eax, eax
jmp 0x4d4ca2
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x174]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
mov edx, dword [ebp + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, edx
push eax
mov eax, dword [esi + 0x178]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
cmp ebp, edi
jne 0x4d4d06
xor edx, edx
jmp 0x4d4d09
mov edx, dword [ebp + 4]
push 0xcc0020
push edi
push edi
push edx
push eax
push ecx
mov ecx, dword [esi + 0x178]
push edi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x188]
mov ecx, dword [esi + 0x184]
mov edx, dword [esi + 0x178]
push 0xf00021
push eax
push ecx
push edi
push edi
push edx
call dword [sym.imp.GDI32.dll_PatBlt]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [ebp + 4]
mov ecx, dword [esi + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
push 0x8000
lea edx, [esp + 0x2c]
push esi
push edx
push 0x50011104
push 0x5f3788
push str.EDIT
push 0x40000
lea ecx, [esi + 0x40]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
call sub.MFC42.DLL_CWnd::CreateEx
lea eax, [esi + 0x23c]
cmp eax, edi
jne 0x4d4da1
xor eax, eax
jmp 0x4d4da4
mov eax, dword [eax + 4]
push 1
push eax
mov eax, dword [esi + 0x60]
push 0x30
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
mov dword [esi + 0x90], 0x12
push 0xffffffffffffffff
push 0xffffffffffffffff
add esi, 0x94
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov esi, 0x5916f4
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x6c], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
push fcn.004041c0
push 3
lea ecx, [esp + 0x3c]
push 8
push ecx
mov dword [esp + 0x24], 0x5916e0
mov byte [esp + 0x7c], 1
call fcn.00573a2e
push fcn.004041c0
push 3
lea edx, [esp + 0x54]
push 8
push edx
mov byte [esp + 0x7c], 0
call fcn.00573a2e
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x6c], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret