Function at 0x4c9b58
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 0x4c9b7f
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4ca33c
mov eax, dword [esi]
test eax, eax
je 0x4c9b8a
mov dword [ebp - 0x20], eax
jmp 0x4c9b9e
mov eax, dword [esi + 0x28]
test eax, eax
je case.0x4ca229.1
mov eax, dword [eax + 0x7a80]
mov dword [ebp - 0x20], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.004fffc4
mov dword [ebp - 0x10], eax
lea eax, [esi + 0xc]
xor edx, edx
call fcn.004fffd8
mov edi, eax
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 0xc
ja case.0x4c9bca.0
jmp dword [eax*4 + 0x4c9bd1]
push 3
mov eax, dword [ebp - 4]
call fcn.004242a0
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.004288b0
call fcn.004242a0
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffd8
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffc4
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.004242a0
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.00406b7c
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.0x4ca229.1
push 3
mov eax, dword [ebp - 4]
call fcn.004242a0
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.004288b0
call fcn.004242a0
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffc4
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.004242a0
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.00406b7c
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.0x4ca229.1
push 3
mov eax, dword [ebp - 4]
call fcn.004242a0
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.004288b0
call fcn.004242a0
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffd8
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.004242a0
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.00406b7c
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.0x4ca229.1
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
push 3
mov eax, dword [ebp - 4]
call fcn.004242a0
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x4c9e00
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.004288b0
call fcn.004242a0
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffc4
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.004242a0
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 0x4c9dbd
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.004288b0
call fcn.004242a0
push eax
push edi
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffc4
push eax
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
call fcn.004242a0
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.00406b7c
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.0x4ca229.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 3
mov eax, dword [ebp - 4]
call fcn.004242a0
push eax
call sub.gdi32.dll_SetStretchBltMode
jmp 0x4c9eda
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.004288b0
call fcn.004242a0
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffd8
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.004242a0
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 0x4c9e8c
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.004288b0
call fcn.004242a0
push eax
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.004fffd8
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.004242a0
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.00406b7c
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.0x4ca229.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 0x4c9fcf
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4c9fc1
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004288b0
call fcn.004242a0
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.004242a0
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4c9f87
mov eax, dword [ebp - 0x10]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x4c9f7c
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4ca01a
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004288b0
call fcn.004242a0
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.004242a0
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4c9fda
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b7c
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.0x4ca229.1
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov dl, byte [ebp + 8]
sub dl, 1
jb 0x4ca05e
dec dl
je 0x4ca077
dec dl
je 0x4ca08e
sub dl, 3
je 0x4ca0a1
jmp 0x4ca0cc
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 0x4ca0f1
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 0x4ca0f1
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 0x4ca0f1
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 0x4ca0f1
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 0x4ca18f
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4ca142
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004288b0
call fcn.004242a0
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.004242a0
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4ca108
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004288b0
call fcn.004242a0
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.004242a0
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 0x4ca0fd
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 4]
cmp ebx, dword [ebp - 0x18]
jge 0x4ca1da
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004288b0
call fcn.004242a0
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.004242a0
push eax
call sub.gdi32.dll_BitBlt
add ebx, edi
cmp ebx, dword [ebp - 0x18]
jl 0x4ca19a
push 0xcc0020
mov eax, dword [esi + 0x10]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [ebp - 0x20]
call fcn.004288b0
call fcn.004242a0
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.004242a0
push eax
call sub.gdi32.dll_BitBlt
xor eax, eax
mov al, byte [ebp + 8]
cmp eax, 7
ja case.0x4ca229.1
jmp dword [eax*4 + 0x4ca230]
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b7c
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.0x4ca229.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.00406b7c
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.0x4ca229.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.00406b7c
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.0x4ca229.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.00406b7c
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.0x4ca229.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.00406b7c
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.0x4ca229.1
mov edx, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004c9914
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
push eax
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.00406b7c
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