Function at 0x427cb0
Capabilities:
Capture screenshot

Disassembly:
push esi
push edi
push ebp
sub esp, 0x64
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
test byte [edx + 0x20], 4
je 0x427cd1
add esp, 0x64
pop ebp
pop edi
pop esi
ret 8
push 0
push eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
mov ebp, eax
mov eax, dword [esp + 0x4c]
test byte [eax + 0x20], 1
je 0x427fc7
cmp word [eax + 0x24], 1
sete al
mov byte [esp + 0x58], al
xor edx, edx
mov dword [esp + 0x44], edx
cmp byte [esp + 0x58], 0
je 0x427d0b
mov dword [esp + 0x44], 2
xor bh, bh
mov byte [esp + 0x5c], bh
mov byte [esp + 0x54], bh
cmp dword [esp + 0x50], 0
jne 0x427fd0
mov eax, dword [esp + 0x48]
push eax
mov byte [esp + 0x60], 1
call dword [sym.imp.USER32.DLL_GetDC]
mov dword [esp + 0x50], eax
lea ebx, [esp + 0x78]
mov eax, dword [esp + 0x50]
mov edx, dword [0x43cf6c]
mov byte [esp + 0x54], 1
call fcn.00423de0
mov dword [esp + 0x74], eax
mov edx, dword [ebp + 0x14]
push edx
mov ecx, dword [ebp + 0x10]
push ecx
mov ebx, dword [esp + 0x58]
push ebx
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
push eax
mov esi, dword [esp + 0x78]
push esi
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.DLL_SelectObject]
push ebx
mov edi, ebx
mov dword [esp + 0x44], eax
call dword [sym.imp.GDI32.DLL_CreateCompatibleDC]
mov ebx, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov ecx, edi
push ecx
call dword [sym.imp.GDI32.DLL_CreateCompatibleBitmap]
push eax
push ebx
mov dword [esp + 0x38], eax
call dword [sym.imp.GDI32.DLL_SelectObject]
mov ebx, dword [0x43cf74]
mov dword [esp + 0x34], eax
cmp byte [esp + 0x58], 0
je 0x427dbd
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x427dbd
mov ebx, esi
mov eax, dword [esp + 0x4c]
push ebx
add eax, 8
push eax
mov edi, dword [esp + 0x7c]
push edi
call dword [sym.imp.USER32.DLL_FillRect]
lea edi, [esp + 0x18]
lea esi, [ebp + 0x10]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
inc eax
sub dword [esp + 0x18], 4
sub dword [esp + 0x1c], 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov edx, dword [edx + 4]
cmp byte [esp + 0x58], 0
je 0x427e0c
mov eax, dword [esp + 0x4c]
test byte [eax + 0x20], 2
je 0x427e0c
mov edx, dword [eax + 0x18]
push edx
mov ecx, dword [esp + 0x18]
push ecx
mov esi, dword [esp + 0x18]
push esi
mov edi, dword [esp + 0x28]
push edi
mov eax, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x88]
call fcn.00427b50
push edx
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0
push 0
mov ecx, dword [esp + 0x40]
push ecx
mov esi, eax
call dword [sym.imp.GDI32.DLL_GetPixel]
push esi
mov esi, dword [esp + 0x3c]
push esi
mov edi, eax
call dword [sym.imp.GDI32.DLL_SelectObject]
push 0xf
call dword [sym.imp.USER32.DLL_GetSysColor]
push eax
push esi
call dword [sym.imp.GDI32.DLL_SetBkColor]
xor edx, edx
mov dword [esp + 4], edx
mov dword [esp], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
push ebx
mov dword [esp + 0x10], eax
lea eax, [esp + 4]
push eax
push esi
call dword [sym.imp.USER32.DLL_FillRect]
push edi
mov esi, dword [esp + 0x78]
mov ebx, dword [esp + 0x18]
push esi
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
call fcn.004289f0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x427ec7
push eax
push esi
mov ebx, dword [esp + 0x44]
call dword [sym.imp.GDI32.DLL_SelectObject]
push ebx
call dword [sym.imp.GDI32.DLL_DeleteObject]
cmp byte [esp + 0x54], 0
je 0x427ed9
mov esi, dword [esp + 0x74]
push esi
call dword [sym.imp.GDI32.DLL_DeleteDC]
mov ebx, dword [esp + 0x38]
push 1
mov eax, dword [ebp + 0x14]
mov byte [esp + 0x64], 1
push eax
mov edx, dword [ebp + 0x10]
mov esi, dword [esp + 0x38]
push edx
mov eax, ebx
mov edi, dword [esp + 0x40]
call fcn.00427990
cmp byte [esp + 0x58], 0
je 0x427feb
mov ecx, dword [0x43cf84]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.00427720
mov ecx, dword [0x43cf8c]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.004277c0
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [eax + 0x10]
push edx
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [eax + 8]
push edx
call fcn.00423f10
push 0xcc0020
push 0
push 0
push ebx
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 0x10]
push eax
mov edx, dword [esp + 0x44]
push edx
mov ecx, dword [esp + 0x44]
push ecx
mov ebp, dword [esp + 0x70]
push ebp
call dword [sym.imp.GDI32.DLL_BitBlt]
push edi
push ebx
call dword [sym.imp.GDI32.DLL_SelectObject]
cmp byte [esp + 0x5c], 0
je 0x427fa5
push ebp
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.USER32.DLL_ReleaseDC]
push esi
call dword [sym.imp.GDI32.DLL_DeleteObject]
cmp byte [esp + 0x60], 0
je 0x427cc8
push ebx
call dword [sym.imp.GDI32.DLL_DeleteDC]
add esp, 0x64
pop ebp
pop edi
pop esi
ret 8
mov byte [esp + 0x58], bl
jmp 0x427cf6
cmp dword [esp + 0x74], 0
je 0x427d34
cmp dword [esp + 0x78], 0
je 0x427d34
jmp 0x427d50
mov ecx, dword [0x43cf7c]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.00427720
mov ecx, dword [0x43cf84]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.00427850
mov ecx, dword [0x43cf84]
push ecx
push 1
mov eax, dword [ebp + 0x14]
push eax
mov edx, dword [ebp + 0x10]
push edx
mov eax, ebx
call fcn.004278f0
jmp 0x427f36