Function at 0x413540
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x43aa78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push ebp
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], esi
call sub.MFC42.DLL_CClientDC::CClientDC
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x74]
mov dword [esp + 0x94], 0
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0xf8]
test eax, eax
je 0x41359c
lea ecx, [esp + 0x74]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ebp, dword [esp + 0x9c]
mov eax, dword [esp + 0x78]
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0xa0]
cmp eax, ebp
jl 0x4135c2
cmp dword [esp + 0x7c], ebx
jge 0x41375c
lea ecx, [esp + 0x50]
call fcn.00438cea
lea ecx, [esp + 0x40]
mov byte [esp + 0x94], 1
call fcn.00438cea
mov edi, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
mov byte [esp + 0x94], 2
and eax, edi
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call edi
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
and eax, ecx
push eax
call edi
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CDC::Attach
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x413639
lea ecx, [edi + 0xf4]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edx, dword [esp + 0x64]
push ebx
push ebp
push edx
add edi, 0xf4
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x44]
mov eax, str.SB_VtBack.bmp
test ecx, ecx
jne 0x413669
mov eax, str.SB_HzBack.bmp
mov ecx, dword [0x44c920]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
test eax, eax
je 0x41367c
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x58]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
test edi, edi
mov dword [esp + 0x14], eax
je 0x413692
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x44]
push edi
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x44]
test eax, eax
je 0x4136de
xor edi, edi
test ebx, ebx
jle 0x41370e
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
push 0
push 0
push eax
mov eax, dword [esp + 0x54]
push 1
push ebp
push edi
push 0
push eax
call esi
inc edi
cmp edi, ebx
jl 0x4136b2
jmp 0x41370e
xor edi, edi
test ebp, ebp
jle 0x41370e
mov ecx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
mov ecx, dword [esp + 0x48]
push 0
push 0
push eax
push ebx
push 1
push 0
push edi
push ecx
call esi
inc edi
cmp edi, ebp
jl 0x4136e4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x413719
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x54]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x18]
test eax, eax
je 0x41372f
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x48]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x40]
mov byte [esp + 0x94], 1
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 0
call sub.MFC42.DLL_CDC::CDC
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 0x100]
test eax, eax
je 0x413785
lea ecx, [esp + 0x74]
push ecx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
cmp dword [esp + 0x78], ebp
jl 0x413795
cmp dword [esp + 0x7c], ebx
jge 0x413cc7
lea ecx, [esp + 0x50]
call fcn.00438cea
lea ecx, [esp + 0x40]
mov byte [esp + 0x94], 3
call fcn.00438cea
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 4
call fcn.00438cea
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 5
call fcn.00438cea
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
mov byte [esp + 0x94], 6
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CDC::Attach
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x60]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [edi + 0x100]
test eax, eax
je 0x41386a
lea ecx, [edi + 0xfc]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [edi + 0x108]
test eax, eax
je 0x41387f
lea ecx, [edi + 0x104]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov eax, dword [edi + 0x110]
test eax, eax
je 0x413894
lea ecx, [edi + 0x10c]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov edx, dword [esp + 0x64]
push ebx
push ebp
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0xfc]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [esp + 0x64]
push ebx
push ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0x104]
call sub.MFC42.DLL_CGdiObject::Attach
mov ecx, dword [esp + 0x64]
push ebx
push ebp
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [edi + 0x10c]
call sub.MFC42.DLL_CGdiObject::Attach
mov eax, dword [edi + 0x44]
test eax, eax
mov eax, str.SB_VtBar.bmp
jne 0x4138f0
mov eax, str.SB_HzBar.bmp
mov ecx, dword [0x44c920]
push eax
mov edx, dword [ecx]
call dword [edx + 0x18]
test eax, eax
je 0x413903
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x28]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x18], eax
lea eax, [edi + 0xfc]
test eax, eax
je 0x41391f
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x14], eax
lea eax, [edi + 0x104]
test eax, eax
je 0x41393b
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x44]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x10], eax
lea eax, [edi + 0x10c]
test eax, eax
je 0x413957
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x38]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x44]
test eax, eax
je 0x413acd
xor edi, edi
test ebx, ebx
jle 0x4139eb
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
mov ecx, dword [esp + 0x58]
push 3
push 0
push eax
push 1
push ebp
push edi
push 0
push ecx
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x48]
push 0xa
push 0
push eax
push 1
push ebp
push edi
push 0
push edx
call esi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
push 0x11
push 0
push eax
mov eax, dword [esp + 0x44]
push 1
push ebp
push edi
push 0
push eax
call esi
inc edi
cmp edi, ebx
jl 0x413977
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
mov ecx, dword [esp + 0x54]
push 0xcc0020
sbb eax, eax
push 0
and eax, edx
push 0
push eax
push 3
push ebp
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x58]
push 4
push 0
push eax
add ebx, 0xfffffffd
push 3
push ebp
push ebx
push 0
push edx
call esi
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edi
push 7
push 0
push eax
mov eax, dword [esp + 0x54]
push 3
push ebp
push 0
push 0
push eax
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
mov ecx, dword [esp + 0x44]
push 0xcc0020
sbb eax, eax
push 0xb
and eax, edx
push 0
push eax
push 3
push ebp
push ebx
push 0
push ecx
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x38]
push 0xe
push 0
push eax
push 3
push ebp
push 0
push 0
push edx
call esi
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edi
push 0x12
push 0
push eax
push 3
push ebp
push ebx
push 0
jmp 0x413c24
xor edi, edi
test ebp, ebp
jle 0x413b47
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
mov ecx, dword [esp + 0x58]
push 0
push 3
push eax
push ebx
push 1
push 0
push edi
push ecx
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x48]
push 0
push 0xa
push eax
push ebx
push 1
push 0
push edi
push edx
call esi
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ecx
push 0
push 0x11
push eax
mov eax, dword [esp + 0x44]
push ebx
push 1
push 0
push edi
push eax
call esi
inc edi
cmp edi, ebp
jl 0x413ad3
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
mov ecx, dword [esp + 0x54]
push 0xcc0020
sbb eax, eax
push 0
and eax, edx
push 0
push eax
push ebx
push 3
push 0
push 0
push ecx
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x58]
push 0
push 4
push eax
push ebx
add ebp, 0xfffffffd
push 3
push 0
push ebp
push edx
call esi
mov edi, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edi
push 0
push 7
push eax
mov eax, dword [esp + 0x54]
push ebx
push 3
push 0
push 0
push eax
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
mov ecx, dword [esp + 0x44]
push 0xcc0020
sbb eax, eax
push 0
and eax, edx
push 0xb
push eax
push ebx
push 3
push 0
push ebp
push ecx
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
mov edx, dword [esp + 0x38]
push 0
push 0xe
push eax
push ebx
push 3
push 0
push 0
push edx
call esi
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x20]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edx
push 0
push 0x12
push eax
push ebx
push 3
push 0
push ebp
mov eax, dword [esp + 0x54]
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x413c36
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x24]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x14]
test eax, eax
je 0x413c4c
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x54]
push eax
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x10]
test eax, eax
je 0x413c62
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x48]
push eax
call sub.MFC42.DLL_CDC::SelectGdiObject
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x413c78
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x34]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
lea ecx, [esp + 0x20]
mov byte [esp + 0x94], 5
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x30]
mov byte [esp + 0x94], 4
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x40]
mov byte [esp + 0x94], 3
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 0
call sub.MFC42.DLL_CDC::CDC
lea ecx, [esp + 0x60]
mov dword [esp + 0x94], 0xffffffff
call fcn.004390e6
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret 8