Function at 0x465e30
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 0x465e4a
mov byte [ebp + 8], 0x64
xor eax, eax
cmp edi, eax
mov dword [esp + 0x2c], eax
jne 0x465e6c
cmp esi, eax
je 0x465e5b
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 + 0x3a0]
push eax
push ecx
call ebx
mov ecx, dword [esi + 0x44c]
sub ecx, dword [esi + 0x444]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x450]
sub eax, dword [esi + 0x448]
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 + 0x44c]
sub ecx, dword [esi + 0x444]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x450]
sub eax, dword [esi + 0x448]
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 + 0x448]
mov edx, dword [esi + 0x444]
push 0xcc0020
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x44c]
sub eax, dword [esi + 0x3b8]
push 0
mov dword [esp + 0x54], ecx
mov ecx, dword [esi + 0x450]
sub ecx, dword [esi + 0x3bc]
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 + 0x424]
lea ecx, [esi + 0x54]
call fcn.0045d380
cmp dword [esi + 0x3a8], 0
je 0x465f9c
cmp dword [esi + 0x3ac], 0
je 0x465f9c
cmp dword [esi + 0x3b0], 0
je 0x465f9c
mov eax, dword [esi + 0x3cc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x13c]
push eax
push ecx
mov ecx, esi
call edx
mov eax, dword [esi + 0x3a4]
test eax, eax
jne 0x46600c
mov eax, dword [esi + 0x450]
sub eax, dword [esi + 0x448]
mov ecx, dword [esi + 0x44c]
sub ecx, dword [esi + 0x444]
push eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [esi + 0x3a4], eax
mov eax, dword [esp + 0x14]
push eax
call ebx
mov ecx, dword [esi + 0x448]
mov edx, dword [esi + 0x444]
mov eax, dword [esi + 0x450]
push 0xcc0020
push ecx
push edx
push edi
sub eax, ecx
mov ecx, dword [esi + 0x44c]
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 0x466014
push eax
mov eax, dword [esp + 0x14]
push eax
call ebx
mov edx, dword [esi + 0x450]
mov ecx, dword [esp + 0x10]
sub edx, dword [esi + 0x448]
mov eax, dword [esi + 0x44c]
sub eax, dword [esi + 0x444]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esi + 0x448]
push edx
mov edx, dword [esi + 0x444]
push eax
mov eax, dword [esp + 0x24]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
cmp dword [esi + 0x3b8], 0
jne 0x46606b
cmp dword [esi + 0x3bc], 0
je 0x4661a0
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 + 0x3c8]
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 + 0x3cc]
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 + 0x3c4]
mov eax, dword [esi + 0x3c0]
mov ecx, dword [esi + 0x3b4]
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 + 0x3bc]
push edx
mov edx, dword [esi + 0x3b8]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.0045eb10
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 + 0x3cc]
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 + 0x448]
push eax
mov eax, dword [esi + 0x444]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
mov eax, dword [esp + 0x28]
push ecx
call fcn.0045e7d0
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov ecx, dword [esi + 0x450]
mov eax, dword [esp + 0xc]
sub ecx, dword [esi + 0x448]
mov edx, dword [esi + 0x44c]
sub edx, dword [esi + 0x444]
push 0xcc0020
push 0
push 0
push eax
mov eax, dword [esi + 0x448]
push ecx
mov ecx, dword [esi + 0x444]
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 0x466293
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