Function at 0x42f760
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x6a141c], 0
jne 0x42f7ee
mov eax, dword [ebp + 0x14]
imul eax, dword [ebp + 0x18]
cmp eax, 4
jg 0x42f7ee
mov dword [ebp - 4], 0
jmp 0x42f78d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp + 0x18]
jge 0x42f7e4
mov dword [ebp - 8], 0
jmp 0x42f7a7
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 0x14]
jge 0x42f7e2
mov edx, dword [ebp + 0x24]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0x20]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
push eax
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
jmp 0x42f79e
jmp 0x42f784
mov eax, 1
jmp 0x42f943
cmp dword [0x6a141c], 0
je 0x42f914
cmp dword [ebp + 0x2c], 1
jle 0x42f846
mov edx, dword [sym.convertifd.exe_i_window]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [sym.convertifd.exe_i_window]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x42f866
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x2c], 8
jg 0x42f89b
mov edx, dword [ebp + 0x30]
push edx
mov eax, dword [ebp - 0x14]
push eax
call sym.convertifd.exe_SetPaletteFromMetaFile
add esp, 8
test eax, eax
jne 0x42f89b
mov eax, 1
jmp 0x42f943
push 3
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x28]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x42f93e
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, 1
mov esp, ebp
pop ebp
ret