Function at 0x526810
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 0x52682d
mov dword [ebp - 0x20], eax
jmp 0x526841
mov eax, dword [esi + 0x28]
test eax, eax
je case.0x526ecc.1
mov eax, dword [eax + 0x7898]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.0051bfa4
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.0051bfb8
mov edi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 0xc
ja case.0x52686d.0
jmp dword [eax*4 + 0x526874]
push 3
mov eax, dword [ebp - 4]
call fcn.00427080
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.0042bbfc
call fcn.00427080
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfb8
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfa4
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.00427080
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.004067a4
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.0x526ecc.1
push 3
mov eax, dword [ebp - 4]
call fcn.00427080
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.0042bbfc
call fcn.00427080
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfa4
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.00427080
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.004067a4
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.0x526ecc.1
push 3
mov eax, dword [ebp - 4]
call fcn.00427080
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.0042bbfc
call fcn.00427080
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfb8
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.00427080
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.004067a4
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.0x526ecc.1
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
push 3
mov eax, dword [ebp - 4]
call fcn.00427080
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x526aa3
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.0042bbfc
call fcn.00427080
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfa4
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.00427080
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 0x526a60
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.0042bbfc
call fcn.00427080
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfa4
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.00427080
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.004067a4
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.0x526ecc.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 3
mov eax, dword [ebp - 4]
call fcn.00427080
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x526b7d
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.0042bbfc
call fcn.00427080
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfb8
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.00427080
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 0x526b2f
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.0042bbfc
call fcn.00427080
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0051bfb8
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.00427080
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.004067a4
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.0x526ecc.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 0x526c72
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x526c64
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042bbfc
call fcn.00427080
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.00427080
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x526c2a
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x526c1f
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x526cbd
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042bbfc
call fcn.00427080
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.00427080
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x526c7d
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.004067a4
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.0x526ecc.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov dl, byte [ebp + 8]
sub dl, 1
jb 0x526d01
dec dl
je 0x526d1a
dec dl
je 0x526d31
sub dl, 3
je 0x526d44
jmp 0x526d6f
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 0x526d94
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 0x526d94
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 0x526d94
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 0x526d94
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 0x526e32
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x526de5
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042bbfc
call fcn.00427080
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.00427080
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x526dab
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042bbfc
call fcn.00427080
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.00427080
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 0x526da0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x526e7d
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042bbfc
call fcn.00427080
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.00427080
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x526e3d
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042bbfc
call fcn.00427080
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.00427080
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x526ecc.1
jmp dword [eax*4 + 0x526ed3]
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.004067a4
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.0x526ecc.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.004067a4
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.0x526ecc.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.004067a4
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.0x526ecc.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.004067a4
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.0x526ecc.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.004067a4
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