Function at 0x40af00
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x4216a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
lea eax, [esp + 0x3c]
push edi
mov esi, ecx
push eax
call fcn.004082b0
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x40]
sub eax, ebx
sub ecx, edi
push eax
push ecx
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [esp + 0xac]
lea edx, [esp + 0x30]
push edx
push ebx
mov ecx, esi
call fcn.00407c10
push esi
lea ecx, [esp + 0x88]
call sub.MFC42.DLL_CClientDC::CClientDC
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0
call sub.MFC42.DLL_CDC::CDC
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x84]
neg eax
sbb eax, eax
mov byte [esp + 0xa0], 1
and eax, edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CDC::Attach
lea ecx, [esp + 0x58]
call fcn.0040b870
mov edi, 0x424fc0
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x50]
mov byte [esp + 0xa0], 2
call fcn.0040b870
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
sub eax, edi
mov edi, dword [esp + 0x20]
shl eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x28]
add eax, ebp
sub ecx, edi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov eax, dword [esp + 0x8c]
push ecx
push eax
mov byte [esp + 0xac], 3
call edi
push eax
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub eax, ecx
shl eax, 1
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
sub eax, edx
add eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, ebp
push eax
push ecx
mov ecx, dword [esp + 0x90]
push ecx
call edi
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0xa8]
mov ecx, esi
push edx
call fcn.0040b930
push ebx
mov ecx, esi
mov edi, eax
call fcn.0040b930
mov ecx, dword [esp + 0x5c]
mov ebp, eax
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xa8]
cmp ebx, eax
jle 0x40b31b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
sub ecx, edx
mov edx, dword [esp + 0x2c]
lea eax, [edx + ecx*2]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x110]
test eax, eax
jne 0x40b0d4
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::FillSolidRect
jmp 0x40b0e9
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
push str.BackImg
push eax
call sub.SkinMagic.dll_Ordinal_33
test edi, edi
je 0x40b147
push 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x10]
push 0
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [edi + 0x20]
push 0x14
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 0
and eax, ecx
mov ecx, dword [edi + 0x20]
push eax
push 0xf
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40b17b
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40b17b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3c]
mov dword [edx + 8], eax
lea eax, [esp + 0x20]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0xb8]
push edx
push eax
mov ecx, esi
call fcn.00409b10
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x38]
push eax
sub ecx, edi
mov edi, dword [sym.imp.USER32.dll_SetRect]
push ecx
push 0
lea edx, [esp + 0x3c]
push 0
push edx
call edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
sub ecx, eax
lea eax, [ecx + ecx]
sub eax, edx
mov edx, dword [esp + 0x4c]
add eax, edx
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push edx
push ecx
push 0
push eax
call edi
mov eax, dword [esi + 0x110]
test eax, eax
jne 0x40b206
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x20]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::FillSolidRect
jmp 0x40b21b
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
push str.BackImg
push eax
call sub.SkinMagic.dll_Ordinal_33
test ebp, ebp
je 0x40b2ba
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
sub eax, edi
push eax
lea ecx, [esp + 0x64]
push 0
push ecx
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
mov ecx, dword [eax]
push 5
mov dword [esp + 0x74], ecx
mov ecx, ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x78], edx
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x10]
push 0
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [ebp + 0x20]
push 0x14
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 0
and eax, ecx
mov ecx, dword [ebp + 0x20]
push eax
push 0xf
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
jne 0x40b29e
push edi
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
jmp 0x40b2e7
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
push ebx
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
lea eax, [esp + 0x24]
push eax
call fcn.00409b10
mov edx, dword [esp + 0x30]
push 0
mov eax, dword [esp + 0x38]
sub esp, 0x10
mov ecx, esp
push ebx
mov dword [ecx], edx
mov edx, dword [esp + 0x50]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call fcn.00407dd0
jmp 0x40b5a9
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x38]
push eax
sub ecx, ebx
lea edx, [esp + 0x34]
push ecx
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
sub eax, ebx
add edx, eax
mov dword [esp + 0x24], edx
lea edx, [ecx + eax*2]
mov eax, dword [esi + 0x110]
mov dword [esp + 0x2c], edx
test eax, eax
jne 0x40b37d
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::FillSolidRect
jmp 0x40b392
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push ecx
push str.BackImg
push eax
call sub.SkinMagic.dll_Ordinal_33
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
test edi, edi
je 0x40b436
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x34]
sub edx, ecx
lea eax, [esp + 0x70]
push edx
mov edx, dword [esp + 0x14]
push 0
push eax
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
mov ecx, dword [eax]
push 5
mov dword [esp + 0x64], ecx
mov ecx, edi
mov edx, dword [eax + 4]
mov dword [esp + 0x68], edx
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x10]
push 0
neg eax
sbb eax, eax
and eax, ecx
push eax
mov eax, dword [edi + 0x20]
push 0x14
push eax
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 0
and eax, ecx
mov ecx, dword [edi + 0x20]
push eax
push 0xf
push ecx
call ebx
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x40b41a
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0x1c]
call dword [edx + 0x40]
jmp 0x40b46a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
lea ecx, [esp + 0x20]
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0xb8]
push eax
push ecx
mov ecx, esi
call fcn.00409b10
mov eax, dword [esp + 0x30]
push 0
mov ecx, dword [esp + 0x38]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [edx + 8], eax
lea eax, [esp + 0x24]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0xbc]
push edx
push eax
mov ecx, esi
call fcn.00407dd0
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
sub eax, edi
mov edi, dword [esp + 0x4c]
shl eax, 1
sub eax, ecx
mov ecx, dword [esp + 0x48]
add eax, edi
sub ecx, edx
push eax
push ecx
push 0
lea edx, [esp + 0x2c]
push 0
push edx
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x110]
test eax, eax
jne 0x40b50a
mov eax, dword [esi + 0x40]
lea ecx, [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::FillSolidRect
jmp 0x40b51f
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push ecx
push str.BackImg
push eax
call sub.SkinMagic.dll_Ordinal_33
test ebp, ebp
je 0x40b56e
push 5
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [esp + 0x14]
mov edi, eax
lea eax, [esp + 0x10]
push 0
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [ebp + 0x20]
push eax
push 0x14
push edx
call ebx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
push 0
and eax, ecx
push eax
mov eax, dword [ebp + 0x20]
push 0xf
push eax
call ebx
test edi, edi
jne 0x40b5a2
push edi
mov ecx, ebp
call sub.MFC42.DLL_CWnd::ShowWindow
jmp 0x40b5a2
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x38]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [ecx + 8], edx
lea edx, [esp + 0x20]
mov dword [ecx + 0xc], eax
mov ecx, dword [esp + 0xbc]
push ecx
push edx
mov ecx, esi
call fcn.00409b10
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
cmp ebx, eax
jle 0x40b6b9
lea ecx, [esp + 0x60]
push ecx
push eax
mov ecx, esi
call fcn.00407c10
lea edx, [esp + 0x70]
mov ecx, esi
push edx
push ebx
call fcn.00407c10
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov ebp, eax
sub ebp, edi
mov edi, dword [esp + 0x74]
sub edi, ebp
cmp edi, eax
jle 0x40b7d3
mov ebx, dword [esp + 0x5c]
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
mov ecx, edi
sub edx, ebx
sub ecx, eax
lea ebx, [eax + 1]
lea eax, [esp + 0x10]
dec ecx
push 0xcc0020
neg eax
sbb eax, eax
push ebp
and eax, dword [esp + 0x1c]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0xa0]
push ebx
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, ebx
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
sub ecx, edi
lea eax, [esp + 0x10]
add ecx, ebp
sub edx, ebx
push 0xcc0020
neg eax
sbb eax, eax
push 0
and eax, dword [esp + 0x1c]
push 0
push eax
push ecx
mov ecx, dword [esp + 0x9c]
push edx
push edi
push ebx
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esi + 0xac]
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x6c]
sub edi, ebp
cmp edi, eax
jg 0x40b5ec
jmp 0x40b7d3
lea ecx, [esp + 0x60]
push ecx
push eax
mov ecx, esi
call fcn.00407c10
mov ebp, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
sub ebp, edi
mov eax, ecx
sub eax, ebp
push eax
mov eax, dword [esp + 0x44]
push edx
push ecx
lea ecx, [esp + 0x7c]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x74]
sub eax, ebp
lea edi, [edx + 1]
cmp edi, eax
jge 0x40b7d3
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
mov ecx, edi
sub ecx, ebx
mov ebx, dword [esp + 0x14]
sub edx, eax
lea eax, [esp + 0x10]
dec ecx
push 0xcc0020
neg eax
sbb eax, eax
and eax, ebx
lea ebx, [ebp + ebp]
push ebx
push 0
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x7c]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
and eax, edx
mov edx, dword [esp + 0x14]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x10]
sub ecx, edi
sub edx, ebx
neg eax
sbb eax, eax
push 0xcc0020
and eax, dword [esp + 0x18]
push 0
push 0
push eax
mov eax, dword [esp + 0x98]
push ecx
push edx
push edi
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esi + 0xac]
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x74]
add edi, ebp
sub edx, ebp
cmp edi, edx
jl 0x40b704
mov eax, dword [esp + 0x80]
test eax, eax
je 0x40b7e1
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edi, 0x424fe8
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x50]
mov byte [esp + 0xa0], 4
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x4248cc
mov dword [esp + 0x58], edi
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 5
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
mov dword [esp + 0x58], esi
mov byte [esp + 0xa0], 0
call fcn.0041fa2a
lea ecx, [esp + 0x84]
mov dword [esp + 0xa0], 0xffffffff
call fcn.0041fa90
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x94
ret 8