Function at 0x4c6d8c
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 0x4c6db3
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4c7570
mov eax, dword [esi]
test eax, eax
je 0x4c6dbe
mov dword [ebp - 0x20], eax
jmp 0x4c6dd2
mov eax, dword [esi + 0x28]
test eax, eax
je case.0x4c745d.1
mov eax, dword [eax + 0x7a80]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.004fd1f8
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.004fd20c
mov edi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 0xc
ja case.0x4c6dfe.0
jmp dword [eax*4 + 0x4c6e05]
push 3
mov eax, dword [ebp - 4]
call fcn.0042427c
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.0042888c
call fcn.0042427c
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd20c
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd1f8
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.0042427c
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.00406b4c
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.0x4c745d.1
push 3
mov eax, dword [ebp - 4]
call fcn.0042427c
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.0042888c
call fcn.0042427c
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd1f8
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.0042427c
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.00406b4c
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.0x4c745d.1
push 3
mov eax, dword [ebp - 4]
call fcn.0042427c
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.0042888c
call fcn.0042427c
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd20c
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.0042427c
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.00406b4c
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.0x4c745d.1
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
push 3
mov eax, dword [ebp - 4]
call fcn.0042427c
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x4c7034
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.0042888c
call fcn.0042427c
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd1f8
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.0042427c
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 0x4c6ff1
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.0042888c
call fcn.0042427c
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd1f8
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.0042427c
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.00406b4c
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.0x4c745d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 3
mov eax, dword [ebp - 4]
call fcn.0042427c
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x4c710e
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.0042888c
call fcn.0042427c
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd20c
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.0042427c
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 0x4c70c0
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.0042888c
call fcn.0042427c
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fd20c
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.0042427c
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.00406b4c
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.0x4c745d.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 0x4c7203
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4c71f5
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042888c
call fcn.0042427c
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.0042427c
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4c71bb
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x4c71b0
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4c724e
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042888c
call fcn.0042427c
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.0042427c
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4c720e
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b4c
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.0x4c745d.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov dl, byte [ebp + 8]
sub dl, 1
jb 0x4c7292
dec dl
je 0x4c72ab
dec dl
je 0x4c72c2
sub dl, 3
je 0x4c72d5
jmp 0x4c7300
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 0x4c7325
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 0x4c7325
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 0x4c7325
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 0x4c7325
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 0x4c73c3
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4c7376
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042888c
call fcn.0042427c
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.0042427c
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4c733c
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042888c
call fcn.0042427c
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.0042427c
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 0x4c7331
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4c740e
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042888c
call fcn.0042427c
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.0042427c
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4c73ce
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.0042888c
call fcn.0042427c
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.0042427c
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x4c745d.1
jmp dword [eax*4 + 0x4c7464]
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b4c
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.0x4c745d.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.00406b4c
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.0x4c745d.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.00406b4c
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.0x4c745d.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.00406b4c
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.0x4c745d.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.00406b4c
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.0x4c745d.1
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004c6b48
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b4c
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