Function at 0x4f9aa4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff64
push ebx
push esi
push edi
mov dword [ebp - 0x78], eax
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov ebx, dword [eax + 0xac]
cmp byte [ebx + 0x1c], 0
je 0x4f9e70
cmp byte [ebx + 0x24], 0
je 0x4f9e70
xor edx, edx
push ebp
push 0x4f9e50
push dword fs:[edx]
mov dword fs:[edx], esp
cmp eax, dword [0x58a138]
jne 0x4f9b42
push 0xcc0020
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [0x58a134]
call fcn.004290e0
call fcn.00423e48
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov edi, dword [edx - 0x10]
sub eax, edi
push eax
xor eax, eax
mov al, byte [ebx + 0x30]
push eax
mov eax, dword [ebp + 8]
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4f9e46
mov dword [0x58a138], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
xor edx, edx
mov dl, byte [eax + 0x30]
mov eax, dword [0x58a134]
mov ecx, dword [eax]
call dword [ecx + 0x40]
lea edx, [ebp - 0x8c]
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
call fcn.004f81fc
mov edx, dword [ebp - 0x88]
mov eax, dword [0x58a134]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [0x58a134]
call fcn.004290e0
call fcn.00423e48
push eax
call sub.gdi32.dll_SetBkColor
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x4f9d38
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jle 0x4f9d38
push 1
mov eax, dword [0x58a134]
call fcn.004290e0
call fcn.00423e48
push eax
call sub.gdi32.dll_SetBkMode
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov ebx, dword [eax + 0xac]
mov eax, dword [ebx + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
xor eax, eax
mov al, byte [ebx + 0x30]
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x8c]
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
call fcn.004f81fc
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
pop edx
xchg edx, eax
mov ecx, edx
cdq
idiv ecx
test eax, eax
jl 0x4f9de1
inc eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x7c], 0
mov ebx, dword [ebp - 0x80]
test ebx, ebx
jl 0x4f9d24
inc ebx
xor edi, edi
push 0xcc0020
push 0
push 0
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
call fcn.004290e0
call fcn.00423e48
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x20]
imul dword [ebp - 0x7c]
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul edi
push eax
mov eax, dword [0x58a134]
call fcn.004290e0
call fcn.00423e48
push eax
call sub.gdi32.dll_BitBlt
inc edi
dec ebx
jne 0x4f9c81
inc dword [ebp - 0x7c]
dec dword [ebp - 0x84]
jne 0x4f9c73
jmp 0x4f9de1
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
mov ebx, dword [eax + 0x54]
cmp byte [ebx + 0x1c], 0
je 0x4f9d80
mov eax, dword [0x58a134]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [0x58a134]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
mov eax, dword [0x58a134]
call fcn.004290e0
call fcn.00423e48
mov edx, eax
mov eax, ebx
pop ecx
call fcn.004f7c8c
jmp 0x4f9de1
mov eax, dword [0x58a134]
call fcn.004290e0
mov eax, dword [eax + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0xd0]
mov edx, dword [edx + 0xac]
mov edx, dword [edx + 0x34]
call fcn.00422e78
mov eax, dword [0x58a134]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x58a134]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00413824
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [0x58a134]
call fcn.004290e0
pop edx
call fcn.00423694
push ebp
mov eax, dword [0x58a134]
call fcn.004f9914
pop ecx
push 0xcc0020
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x10]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [0x58a134]
call fcn.004290e0
call fcn.00423e48
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, dword [ebp + 8]
mov ebx, dword [edx - 0x10]
sub eax, ebx
push eax
mov eax, dword [esi]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0xac]
movzx eax, byte [eax + 0x30]
push eax
mov eax, dword [ebp + 8]
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
push eax
mov eax, dword [ebp - 0x78]
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f9e70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret