Function at 0x411069
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push edi
push 0xa
xor eax, eax
xor ebx, ebx
pop ecx
mov dword [ebp - 0x50], ebx
lea edi, [ebp - 0x4c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x50
stosd dword es:[edi], eax
call esi
xor edi, edi
inc edi
cmp eax, edi
jle 0x4110cc
push 2
push 0x10
call fcn.0043e627
push 2
push 0x11
mov dword [ebp - 8], eax
call fcn.0043e627
push edi
push 0x11
mov esi, eax
call fcn.0043e627
cmp eax, esi
jle 0x4110c8
push edi
push 0x11
call fcn.0043e627
jmp 0x4110d5
push 2
jmp 0x4110bf
push ebx
call esi
push edi
mov dword [ebp - 8], eax
call esi
mov edi, eax
cmp dword [ebp + 8], ebx
je 0x4113ad
push dword [ebp + 8]
call fcn.00446205
mov esi, dword [ebp - 8]
pop ecx
mov ecx, edi
imul ecx, esi
shl ecx, 2
cmp eax, ecx
jb 0x4113ad
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x4113ad
cmp dword [ebp + 0xc], ebx
je 0x4111cc
lea eax, [ebp - 0x24]
cmp dword [ebp + 0x10], ebx
je 0x411138
push 0x10
push dword [ebp + 0x10]
push eax
call fcn.00445ea0
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call fcn.0043df74
jmp 0x411143
push edi
push esi
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_SetRect]
push dword [ebp + 8]
call fcn.00446205
shr eax, 2
sub eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
pop ecx
mov dword [ebp + 0xc], eax
jge 0x4111ba
imul eax, esi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [ebp - 0x1c]
mov dword [ebp + 0x10], ecx
jge 0x4111a6
lea edi, [eax + ecx]
cmp edi, ebx
jge 0x41117c
xor esi, esi
jmp 0x411185
mov esi, dword [ebp - 0xc]
cmp edi, esi
jg 0x411185
mov esi, edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_GetPixel]
inc dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + esi*4], eax
mov eax, dword [ebp + 0x10]
inc edi
cmp eax, dword [ebp - 0x1c]
jl 0x411174
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
jl 0x411166
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
xor eax, eax
inc eax
jmp 0x4113af
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push edi
push esi
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0x4113ad
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp - 0xc]
call esi
push 0xcc0020
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp + 0x10], eax
push edi
push dword [ebp - 8]
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 0x10]
push dword [ebp - 0xc]
call esi
push 0x2c
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.004464f0
mov esi, dword [sym.imp.GDI32.dll_GetDIBits]
add esp, 0xc
push ebx
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x50], 0x28
push dword [ebp - 4]
mov dword [ebp - 0x40], ebx
call esi
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
ja 0x411277
push dword [ebp - 0x48]
call fcn.004468d5
pop ecx
mov ecx, eax
movzx eax, word [ebp - 0x42]
add eax, 7
imul eax, ecx
imul eax, dword [ebp - 0x4c]
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x3c], eax
add eax, 0x410
mov ecx, 0x1000
cmp eax, ecx
ja 0x411287
mov eax, ecx
push 1
push eax
call fcn.004462a8
mov edi, eax
pop ecx
pop ecx
cmp edi, ebx
je 0x4113ad
push ebx
lea eax, [ebp - 0x50]
push eax
push edi
push dword [ebp - 0x48]
mov dword [ebp - 0x40], ebx
push ebx
push dword [ebp - 0x14]
push dword [ebp - 4]
call esi
mov eax, dword [ebp - 0x48]
dec eax
cmp eax, ebx
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], eax
jl 0x411385
mov eax, dword [ebp - 0x4c]
cmp eax, ebx
mov dword [ebp + 0x10], ebx
jle 0x41137c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
lea esi, [ecx + edx*4]
imul eax, dword [ebp + 0xc]
movzx ecx, word [ebp - 0x42]
add eax, dword [ebp + 0x10]
shr ecx, 3
imul eax, ecx
cmp word [ebp - 0x42], 0x10
jne 0x411332
add eax, edi
cmp eax, ebx
je 0x411306
push 2
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00445ea0
add esp, 0xc
mov dl, byte [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
shl dl, 3
movzx edx, dl
shr ecx, 2
shl edx, 8
mov eax, 0xf8
and ecx, eax
or ecx, edx
mov edx, dword [ebp - 0x10]
shr edx, 7
shl ecx, 8
and edx, eax
or ecx, edx
mov dword [esi], ecx
jmp 0x411367
cmp esi, ebx
je 0x411350
add eax, edi
cmp eax, ebx
je 0x411350
test dword [ebp - 0x42], 0xfff8
jbe 0x411350
push ecx
push eax
push esi
call fcn.00445ea0
add esp, 0xc
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esi + 2]
shl eax, 8
or eax, ecx
mov dword [esi], eax
inc dword [ebp - 8]
mov eax, dword [ebp - 0x4c]
add esi, 4
inc dword [ebp + 0x10]
cmp dword [ebp + 0x10], eax
jl 0x4112d9
dec dword [ebp + 0xc]
jns 0x4112c2
push dword [ebp - 4]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [ebp - 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call fcn.00445e06
pop ecx
jmp 0x4111c4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc