Function at 0x41a0b0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x41e9c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push ebp
push esi
push edi
xor edi, edi
mov eax, 0x41fa28
mov esi, ecx
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0xcc], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 2
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x68]
mov byte [esp + 0xcc], 3
call sub.MFC42.DLL_CDC::CDC
push edi
lea ecx, [esp + 0x9c]
mov byte [esp + 0xd0], 4
call sub.MFC42.DLL_CClientDC::CClientDC
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x110]
push edi
push eax
mov byte [esp + 0xd4], 5
call dword [sym.imp.USER32.dll_GetWindowRect]
push edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [esi + 0xf0]
lea ecx, [esp + 0xac]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x70]
lea eax, [esp + 0x30]
push edx
push eax
push 0x259
call fcn.0040fb80
mov ebx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
sub ebx, ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x64], eax
sub ebx, eax
mov eax, dword [esp + 0xb4]
sub eax, edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x50], eax
sub eax, ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x98]
neg eax
sbb eax, eax
and eax, ecx
mov ebp, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call ebp
push eax
lea ecx, [esi + 0xc4]
call sub.MFC42.DLL_CDC::Attach
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0x98]
neg eax
sbb eax, eax
and eax, edx
push eax
call ebp
push eax
lea ecx, [esi + 0xb4]
call sub.MFC42.DLL_CDC::Attach
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0x98]
neg eax
sbb eax, eax
and eax, edx
push eax
call ebp
push eax
lea ecx, [esi + 0xa4]
call sub.MFC42.DLL_CDC::Attach
lea eax, [esi + 0xc4]
test eax, eax
je 0x41a251
mov eax, dword [eax + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CDC::Attach
lea eax, [esi + 0xc4]
test eax, eax
je 0x41a26b
mov eax, dword [eax + 4]
push eax
call ebp
push eax
lea ecx, [esp + 0x6c]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0xbe]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
mov ebp, dword [edi]
and eax, 0xffff
sub ecx, edx
mov edx, dword [edi + 8]
push 0
push eax
sub edx, ebp
mov ebp, dword [sym.imp.GDI32.dll_CreateBitmap]
push 1
push ecx
push edx
call ebp
push eax
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esi + 0x68]
cmp dword [ecx], 0
jle 0x41a36b
mov eax, dword [esi + 0xe0]
lea edx, [esp + 0x80]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0xbe]
mov ecx, dword [edi + 8]
mov edx, dword [edi]
and eax, 0xffff
sub ecx, edx
mov edx, dword [esp + 0x88]
push 0
push eax
push 1
push edx
push ecx
call ebp
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0xbe]
mov ecx, dword [edi + 8]
mov edx, dword [edi]
and eax, 0xffff
push 0
push eax
mov eax, dword [esp + 0x90]
sub ecx, edx
push 1
push eax
push ecx
call ebp
push eax
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x44]
mov ecx, dword [esi + 0xb8]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x4c]
mov dword [esi + 0xf8], eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esi + 0xa8]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esi + 0xfc], eax
mov ecx, dword [esp + 0x60]
lea eax, [esp + 0x5c]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esi + 0xc8]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esi + 0xf4], eax
lea eax, [esi + 0xd4]
test eax, eax
je 0x41a399
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0xc8]
push eax
push edi
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [esi + 0xec]
test eax, eax
je 0x41a3b5
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x1c]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ebp, dword [edi + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
sub eax, ebp
mov ebp, dword [esp + 0x10]
sub eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [edi + 8]
sub eax, ecx
mov ecx, dword [esp + 0x1c]
sub eax, ebp
mov edx, dword [esp + 0x28]
mov dword [esi + 0xa0], eax
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
push 0xcc0020
mov ebp, dword [sym.imp.GDI32.dll_BitBlt]
and eax, ecx
mov ecx, dword [esp + 0x30]
push 0
push 0
push eax
mov eax, dword [esi + 0xc8]
push ecx
push edx
push 0
push 0
push eax
call ebp
mov edx, dword [edi + 8]
mov ecx, dword [edi]
mov eax, dword [esp + 0x28]
sub edx, ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
sub edx, ecx
cmp eax, edx
jge 0x41a4c2
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
mov edx, dword [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, ecx
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esi + 0xc8]
push eax
mov eax, dword [esp + 0x44]
push edx
push ebx
push 0
push eax
push ecx
call ebp
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x18]
push 0xcc0020
neg eax
sbb eax, eax
push edx
mov edx, dword [esp + 0x1c]
and eax, ecx
mov ecx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push edx
mov edx, dword [esi + 0xc8]
push ebx
push eax
push ecx
push edx
call ebp
mov edx, dword [edi + 8]
mov ecx, dword [edi]
mov eax, dword [esp + 0x34]
sub edx, ecx
mov ecx, dword [esp + 0x10]
add eax, ebx
sub edx, ecx
mov dword [esp + 0x34], eax
cmp eax, edx
jl 0x41a43b
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov edx, dword [esi + 0xa0]
and eax, ebx
mov ebx, dword [esp + 0x58]
push 0xcc0020
push 0
push ebx
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
mov ecx, dword [esi + 0xc8]
push 0
push edx
push ecx
call ebp
mov edx, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov ebx, dword [esp + 0x2c]
sub edx, ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
cmp ebx, edx
jge 0x41a595
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x78]
lea eax, [esp + 0x18]
push 0xcc0020
neg eax
sbb eax, eax
push ecx
mov ecx, dword [esi + 0xc8]
and eax, edx
mov edx, dword [esp + 0x5c]
push 0
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
push ebx
push 0
push ecx
call ebp
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x7c]
mov ecx, dword [esi + 0xa0]
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x64]
push eax
mov eax, dword [esi + 0xc8]
push edx
push ebx
push ecx
push eax
call ebp
mov edx, dword [esp + 0x54]
mov ecx, dword [edi + 4]
add ebx, edx
mov edx, dword [edi + 0xc]
sub edx, ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
cmp ebx, edx
jl 0x41a50f
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x18]
push 0xcc0020
neg eax
sbb eax, eax
push edx
and eax, ebx
mov ebx, dword [esp + 0x40]
push 0
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esi + 0xc8]
push eax
push ebx
push 0
push ecx
call ebp
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x54]
mov ecx, dword [esi + 0xa0]
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esi + 0xc8]
push edx
push ebx
push ecx
push eax
call ebp
mov edx, dword [esi + 0xb4]
lea ecx, [esi + 0xb4]
lea ebx, [esi + 0x7c]
push ebx
call dword [edx + 0x30]
lea ecx, [esi + 0xa4]
mov dword [esi + 0x74], eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x174]
lea edx, [esp + 0x38]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 0xbc]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esi + 0x68]
cmp dword [ecx], 0
jle 0x41a875
mov edx, dword [esp + 0x84]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
mov ebx, edx
jne 0x41a6b6
mov eax, dword [edi + 8]
mov edx, dword [edi]
sub eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
sub edx, eax
sub edx, 0x1e
cmp edx, 0x28
jg 0x41a69f
mov dword [esp + 0x30], 0x28
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 8]
sub eax, ebx
sub eax, edx
sub eax, dword [edi]
mov dword [esi + 0x100], edx
mov dword [esi + 0x108], eax
jmp 0x41a6d2
mov edx, dword [esi + 0x6c]
mov edi, dword [esp + 0x38]
mov dword [esi + 0x100], eax
mov edx, dword [edx]
add edx, ebx
lea edx, [edi + edx*2]
add edx, eax
mov dword [esi + 0x108], edx
mov ecx, dword [ecx + 8]
mov eax, 4
cmp ecx, 0xffffffff
je 0x41a6e1
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x104], eax
add eax, ecx
mov dword [esi + 0x10c], eax
lea eax, [esi + 0xdc]
test eax, eax
je 0x41a710
mov eax, dword [eax + 4]
test eax, eax
je 0x41a710
mov edx, dword [esp + 0x1c]
push eax
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esi + 0xe4]
test eax, eax
je 0x41a71d
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x70]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x18]
mov ecx, dword [esi + 0x100]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x8c]
push 0
push 0
push eax
mov eax, dword [esi + 0xb8]
push edx
push ebx
push 0
push ecx
push eax
call ebp
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x68]
mov ecx, dword [esi + 0x100]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, edx
mov edx, dword [esp + 0x90]
push 0
push eax
mov eax, dword [esi + 0xa8]
push edx
push ebx
push 0
push ecx
push eax
call ebp
mov edi, dword [esi + 0x100]
mov eax, dword [esi + 0x108]
add edi, ebx
cmp edi, eax
jge 0x41a808
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
mov edx, dword [esi + 0xb8]
push 0xcc0020
sbb eax, eax
push 0
and eax, ecx
mov ecx, dword [esp + 0x90]
push ebx
push eax
push ecx
push ebx
push 0
push edi
push edx
call ebp
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x68]
neg eax
sbb eax, eax
push 0xcc0020
mov ecx, dword [esi + 0xa8]
and eax, edx
push 0
push ebx
push eax
mov eax, dword [esp + 0x98]
push eax
push ebx
push 0
push edi
push ecx
call ebp
mov eax, dword [esi + 0x108]
add edi, ebx
cmp edi, eax
jl 0x41a7a4
mov ecx, dword [esi + 0x108]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
sub ecx, ebx
mov edx, dword [esp + 0x88]
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, edi
lea edi, [ebx + ebx]
push edi
push eax
mov eax, dword [esi + 0xb8]
push edx
push ebx
push 0
push ecx
push eax
call ebp
mov ecx, dword [esi + 0x108]
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x68]
sub ecx, ebx
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x8c]
push 0
push edi
push eax
mov eax, dword [esi + 0xa8]
push edx
push ebx
push 0
push ecx
push eax
call ebp
jmp 0x41a8c7
mov ebx, dword [esi + 0x6c]
mov ebp, dword [esp + 0x38]
mov ecx, dword [ebx]
cmp ecx, 0xffffffff
jne 0x41a89a
mov eax, dword [edi + 8]
mov edx, dword [edi]
sub eax, edx
cdq
sub eax, edx
mov ecx, eax
mov eax, ebp
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub ecx, eax
mov dword [esi + 0x100], ecx
add ecx, ebp
mov dword [esi + 0x108], ecx
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x41a8b5
mov eax, 4
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x104], eax
add eax, ecx
mov dword [esi + 0x10c], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x41a8dd
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x1c]
push edx
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x30]
test eax, eax
je 0x41a8f3
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x6c]
push ecx
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CDC::DeleteDC
lea ecx, [esp + 0x98]
mov byte [esp + 0xcc], 4
call fcn.0041bf78
lea ecx, [esp + 0x68]
mov byte [esp + 0xcc], 3
call fcn.0041bf30
lea ecx, [esp + 0x18]
mov byte [esp + 0xcc], 2
call fcn.0041bf30
mov esi, 0x41fa14
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0xcc], 6
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edi, 0x41fa3c
mov dword [esp + 0x40], esi
mov dword [esp + 0x48], edi
lea ecx, [esp + 0x40]
mov byte [esp + 0xcc], 7
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], esi
lea ecx, [esp + 0x5c]
mov dword [esp + 0xcc], 8
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xc0
ret