Function at 0x42ff40
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
push edi
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x2c]
push eax
push 0x18
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
push 0x28
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.00511e90
add esp, 0xc
mov dword [ebp - 0x54], 0x28
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x48], 1
movzx edx, word [ebp - 0x1c]
movzx eax, word [ebp - 0x1a]
imul edx, eax
mov word [ebp - 0x46], dx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
movzx ecx, word [ebp - 0x46]
cmp ecx, 1
jg 0x42ffe1
mov dword [ebp - 0x6c], 1
jmp 0x430011
movzx edx, word [ebp - 0x46]
cmp edx, 4
jg 0x42fff3
mov dword [ebp - 0x70], 4
jmp 0x43000b
movzx eax, word [ebp - 0x46]
xor ecx, ecx
cmp eax, 8
setg cl
sub ecx, 1
and ecx, 0xfffffff0
add ecx, 0x18
mov dword [ebp - 0x70], ecx
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x6c], edx
mov ax, word [ebp - 0x6c]
mov word [ebp - 0x46], ax
movzx ecx, word [ebp - 0x46]
cmp ecx, 0x18
jge 0x430035
movzx ecx, word [ebp - 0x46]
mov edx, 1
shl edx, cl
shl edx, 2
mov dword [ebp - 0x74], edx
jmp 0x43003c
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x430061
xor eax, eax
jmp 0x4302fc
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov ecx, 0xa
lea esi, [ebp - 0x54]
mov edi, dword [ebp - 4]
rep movsd dword es:[edi], dword [esi]
push 0
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x4300df
mov ecx, dword [0x6a291c]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x6a291c], 1
push 0xffffdc4b
call sym.convertifd.exe_IpMessage
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov dword [0x6a291c], ecx
xor eax, eax
jmp 0x4302fc
mov esi, dword [ebp - 4]
mov ecx, 0xa
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0x40
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x58]
lea edx, [ecx + eax + 1]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x14], edx
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x43018c
mov edx, dword [0x6a291c]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x6a291c], 1
push 0xffffdc4b
call sym.convertifd.exe_IpMessage
add esp, 4
mov edx, dword [ebp - 0x60]
mov dword [0x6a291c], edx
xor eax, eax
jmp 0x4302fc
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
push 0xffffff
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.00430310
add esp, 0x14
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4301f6
mov ecx, dword [0x6a291c]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [0x6a291c], 1
push 0xffffdc4b
call sym.convertifd.exe_IpMessage
add esp, 4
mov ecx, dword [ebp - 0x64]
mov dword [0x6a291c], ecx
xor eax, eax
jmp 0x4302fc
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov ecx, 0xa
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x14], edx
movzx eax, word [ebp - 0x46]
cmp eax, 1
jne 0x430260
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x10], eax
jmp 0x4302a9
mov edx, dword [sym.convertifd.exe_i_window]
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
mov edx, dword [ebp + 0x24]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [sym.convertifd.exe_i_window]
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.GDI32.dll_SetDIBits]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret