Function at 0x5110c4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
test eax, eax
je 0x5110e1
mov dword [ebp - 0x20], eax
jmp 0x5110f5
mov eax, dword [esi + 0x28]
test eax, eax
je case.0x511780.1
mov eax, dword [eax + 0x7bb8]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.005060d8
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.005060ec
mov edi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 0xc
ja case.0x511121.0
jmp dword [eax*4 + 0x511128]
push 3
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060ec
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060d8
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
push 3
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060d8
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
push 3
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060ec
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
push 3
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x511357
push 0xcc0020
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060d8
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
add ebx, edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, edi
cmp ebx, eax
jl 0x511314
push 0xcc0020
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060d8
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 3
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x511431
push 0xcc0020
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060ec
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jg 0x5113e3
push 0xcc0020
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.005060ec
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_StretchBlt
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jge 0x511526
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x511518
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x5114de
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x5114d3
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x511571
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
push edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x511531
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov dl, byte [ebp + 8]
sub dl, 1
jb 0x5115b5
dec dl
je 0x5115ce
dec dl
je 0x5115e5
sub dl, 3
je 0x5115f8
jmp 0x511623
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, edi
mov dword [ebp - 0x18], eax
jmp 0x511648
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
jmp 0x511648
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, edi
mov dword [ebp - 0x18], eax
jmp 0x511648
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, edi
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
jmp 0x511648
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, edi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jge 0x5116e6
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x511699
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x51165f
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x511654
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x511731
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
push edi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x5116f1
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004280e0
call fcn.00423730
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00423730
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x511780.1
jmp dword [eax*4 + 0x511787]
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
add edx, edi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, dword [ebp - 0x10]
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, edi
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x1c]
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp case.0x511780.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
sub ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x1c]
call fcn.00406700
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x30]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8