Function at 0x4bad60
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
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 - 0x25], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
cmp byte [ebx + 0x57], 0
jne 0x4bad99
test byte [ebx + 0x1c], 0x10
je 0x4bb246
mov eax, ebx
call fcn.00443454
test eax, eax
jle 0x4bb246
xor eax, eax
push ebp
push 0x4bb23f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_GetClipBox
dec eax
je 0x4badde
lea eax, [ebp - 0x3c]
call fcn.004c2904
test eax, eax
je 0x4badde
lea eax, [ebp - 0x3c]
call fcn.004c290c
test eax, eax
jne 0x4badfb
mov eax, ebx
call fcn.00446724
xor ecx, ecx
mov edx, 0x16
call fcn.004bb250
call fcn.00404168
jmp 0x4bb246
mov eax, dword [0x4f3f38]
mov byte [eax + 0xc], 0
push 0
mov dx, 5
xor eax, eax
call fcn.00407b68
push eax
mov eax, dword [0x4f3f00]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00446724
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [0x4f3f38]
cmp byte [eax + 0xc], 0
jne 0x4bae3c
call fcn.00404168
jmp 0x4bb246
xor esi, esi
mov eax, ebx
call fcn.00443454
mov dword [ebp - 0x14], eax
cmp esi, dword [ebp - 0x14]
jge 0x4bb136
push ebp
mov edx, esi
mov eax, ebx
call fcn.00443418
call fcn.004bacd4
pop ecx
test al, al
je 0x4bb12c
mov eax, ebx
mov edx, dword [0x455a58]
call fcn.004039f0
test al, al
je 0x4baf11
cmp byte [ebx + 0x22f], 2
jne 0x4baf11
mov edx, esi
mov eax, ebx
call fcn.00443418
cmp byte [eax + 0x5b], 0
je 0x4baf11
mov edx, esi
mov eax, ebx
call fcn.00443418
mov edx, dword [0x43c258]
call fcn.004039f0
test al, al
je 0x4baf11
mov edx, esi
mov eax, ebx
call fcn.00443418
push eax
mov dx, 0xf
xor eax, eax
call fcn.00407b68
push eax
mov eax, dword [0x4f3f00]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00446724
push eax
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, ebx
call fcn.00443418
mov edx, dword [eax]
call dword [edx + 0x80]
push 0
mov dx, 0xf
xor eax, eax
call fcn.00407b68
push eax
mov eax, dword [0x4f3f00]
mov eax, dword [eax]
push eax
mov eax, ebx
call fcn.00446724
push eax
call sub.user32.dll_SendMessageA
cmp byte [ebp - 0x25], 0
jne 0x4bb055
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x4c]
push eax
mov eax, dword [ebx + 0x48]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x25], 1
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x4bb055
inc eax
mov dword [ebp - 0x2c], eax
xor edi, edi
push ebp
mov edx, edi
mov eax, ebx
call fcn.00443418
call fcn.004bacd4
pop ecx
test al, al
je 0x4bb04b
mov edx, edi
mov eax, ebx
call fcn.00443418
test byte [eax + 0x50], 0x40
jne 0x4bb021
push 0xcc0020
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x44]
mov edx, dword [0x4f3f38]
add eax, dword [edx + 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x40]
mov edx, dword [0x4f3f38]
add eax, dword [edx + 4]
push eax
mov eax, dword [0x4f3f38]
mov eax, dword [eax]
call fcn.0042ca90
call fcn.004285c4
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x4c]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x48]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x44]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4bb04b
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x70]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
lea edx, [ebp - 0x4c]
call fcn.0043f8bc
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.004b67ec
inc edi
dec dword [ebp - 0x2c]
jne 0x4baf74
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0x10], eax
mov edx, esi
mov eax, ebx
call fcn.00443418
lea edx, [ebp - 0x4c]
call fcn.0043f8bc
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
jne 0x4bb098
mov edx, esi
mov eax, ebx
call fcn.00443418
xor ecx, ecx
mov edx, 0x16
call fcn.004bb278
mov edx, esi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x44]
push eax
mov edx, esi
mov eax, ebx
call fcn.00443418
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.0043e858
mov edx, esi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x4c]
push eax
mov edx, esi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x48]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_IntersectClipRect
push 0
mov edx, esi
mov eax, ebx
call fcn.00443418
mov ecx, dword [ebp - 0x1c]
mov edx, 0xf
call fcn.004410dc
mov edx, esi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x44]
neg eax
push eax
mov edx, esi
mov eax, ebx
call fcn.00443418
mov edx, dword [eax + 0x40]
neg edx
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.0043e858
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_RestoreDC
inc esi
cmp esi, dword [ebp - 0x14]
jl 0x4bae51
cmp byte [ebp - 0x25], 0
je 0x4bb203
xor edi, edi
cmp edi, dword [ebp - 0x14]
jge 0x4bb203
push ebp
mov edx, edi
mov eax, ebx
call fcn.00443418
call fcn.004bacd4
pop ecx
test al, al
je 0x4bb1f9
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_GetPixel
cmp eax, 0xff00ff
je 0x4bb1f9
push 0xcc0020
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x44]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x4c]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x48]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.00443418
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 - 0x14]
jl 0x4bb14b
mov eax, dword [0x4f3f38]
mov byte [eax + 0xc], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb246
cmp byte [ebp - 0x25], 0
je 0x4bb23e
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x1c]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x20]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8