Function at 0x456cd0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0xa8
push ebx
push ebp
push esi
mov esi, dword [esp + 0xb8]
mov ebx, ecx
push edi
test esi, esi
mov dword [esp + 0x18], ebx
je 0x457079
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
lea ecx, [esp + 0x3c]
mov ebp, eax
push ecx
push esi
mov ecx, ebx
call fcn.004570e0
mov edi, eax
test edi, edi
je 0x456d70
push 0
call dword [sym.imp.user32.dll_GetDC]
mov ebp, dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov esi, eax
push 0x58
push esi
call ebp
push 0x5a
push esi
mov ebx, eax
call ebp
push esi
push 0
mov ebp, eax
call dword [sym.imp.user32.dll_ReleaseDC]
movsx edx, word [esp + 0x42]
movsx eax, word [esp + 0x46]
sub eax, edx
mov ecx, dword [esp + 0x4a]
imul eax, ebx
cdq
and ecx, 0xffff
mov ebx, dword [esp + 0x18]
idiv ecx
movsx edx, word [esp + 0x44]
mov esi, eax
movsx eax, word [esp + 0x48]
sub eax, edx
mov dword [esp + 0x14], esi
imul eax, ebp
cdq
idiv ecx
mov dword [esp + 0x10], eax
jmp 0x456db6
mov eax, dword [esi]
push 0
push ebp
mov ecx, esi
call dword [eax + 0x10]
lea ecx, [esp + 0x54]
push ecx
push esi
mov ecx, ebx
call fcn.00457270
mov edi, eax
test edi, edi
jne 0x456d9a
lea edx, [ebx + 0x44]
mov edi, 0x500010
jmp 0x45705c
mov esi, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
sub esi, edx
sub eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x456dd4
push edi
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
lea edx, [ebx + 0x44]
mov edi, 0x4ffd44
jmp 0x45705c
test esi, esi
je 0x45704d
test eax, eax
je 0x45704d
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x456df3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x456e02
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, ebx
call fcn.00457340
push 0
call dword [sym.imp.user32.dll_GetDC]
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x10]
push eax
push ecx
push ebx
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov ebp, eax
push ebx
mov dword [esp + 0x20], ebp
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push ebx
xor ebx, ebx
push ebx
mov esi, eax
call dword [sym.imp.user32.dll_ReleaseDC]
cmp esi, ebx
je 0x45702c
cmp ebp, ebx
je 0x45700f
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0xc
push esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push ebp
push esi
mov dword [esp + 0x30], eax
call dword [sym.imp.gdi32.dll_SelectObject]
push 5
mov dword [esp + 0x28], eax
call dword [sym.imp.user32.dll_GetSysColor]
mov ebx, dword [sym.imp.gdi32.dll_SetBkColor]
push eax
push esi
call ebx
push 0
push 0
lea ecx, [esp + 0x34]
push 0
push ecx
push 2
push 0
push 0
push esi
mov dword [esp + 0x40], eax
call dword [sym.imp.gdi32.dll_ExtTextOutA]
mov edx, dword [esp + 0x20]
push edx
push esi
call ebx
push 0
push 0
push edi
call dword [sym.imp.gdi32.dll_GetEnhMetaFilePaletteEntries]
mov ebx, eax
test ebx, ebx
je 0x456f4a
lea eax, [ebx*4 + 4]
push eax
push 0x40
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x456f0f
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.gdi32.dll_DeleteObject]
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
push edi
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
mov edx, dword [esp + 0x18]
mov edi, 0x4ffd44
add edx, 0x44
jmp 0x45705c
lea ecx, [ebp + 4]
mov word [ebp], 0x300
push ecx
push ebx
push edi
mov word [ebp + 2], bx
call dword [sym.imp.gdi32.dll_GetEnhMetaFilePaletteEntries]
push ebp
call dword [sym.imp.gdi32.dll_CreatePalette]
push ebp
mov ebx, eax
call dword [sym.imp.kernel32.dll_GlobalFree]
push 0
push ebx
push esi
call dword [sym.imp.gdi32.dll_SelectPalette]
push esi
call dword [sym.imp.gdi32.dll_RealizePalette]
mov ebp, dword [esp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push edi
push esi
call dword [sym.imp.gdi32.dll_PlayEnhMetaFile]
mov eax, dword [esp + 0x24]
push eax
push esi
call dword [sym.imp.gdi32.dll_SelectObject]
push edi
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
mov edi, dword [esp + 0x18]
mov eax, dword [edi + 0x148]
test eax, eax
je 0x456f93
push ebp
call dword [sym.imp.gdi32.dll_DeleteObject]
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
lea edx, [edi + 0x44]
mov edi, 0x4ffd44
jmp 0x45705c
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push 0xa
push ecx
push edx
push eax
mov ecx, edi
call sym.ConversionShow.exe_public:_void____thiscall_CxImage::Create_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_
test eax, eax
jne 0x456fcc
push ebp
call dword [sym.imp.gdi32.dll_DeleteObject]
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xa8
ret 0xc
mov ecx, dword [edi + 4]
push 0
push ecx
push 0
mov ecx, edi
call sym.ConversionShow.exe_public:_unsigned_char____thiscall_CxImage::GetBits_unsigned_long_int_
mov edx, dword [esp + 0x18]
push eax
push edx
push 0
push ebp
push esi
call dword [sym.imp.gdi32.dll_GetDIBits]
push ebp
mov edi, eax
call dword [sym.imp.gdi32.dll_DeleteObject]
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
xor eax, eax
test edi, edi
pop edi
pop esi
pop ebp
pop ebx
setne al
add esp, 0xa8
ret 0xc
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
push edi
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xa8
ret 0xc
cmp ebp, ebx
je 0x457037
push ebp
call dword [sym.imp.gdi32.dll_DeleteObject]
push edi
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xa8
ret 0xc
push edi
call dword [sym.imp.gdi32.dll_DeleteEnhMetaFile]
lea edx, [ebx + 0x44]
mov edi, 0x500004
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0xa8
ret 0xc