Function at 0x51642c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x4c]
push ecx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
mov edx, dword [0x4b74d4]
call fcn.00405518
xor eax, eax
push ebp
push 0x516a72
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x51647b
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x516a29
cmp dword [ebp - 0x24], 0
je case.0x516916.1
lea eax, [ebp - 0x40]
xor edx, edx
call fcn.0050e7f4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x40]
xor edx, edx
call fcn.0050e808
mov esi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
dec al
je 0x5164c7
sub al, 3
je 0x516543
dec al
je 0x5165c4
sub al, 5
je 0x516649
jmp 0x51672c
push 0xcc0020
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0050e808
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0050e7f4
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.00424b24
push eax
call sub.gdi32.dll_StretchBlt
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
push 0xcc0020
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
push esi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0050e7f4
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.00424b24
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
add edx, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
push 0xcc0020
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0050e808
push eax
mov eax, dword [ebp - 0xc]
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.00424b24
push eax
call sub.gdi32.dll_StretchBlt
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
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 - 0xc]
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
mov edi, dword [ebp - 8]
mov edi, dword [edi]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x14], eax
cmp edi, dword [ebp - 0x10]
jge 0x5166ba
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x5166b2
push 0xcc0020
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00424b24
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x516675
add edi, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x51666a
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x516707
push 0xcc0020
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00424b24
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x5166c5
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edi, eax
mov dl, byte [ebp + 8]
sub dl, 1
jb 0x51674a
dec dl
je 0x516763
dec dl
je 0x51677a
sub dl, 3
je 0x51678d
jmp 0x5167b8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x14], eax
jmp 0x5167dd
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
jmp 0x5167dd
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x14], eax
jmp 0x5167dd
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, esi
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov edx, dword [ebp - 8]
mov edx, dword [edx + 8]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
jmp 0x5167dd
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, esi
mov dword [ebp - 0x14], eax
cmp edi, dword [ebp - 0x10]
jge 0x516878
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x51682e
push 0xcc0020
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00424b24
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x5167f1
push 0xcc0020
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, ebx
push eax
mov eax, dword [ebp - 0xc]
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00424b24
push eax
call sub.gdi32.dll_BitBlt
add edi, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x5167e6
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x5168c5
push 0xcc0020
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
push eax
push esi
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
sub eax, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00424b24
push eax
call sub.gdi32.dll_BitBlt
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x516883
push 0xcc0020
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 0x12c]
call fcn.00428fb4
call fcn.00424b24
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, edi
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00424b24
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x516916.1
jmp dword [eax*4 + 0x51691d]
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
add edx, esi
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
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 - 0xc]
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x5c]
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 - 0x18]
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 8]
sub ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 4]
mov eax, dword [ebp - 0x18]
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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.0x516916.1
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.00516220
push 0xffffffffffffffff
lea eax, [ebp - 0x5c]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041815c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x5c]
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 0x516a79
lea eax, [ebp - 0x4c]
mov edx, dword [0x4b74d4]
call fcn.004053d4
ret