Function at 0x4bcf28
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 0x1d], 0
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp byte [ebx + 0x57], 0
jne 0x4bcf61
test byte [ebx + 0x1c], 0x10
je 0x4bd457
mov eax, ebx
call fcn.00448828
test eax, eax
jle 0x4bd457
xor eax, eax
push ebp
push 0x4bd450
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
je 0x4bcfa6
lea eax, [ebp - 0x34]
call fcn.004f4cd4
test eax, eax
je 0x4bcfa6
lea eax, [ebp - 0x34]
call fcn.004f4cdc
test eax, eax
jne 0x4bcfc3
mov eax, ebx
call fcn.0044bba0
xor ecx, ecx
mov edx, 0x16
call fcn.004bd464
call fcn.00403e90
jmp 0x4bd457
mov eax, dword [0x50b01c]
mov byte [eax + 0xc], 0
push 0
mov dx, 5
xor eax, eax
call fcn.00407508
push eax
mov eax, dword [0x50afd4]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.0044bba0
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x50b01c]
cmp byte [eax + 0xc], 0
jne 0x4bd004
call fcn.00403e90
jmp 0x4bd457
xor esi, esi
mov eax, ebx
call fcn.00448828
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 0x10]
jge 0x4bd347
push ebp
mov edx, esi
mov eax, ebx
call fcn.004487ec
call fcn.004bce9c
pop ecx
test al, al
je 0x4bd33d
mov eax, ebx
mov edx, dword [0x45ae10]
call fcn.004037e4
test al, al
je 0x4bd0d9
cmp byte [ebx + 0x22f], 2
jne 0x4bd0d9
mov edx, esi
mov eax, ebx
call fcn.004487ec
cmp byte [eax + 0x5b], 0
je 0x4bd0d9
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov edx, dword [0x4414cc]
call fcn.004037e4
test al, al
je 0x4bd0d9
mov edx, esi
mov eax, ebx
call fcn.004487ec
push eax
mov dx, 0xf
xor eax, eax
call fcn.00407508
push eax
mov eax, dword [0x50afd4]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.0044bba0
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov edx, dword [eax]
call dword [edx + 0x80]
push 0
mov dx, 0xf
xor eax, eax
call fcn.00407508
push eax
mov eax, dword [0x50afd4]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.0044bba0
push eax
call sub.user32.dll_SendMessageA
cmp byte [ebp - 0x1d], 0
jne 0x4bd216
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x18], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x1d], 1
mov eax, dword [ebp - 0x10]
dec eax
test eax, eax
jl 0x4bd216
inc eax
mov dword [ebp - 0x24], eax
xor edi, edi
push ebp
mov edx, edi
mov eax, ebx
call fcn.004487ec
call fcn.004bce9c
pop ecx
test al, al
je 0x4bd20c
mov edx, edi
mov eax, ebx
call fcn.004487ec
test byte [eax + 0x50], 0x40
jne 0x4bd1e2
push 0xcc0020
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x44]
mov edx, dword [0x50b01c]
add eax, dword [edx + 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x40]
mov edx, dword [0x50b01c]
add eax, dword [edx + 4]
push eax
mov eax, dword [0x50b01c]
mov eax, dword [eax]
call fcn.00428968
call fcn.004244d8
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x4c]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x48]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x44]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4bd20c
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x70]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
lea edx, [ebp - 0x44]
call fcn.00444cb0
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.004f7a6c
inc edi
dec dword [ebp - 0x24]
jne 0x4bd135
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SaveDC
mov edi, eax
mov edx, esi
mov eax, ebx
call fcn.004487ec
lea edx, [ebp - 0x44]
call fcn.00444cb0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
jne 0x4bd258
mov edx, esi
mov eax, ebx
call fcn.004487ec
xor ecx, ecx
mov edx, 0x16
call fcn.004bd48c
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x44]
push eax
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.00443c4c
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x4c]
push eax
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_IntersectClipRect
test byte [ebx + 0x54], 0x80
je 0x4bd2ca
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov ax, word [eax + 0x54]
or ax, word [0x4bd460]
push eax
mov edx, esi
mov eax, ebx
call fcn.004487ec
pop edx
mov word [eax + 0x54], dx
push 0
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov ecx, dword [ebp - 0x14]
mov edx, 0xf
call fcn.004464c4
test byte [ebx + 0x54], 0x80
je 0x4bd30d
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov dx, word [0x4bd460]
not edx
and dx, word [eax + 0x54]
push edx
mov edx, esi
mov eax, ebx
call fcn.004487ec
pop edx
mov word [eax + 0x54], dx
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x44]
neg eax
push eax
mov edx, esi
mov eax, ebx
call fcn.004487ec
mov edx, dword [eax + 0x40]
neg edx
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.00443c4c
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_RestoreDC
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x4bd019
cmp byte [ebp - 0x1d], 0
je 0x4bd414
xor edi, edi
cmp edi, dword [ebp - 0x10]
jge 0x4bd414
push ebp
mov edx, edi
mov eax, ebx
call fcn.004487ec
call fcn.004bce9c
pop ecx
test al, al
je 0x4bd40a
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_GetPixel
cmp eax, 0xff00ff
je 0x4bd40a
push 0xcc0020
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x44]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x4c]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x48]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.004487ec
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_BitBlt
inc edi
cmp edi, dword [ebp - 0x10]
jl 0x4bd35c
mov eax, dword [0x50b01c]
mov byte [eax + 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd457
cmp byte [ebp - 0x1d], 0
je 0x4bd44f
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8