Function at 0x4271e0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4353d7
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x449030]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push esi
push edi
mov eax, dword [0x449030]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
cmp edx, 0x2b
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
jne 0x42723d
mov byte [eax], 1
call fcn.004275c0
jmp 0x427589
cmp edx, 0xf
jne 0x427421
push 0x40
mov byte [eax], 1
xor edi, edi
lea eax, [esp + 0x48]
push edi
push eax
call sub.MSVCR80.dll_memset
mov edx, dword [ebx + 0x40]
add esp, 0xc
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
push esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x14], eax
call sub.MFC80U.DLL_Ordinal_2361
lea ecx, [esp + 0x24]
mov esi, eax
call sub.MFC80U.DLL_Ordinal_347
cmp esi, edi
mov dword [esp + 0x98], edi
jne 0x427295
xor eax, eax
jmp 0x427298
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x28]
call sub.MFC80U.DLL_Ordinal_1270
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], vtable.CBitmap.0
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call sub.MFC80U.DLL_Ordinal_1271
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
push eax
push ecx
call sub.MFC80U.DLL_Ordinal_5633
mov edx, dword [esi + 8]
push 6
push edx
mov edi, eax
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call sub.MFC80U.DLL_Ordinal_2362
cmp dword [eax + 4], 0
je 0x427325
push eax
lea ecx, [esp + 0x28]
call sub.MFC80U.DLL_Ordinal_5638
push 0xffffff
lea ecx, [esp + 0x18]
call sub.MFC80U.DLL_Ordinal_326
mov byte [esp + 0x98], 2
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0x40]
push 4
push eax
push 0x318
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
push 0xcc0020
push 0
push 0
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
test edi, edi
je 0x42739b
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x28]
push edi
push ecx
call sub.MFC80U.DLL_Ordinal_5633
lea ecx, [esp + 0x24]
call sub.MFC80U.DLL_Ordinal_1920
lea ecx, [esp + 0x1c]
call sub.MFC80U.DLL_Ordinal_1925
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [ebx + 0x40]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.00406550
mov byte [esp + 0x98], 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.00406550
lea ecx, [esp + 0x24]
mov dword [esp + 0x98], 0xffffffff
call sub.MFC80U.DLL_Ordinal_602
jmp 0x427589
cmp edx, 0x14
jne 0x42748f
push esi
mov byte [eax], 1
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push esi
call sub.MFC80U.DLL_Ordinal_2361
mov ecx, dword [ebx + 0x40]
mov edi, eax
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0xffffff
lea ecx, [esp + 0x18]
call sub.MFC80U.DLL_Ordinal_326
test eax, eax
je 0x42745e
mov eax, dword [eax + 4]
push eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.CBrush.0
call fcn.00406550
mov ecx, dword [ebx + 0x40]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x427589
cmp edx, 0x2c
jne 0x42749c
mov byte [eax], 1
jmp 0x427589
cmp edx, 0x2b0f
jne 0x4274d7
push ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
lea edx, [esp + 0x10]
push edx
lea ecx, [ebx + 0x50]
mov dword [esp + 0x9c], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x427589
cmp edx, 0x39
je 0x427494
cmp edx, 0x200
jne 0x427554
mov eax, dword [ebx + 0x54]
movsx esi, cx
sub eax, esi
cdq
xor eax, edx
shr ecx, 0x10
sub eax, edx
cmp eax, 5
movsx ecx, cx
jge 0x42750b
mov eax, dword [ebx + 0x58]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 5
jl 0x427589
lea eax, [esp + 0x10]
push eax
push ecx
push esi
mov edx, ebx
mov dword [ebx + 0x54], esi
mov dword [ebx + 0x58], ecx
call fcn.0042a320
cmp eax, 0xffffffff
je 0x427589
cmp dword [ebx + 0x4c], eax
je 0x427589
mov ecx, dword [ebx + 0x40]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x188
push ecx
mov dword [ebx + 0x4c], eax
call esi
mov edx, dword [ebx + 0x4c]
mov eax, dword [ebx + 0x40]
push 0
push edx
push 0x186
push eax
call esi
jmp 0x42757b
cmp edx, 5
jne 0x427573
mov edx, dword [ebp + 0x10]
push eax
push ecx
push edx
push 5
push esi
mov ecx, ebx
call fcn.00430660
mov eax, dword [ebx + 0x40]
push 0
push 0
push eax
jmp 0x427583
cmp edx, 0x20a
jne 0x427589
mov ecx, dword [ebx + 0x40]
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.004322b8
mov esp, ebp
pop ebp
ret 0x14