Function at 0x4576c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push 0
push 0
push 0
push 0x873a84
call dword [sym.imp.GDI32.dll_CreateDCA]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x24], edx
lea eax, [ebp - 0x58]
push eax
push 0x18
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x40], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x54]
push edx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x10], 0
jmp 0x457776
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x54]
jge 0x457870
mov dword [ebp - 0xc], 0
jmp 0x457794
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x50]
jge 0x45786b
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xff00ff
je 0x457866
mov edx, dword [ebp - 4]
and edx, 0xff
movzx eax, dl
mov dword [ebp - 0x2c], eax
movzx ecx, word [ebp - 4]
sar ecx, 8
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, 0xff
movzx ecx, al
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x18]
jle 0x457805
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
jmp 0x45780b
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x28]
jle 0x45781b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
jmp 0x457837
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 0x18]
jle 0x45782b
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
jmp 0x457831
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 4], edx
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 4]
shl ecx, 8
or eax, ecx
movzx edx, byte [ebp - 4]
shl edx, 0x10
or eax, edx
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x45778b
jmp 0x45776d
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret