Function at 0x50eca8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
test ebx, ebx
je 0x50eccf
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x50f48c
mov eax, dword [esi]
test eax, eax
je 0x50ecda
mov dword [ebp - 0x20], eax
jmp 0x50ecee
mov eax, dword [esi + 0x28]
test eax, eax
je case.0x50f379.1
mov eax, dword [eax + 0x7a80]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.0055b988
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.0055b99c
mov edi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 0xc
ja case.0x50ed1a.0
jmp dword [eax*4 + 0x50ed21]
push 3
mov eax, dword [ebp - 4]
call fcn.0042a2ac
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.0042ea4c
call fcn.0042a2ac
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b99c
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b988
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.0042a2ac
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.00406bec
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.0x50f379.1
push 3
mov eax, dword [ebp - 4]
call fcn.0042a2ac
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.0042ea4c
call fcn.0042a2ac
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b988
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.0042a2ac
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.00406bec
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.0x50f379.1
push 3
mov eax, dword [ebp - 4]
call fcn.0042a2ac
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.0042ea4c
call fcn.0042a2ac
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b99c
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.0042a2ac
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.00406bec
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.0x50f379.1
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
push 3
mov eax, dword [ebp - 4]
call fcn.0042a2ac
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x50ef50
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.0042ea4c
call fcn.0042a2ac
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b988
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.0042a2ac
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 0x50ef0d
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.0042ea4c
call fcn.0042a2ac
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b988
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.0042a2ac
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.00406bec
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.0x50f379.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 3
mov eax, dword [ebp - 4]
call fcn.0042a2ac
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x50f02a
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.0042ea4c
call fcn.0042a2ac
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b99c
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.0042a2ac
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 0x50efdc
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.0042ea4c
call fcn.0042a2ac
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0055b99c
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.0042a2ac
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.00406bec
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.0x50f379.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 0x50f11f
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x50f111
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042ea4c
call fcn.0042a2ac
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.0042a2ac
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x50f0d7
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x50f0cc
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x50f16a
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042ea4c
call fcn.0042a2ac
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.0042a2ac
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x50f12a
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406bec
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.0x50f379.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov dl, byte [ebp + 8]
sub dl, 1
jb 0x50f1ae
dec dl
je 0x50f1c7
dec dl
je 0x50f1de
sub dl, 3
je 0x50f1f1
jmp 0x50f21c
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 0x50f241
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 0x50f241
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 0x50f241
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 0x50f241
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 0x50f2df
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x50f292
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042ea4c
call fcn.0042a2ac
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.0042a2ac
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x50f258
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042ea4c
call fcn.0042a2ac
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.0042a2ac
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 0x50f24d
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x50f32a
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042ea4c
call fcn.0042a2ac
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.0042a2ac
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x50f2ea
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042ea4c
call fcn.0042a2ac
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.0042a2ac
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x50f379.1
jmp dword [eax*4 + 0x50f380]
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406bec
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.0x50f379.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.00406bec
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.0x50f379.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.00406bec
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.0x50f379.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.00406bec
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.0x50f379.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.00406bec
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.0x50f379.1
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0050ea64
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406bec
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