Function at 0x42c2c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
cmp byte [ebp + 8], 0x64
push ebx
push esi
push edi
mov edi, eax
mov esi, ecx
jbe 0x42c2da
mov byte [ebp + 8], 0x64
xor eax, eax
cmp edi, eax
mov dword [esp + 0x2c], eax
jne 0x42c2fc
cmp esi, eax
je 0x42c2eb
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [esp + 0x2c], 1
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
call ebx
push edi
mov dword [esp + 0x18], eax
call ebx
push edi
mov dword [esp + 0x14], eax
call ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x3e4]
push eax
push ecx
call ebx
mov ecx, dword [esi + 0x490]
sub ecx, dword [esi + 0x488]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x494]
sub eax, dword [esi + 0x48c]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edx, dword [esp + 0x14]
push eax
push edx
mov dword [esp + 0x48], eax
call ebx
mov ecx, dword [esi + 0x490]
sub ecx, dword [esi + 0x488]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x494]
sub eax, dword [esi + 0x48c]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x10]
push eax
call ebx
mov ecx, dword [esi + 0x48c]
mov edx, dword [esi + 0x488]
push 0xcc0020
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x490]
sub eax, dword [esi + 0x3fc]
push 0
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x494]
sub ecx, dword [esi + 0x400]
push 0
sub ecx, dword [esp + 0x58]
sub eax, edx
mov edx, dword [esp + 0x1c]
push edx
push ecx
push eax
push 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x30]
push 0
push eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
push ecx
lea eax, [esi + 0x468]
lea ecx, [esi + 0x54]
call fcn.00421930
cmp dword [esi + 0x3ec], 0
je 0x42c42c
cmp dword [esi + 0x3f0], 0
je 0x42c42c
cmp dword [esi + 0x3f4], 0
je 0x42c42c
mov eax, dword [esi + 0x410]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x134]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x3e8]
test eax, eax
jne 0x42c49c
mov eax, dword [esi + 0x494]
sub eax, dword [esi + 0x48c]
mov ecx, dword [esi + 0x490]
sub ecx, dword [esi + 0x488]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [esi + 0x3e8], eax
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esi + 0x48c]
mov edx, dword [esi + 0x488]
mov eax, dword [esi + 0x494]
push 0xcc0020
push ecx
push edx
push edi
sub eax, ecx
mov ecx, dword [esi + 0x490]
push eax
sub ecx, edx
mov edx, dword [esp + 0x24]
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x42c4a4
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
mov edx, dword [esi + 0x494]
mov ecx, dword [esp + 0x10]
sub edx, dword [esi + 0x48c]
mov eax, dword [esi + 0x490]
sub eax, dword [esi + 0x488]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esi + 0x48c]
push edx
mov edx, dword [esi + 0x488]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esi + 0x3fc], 0
jne 0x42c4fb
cmp dword [esi + 0x400], 0
je 0x42c630
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x18], eax
movzx eax, byte [esi + 0x40c]
push 0x64
mov ecx, 0x64
sub ecx, eax
push ecx
push 0xff
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov cl, al
movzx eax, cl
mov edx, 0xff
sub edx, eax
movzx eax, byte [ebp + 8]
imul edx, eax
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
add cl, al
movzx eax, cl
mov ecx, eax
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, eax
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x18]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push 0xff0062
push 0
push 0
push 0
push ecx
push edx
push 0
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x34]
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x410]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_FillRgn]
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esi + 0x408]
mov eax, dword [esi + 0x404]
mov ecx, dword [esi + 0x3f8]
push edx
push eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
push ecx
mov ecx, dword [esi + 0x400]
push edx
mov edx, dword [esi + 0x3fc]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.004192b0
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0x410]
mov eax, dword [esp + 0xc]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectClipRgn]
movzx ecx, byte [ebp + 8]
mov eax, dword [esp + 0x1c]
mov edx, 0x64
sub edx, ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esi + 0x48c]
push eax
mov eax, dword [esi + 0x488]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x28]
push ecx
call fcn.00417200
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [esi + 0x494]
mov eax, dword [esp + 0xc]
sub ecx, dword [esi + 0x48c]
mov edx, dword [esi + 0x490]
sub edx, dword [esi + 0x488]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esi + 0x48c]
push ecx
mov ecx, dword [esi + 0x488]
push edx
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
push edx
push eax
call ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x40]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
push edx
call ebx
mov eax, dword [esp + 0x44]
push eax
call ebx
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
push ecx
call ebx
mov edx, dword [esp + 0x14]
push edx
call ebx
mov eax, dword [esp + 0xc]
push eax
call ebx
cmp dword [esp + 0x2c], 0
je 0x42c723
mov esi, dword [esi + 0x20]
push edi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4