Function at 0x41123e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
and dword [ebp - 0x40], 0
push ebx
push edi
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
mov byte [ebp - 2], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x38]
sub edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x34]
sub ebx, dword [ebp - 0x3c]
test edi, edi
jle 0x411422
mov eax, 0x9c4
cmp edi, eax
jg 0x411422
test ebx, ebx
jle 0x411422
cmp ebx, eax
jg 0x411422
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
push esi
mov dword [ebp - 0x30], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebx
push edi
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
xor eax, eax
push eax
push eax
push esi
push ebx
push edi
push eax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, ebx
imul eax, edi
shl eax, 2
push eax
call fcn.00410adc
test eax, eax
pop ecx
mov dword [ebp - 0x24], eax
je 0x4113f4
push eax
push ebx
push edi
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.004111c5
add esp, 0x14
test eax, eax
je 0x4113f4
and dword [ebp - 0xc], 0
test ebx, ebx
jle 0x4113f4
and dword [ebp - 0x20], 0
and dword [ebp - 8], 0
test edi, edi
jle 0x4113cf
xor eax, eax
cmp dword [ebp + 0x14], eax
mov byte [ebp - 1], 1
mov dword [ebp - 0x10], eax
jle 0x4113e0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
xor esi, esi
cmp dword [ebp + 0x10], esi
jle 0x4113a9
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], ebx
jge 0x4113f4
mov eax, dword [ebp - 8]
lea ecx, [esi + eax]
cmp ecx, edi
jge 0x4113f4
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0xc]
add ecx, esi
add ecx, eax
mov eax, dword [ebp - 0x24]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x1c]
add eax, esi
lea edx, [edx + eax*2]
add eax, edx
mov dl, byte [eax + 2]
cmp dl, byte [ecx]
jne 0x4113a5
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4113a5
mov al, byte [eax]
cmp al, byte [ecx + 2]
jne 0x4113a5
inc esi
cmp esi, dword [ebp + 0x10]
jl 0x411356
jmp 0x4113a9
mov byte [ebp - 1], 0
mov eax, dword [ebp + 0x10]
inc dword [ebp - 0x10]
add dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x18], edi
cmp eax, dword [ebp + 0x14]
jl 0x411344
cmp byte [ebp - 1], 0
jne 0x4113e0
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x411329
inc dword [ebp - 0xc]
add dword [ebp - 0x20], edi
cmp dword [ebp - 0xc], ebx
jl 0x41131d
jmp 0x4113f4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0xc]
mov byte [ebp - 2], 1
mov dword [eax], ecx
push dword [ebp - 0x24]
call fcn.00410b23
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x30]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
movzx eax, byte [ebp - 2]
pop esi
jmp 0x411425
or eax, 0xffffffff
pop edi
pop ebx
leave
ret