Function at 0x5245a4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff9c
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x38]
push ecx
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x38]
mov edx, dword [0x4be1e8]
call fcn.00406348
xor eax, eax
push ebp
push 0x524bfb
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x5245f3
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x524bb2
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x5245ff
mov dword [ebp - 0x54], eax
jmp 0x524613
mov eax, dword [ebp - 0x10]
test eax, eax
je case.0x524a9f.1
mov eax, dword [eax + 0x190]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.0053d678
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.0053d68c
mov esi, eax
xor eax, eax
mov dword [ebp - 0x50], eax
movzx eax, byte [ebp + 8]
dec al
je 0x524656
sub al, 3
je 0x5246dc
dec al
je 0x524767
sub al, 5
je 0x5247f6
jmp 0x5248cd
push 3
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push esi
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.0053d68c
push eax
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.0053d678
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_StretchBlt
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
push 3
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push esi
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
push esi
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.0053d678
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 4]
add edx, esi
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
push 3
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_SetStretchBltMode
push 0xcc0020
push esi
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [ebp - 0x40]
xor edx, edx
call fcn.0053d68c
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
mov edi, dword [ebp - 0x40]
mov edi, dword [edi]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x4c], eax
cmp edi, dword [ebp - 0x48]
jge 0x524861
mov ebx, dword [ebp - 0x40]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x4c]
jge 0x524859
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
push esi
mov eax, dword [ebp - 0x44]
push eax
push ebx
push edi
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x4c]
jl 0x524822
add edi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x48]
jl 0x524817
mov ebx, dword [ebp - 0x40]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x4c]
jge 0x5248a8
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
push esi
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x4c]
jl 0x52486c
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov edi, eax
movzx edx, byte [ebp + 8]
sub dl, 1
jb 0x5248ec
dec dl
je 0x524905
dec dl
je 0x52491c
sub dl, 3
je 0x52492f
jmp 0x52495a
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x4c], eax
jmp 0x52497f
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
jmp 0x52497f
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x4c], eax
jmp 0x52497f
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 4]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, esi
mov edx, dword [ebp - 0x40]
mov dword [edx + 4], eax
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 8]
sub edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
jmp 0x52497f
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov dword [edx], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x4c], eax
cmp edi, dword [ebp - 0x48]
jge 0x524a0e
mov ebx, dword [ebp - 0x40]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x4c]
jge 0x5249ca
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
push esi
mov eax, dword [ebp - 0x44]
push eax
push ebx
push edi
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x4c]
jl 0x524993
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 0x44]
push eax
push ebx
push edi
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_BitBlt
add edi, dword [ebp - 0x44]
cmp edi, dword [ebp - 0x48]
jl 0x524988
mov ebx, dword [ebp - 0x40]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x4c]
jge 0x524a55
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
push esi
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x4c]
jl 0x524a19
push 0xcc0020
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x54]
call fcn.00436458
call fcn.00431e40
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 0x3c]
call fcn.00431e40
push eax
call sub.gdi32.dll_BitBlt
movzx eax, byte [ebp + 8]
cmp eax, 7
ja case.0x524a9f.1
jmp dword [eax*4 + 0x524aa6]
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 4]
add edx, esi
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
add eax, dword [ebp - 0x44]
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov edx, dword [ebp - 0x50]
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 8]
sub ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x50]
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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.0x524a9f.1
mov edx, dword [ebp - 0x40]
mov ecx, ebx
mov eax, dword [ebp - 0x3c]
call fcn.00524370
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00407d30
mov eax, dword [ebp - 0x40]
lea esi, [ebp - 0x64]
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]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x524c02
lea eax, [ebp - 0x38]
mov edx, dword [0x4be1e8]
call fcn.00406204
ret