Function at 0x404d80
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x439cb0
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 + 0x14]
call fcn.00438cea
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x44], 0
test esi, esi
jne 0x404dbb
xor eax, eax
jmp 0x404dbe
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [ebx + 0xac]
test eax, eax
je 0x404df3
mov eax, dword [ebx + 0x60]
test eax, eax
jne 0x404de8
push eax
mov eax, dword [esp + 0x1c]
push eax
jmp 0x404e03
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x1c]
push eax
jmp 0x404e03
mov eax, dword [ebx + 0x64]
test eax, eax
je 0x404dfd
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x60]
lea edx, [esp + 0x24]
mov eax, dword [eax + 4]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
push 0xff00ff
mov edx, dword [esi + 4]
push eax
push 4
push 0
push 0
push ecx
push eax
push 4
push 0
push 0
push edx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
mov eax, dword [esp + 0x58]
mov edi, 4
lea ebp, [eax - 5]
cmp ebp, edi
jle 0x404e87
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
mov edx, dword [esi + 4]
push 0xcc0020
sbb eax, eax
push 0
and eax, ecx
mov ecx, dword [esp + 0x34]
push 5
push eax
push ecx
push 1
push 0
push edi
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
inc edi
cmp edi, ebp
jl 0x404e56
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
push 0xff00ff
push eax
push 5
add ecx, 0xfffffffb
push 0
push ecx
mov ecx, dword [esi + 4]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x74]
sub eax, edx
push 5
sub eax, 5
push 0
push eax
push ecx
call dword [sym.imp.MSIMG32.dll_TransparentBlt]
mov edx, dword [ebx + 0x20]
push 0
push 1
push 0x7f
push edx
mov edi, 0xa
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x404efe
test esi, esi
jne 0x404ee0
xor ecx, ecx
jmp 0x404ee3
mov ecx, dword [esi + 4]
push 7
push 0
push 0
push 0x10
push 0x10
push eax
push 6
push 4
push ecx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edi, 0x14
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x10]
mov ecx, ebx
push eax
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [0x44c920]
mov ebp, dword [esi]
push 1
mov edx, dword [ecx]
call dword [edx + 0x1c]
push eax
mov ecx, esi
call dword [ebp + 0x30]
push 1
mov ecx, esi
mov ebp, eax
call sub.MFC42.DLL_CDC::SetBkMode
mov eax, dword [esi]
push 0x323232
mov ecx, esi
call dword [eax + 0x38]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
mov ecx, dword [eax - 8]
push ecx
push eax
push 8
push edi
mov ecx, esi
call dword [edx + 0x64]
mov eax, dword [esi]
push ebp
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x404f6a
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
sub esp, 0x10
mov edx, esp
push esi
mov dword [edx], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, ebx
call fcn.00404fe0
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 0x14