Function at 0x4cb074
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, edx
mov dword [ebp - 4], eax
cmp byte [0x56b00c], 0
jne 0x4cb573
mov byte [0x56b00c], 1
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 0x4cb0c7
test byte [ebx + 0x1c], 0x10
jne 0x4cb0c7
cmp byte [ebp + 8], 0
jne 0x4cb56c
mov eax, ebx
call fcn.0044c5c8
test eax, eax
jle 0x4cb56c
xor eax, eax
push ebp
push 0x4cb565
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 0x4cb110
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.004fc810
test eax, eax
je 0x4cb110
lea eax, [ebp - 0x34]
xor edx, edx
call fcn.004fc824
test eax, eax
jne 0x4cb134
mov eax, ebx
call fcn.0044f898
xor ecx, ecx
mov edx, 0x16
call fcn.004cb580
mov byte [0x56b00c], 0
call fcn.004043dc
jmp 0x4cb573
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 0
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, ebx
call fcn.004fda9c
xor esi, esi
mov eax, ebx
call fcn.0044c5c8
mov dword [ebp - 0x10], eax
cmp esi, dword [ebp - 0x10]
jge 0x4cb465
push ebp
mov edx, esi
mov eax, ebx
call fcn.0044c58c
call fcn.004caff0
pop ecx
test al, al
je 0x4cb45b
mov eax, ebx
mov edx, dword [0x45ec64]
call fcn.00403d30
test al, al
je 0x4cb1db
cmp byte [ebx + 0x22f], 2
jne 0x4cb1db
mov edx, esi
mov eax, ebx
call fcn.0044c58c
cmp byte [eax + 0x5b], 0
je 0x4cb1db
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov edx, dword [0x445408]
call fcn.00403d30
test al, al
je 0x4cb1db
push 0
mov dx, 0x12
xor eax, eax
call fcn.00407cdc
push eax
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov edx, dword [0x56ff38]
mov edx, dword [edx]
pop ecx
call fcn.0044a264
cmp byte [ebp - 0x1d], 0
jne 0x4cb334
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 0x4cb334
inc eax
mov dword [ebp - 0x24], eax
xor edi, edi
push ebp
mov edx, edi
mov eax, ebx
call fcn.0044c58c
call fcn.004caff0
pop ecx
test al, al
je 0x4cb32a
mov edx, edi
mov eax, ebx
call fcn.0044c58c
test byte [eax + 0x50], 0x40
jne 0x4cb2fe
cmp byte [ebp - 0x3c], 1
jne 0x4cb28c
mov edx, edi
mov eax, ebx
call fcn.0044c58c
lea edx, [ebp - 0x6c]
call fcn.00448a50
lea edx, [ebp - 0x6c]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x14]
call fcn.00500f2c
jmp 0x4cb32a
push 0xcc0020
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 0x50]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x40]
add eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x5c]
call fcn.0042ba54
call fcn.004273e0
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x4c]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x48]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x44]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x4cb32a
mov edx, edi
mov eax, ebx
call fcn.0044c58c
call fcn.004caf68
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
lea edx, [ebp - 0x6c]
call fcn.00448a50
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.00500f2c
inc edi
dec dword [ebp - 0x24]
jne 0x4cb237
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_SaveDC
mov edi, eax
mov edx, esi
mov eax, ebx
call fcn.0044c58c
lea edx, [ebp - 0x6c]
call fcn.00448a50
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_RectVisible
test eax, eax
jne 0x4cb376
mov edx, esi
mov eax, ebx
call fcn.0044c58c
xor ecx, ecx
mov edx, 0x16
call fcn.004cb5a8
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x44]
push eax
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov edx, dword [eax + 0x40]
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.004479ec
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x4c]
push eax
mov edx, esi
mov eax, ebx
call fcn.0044c58c
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 0x4cb3e8
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov ax, word [eax + 0x54]
or ax, word [0x4cb57c]
push eax
mov edx, esi
mov eax, ebx
call fcn.0044c58c
pop edx
mov word [eax + 0x54], dx
push 0
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov ecx, dword [ebp - 0x14]
mov edx, 0xf
call fcn.0044a264
test byte [ebx + 0x54], 0x80
je 0x4cb42b
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov dx, word [0x4cb57c]
not edx
and dx, word [eax + 0x54]
push edx
mov edx, esi
mov eax, ebx
call fcn.0044c58c
pop edx
mov word [eax + 0x54], dx
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x44]
neg eax
push eax
mov edx, esi
mov eax, ebx
call fcn.0044c58c
mov edx, dword [eax + 0x40]
neg edx
mov eax, dword [ebp - 0x14]
pop ecx
call fcn.004479ec
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_RestoreDC
inc esi
cmp esi, dword [ebp - 0x10]
jl 0x4cb15d
cmp byte [ebp - 0x1d], 0
je 0x4cb532
xor edi, edi
cmp edi, dword [ebp - 0x10]
jge 0x4cb532
push ebp
mov edx, edi
mov eax, ebx
call fcn.0044c58c
call fcn.004caff0
pop ecx
test al, al
je 0x4cb528
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
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 0x4cb528
push 0xcc0020
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x44]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x40]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x4c]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x48]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
mov eax, dword [eax + 0x44]
add eax, dword [ebp - 8]
push eax
mov edx, edi
mov eax, ebx
call fcn.0044c58c
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 0x4cb47a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cb56c
cmp byte [ebp - 0x1d], 0
je 0x4cb564
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
mov byte [0x56b00c], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc