Function at 0x4cf050
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x50]
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 - 0x50]
mov edx, dword [0x48735c]
call fcn.004052d4
xor eax, eax
push ebp
push 0x4cf6a6
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x4cf09f
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4cf65d
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4cf0ab
mov dword [ebp - 0x1c], eax
jmp 0x4cf0bf
mov eax, dword [ebp - 0x28]
test eax, eax
je case.0x4cf54a.1
mov eax, dword [eax + 0x138]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.004e10f8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x44]
xor edx, edx
call fcn.004e110c
mov esi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 8]
dec al
je 0x4cf101
sub al, 3
je 0x4cf187
dec al
je 0x4cf212
sub al, 5
je 0x4cf2a1
jmp 0x4cf378
push 3
mov eax, dword [ebp - 4]
call fcn.00423fec
push eax
call fcn.004072a4
push 0xcc0020
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004e110c
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004e10f8
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.00423fec
push eax
call fcn.004072dc
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
push 3
mov eax, dword [ebp - 4]
call fcn.00423fec
push eax
call fcn.004072a4
push 0xcc0020
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
push eax
push esi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004e10f8
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.00423fec
push eax
call fcn.004072dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x60]
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.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
push 3
mov eax, dword [ebp - 4]
call fcn.00423fec
push eax
call fcn.004072a4
push 0xcc0020
push esi
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004e110c
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.00423fec
push eax
call fcn.004072dc
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x60]
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.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.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 0x4cf30c
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x4cf304
push 0xcc0020
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00423fec
push eax
call fcn.0040704c
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x4cf2cd
add edi, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x4cf2c2
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x4cf353
push 0xcc0020
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
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.00423fec
push eax
call fcn.0040704c
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x4cf317
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edi, eax
mov dl, byte [ebp + 8]
sub dl, 1
jb 0x4cf396
dec dl
je 0x4cf3af
dec dl
je 0x4cf3c6
sub dl, 3
je 0x4cf3d9
jmp 0x4cf404
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 0x4cf429
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 0x4cf429
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 0x4cf429
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 0x4cf429
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 0x4cf4b8
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x4cf474
push 0xcc0020
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
push ebx
push edi
mov eax, dword [ebp - 4]
call fcn.00423fec
push eax
call fcn.0040704c
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x4cf43d
push 0xcc0020
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
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.00423fec
push eax
call fcn.0040704c
add edi, dword [ebp - 0xc]
cmp edi, dword [ebp - 0x10]
jl 0x4cf432
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x14]
jge 0x4cf4ff
push 0xcc0020
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
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.00423fec
push eax
call fcn.0040704c
add ebx, esi
cmp ebx, dword [ebp - 0x14]
jl 0x4cf4c3
push 0xcc0020
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x1c]
call fcn.004284b8
call fcn.00423fec
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.00423fec
push eax
call fcn.0040704c
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x4cf54a.1
jmp dword [eax*4 + 0x4cf551]
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x60]
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.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x60]
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.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
sub eax, esi
push eax
lea eax, [ebp - 0x60]
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.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
push eax
lea eax, [ebp - 0x60]
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.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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.0x4cf54a.1
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004cee1c
push 0xffffffffffffffff
lea eax, [ebp - 0x60]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b5c
mov eax, dword [ebp - 8]
lea esi, [ebp - 0x60]
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 0x4cf6ad
lea eax, [ebp - 0x50]
mov edx, dword [0x48735c]
call fcn.00405190
ret