Function at 0x4a45cc
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x8c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x8c]
push eax
call sub.user32.dll_IsRectEmpty
test eax, eax
jne 0x4a502f
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, dword [ebp - 0x84]
jge 0x4a461b
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
cmp eax, dword [ebp - 0x80]
jge 0x4a4633
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x8c], 0
jge 0x4a4644
xor eax, eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x88], 0
jge 0x4a4655
xor eax, eax
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x51], 0xff
mov eax, edi
call fcn.00405608
dec eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
jl 0x4a502f
mov eax, dword [edi + 0xc]
sub eax, 1
jb 0x4a4688
je 0x4a492b
dec eax
je 0x4a4da0
jmp 0x4a502f
mov byte [ebp - 0x55], 0xff
mov esi, dword [ebp - 0x88]
add esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
lea eax, [ebp - 0x8c]
xor edx, edx
call fcn.00512338
add eax, dword [ebp - 0x8c]
pop edx
call fcn.0042ad60
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
test eax, eax
jl 0x4a502f
inc eax
mov dword [ebp - 0x74], eax
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [edi + eax*4]
mov dword [ebp - 0x4c], edx
mov edx, dword [edi + eax*4 + 4]
mov dword [ebp - 0x50], edx
movzx eax, byte [edi + eax*4 + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x68], esi
lea eax, [ebp - 0x8c]
xor edx, edx
call fcn.0051234c
add eax, dword [ebp + 8]
imul dword [ebp - 0x60]
mov ecx, 0x64
cdq
idiv ecx
mov esi, eax
add esi, dword [ebp - 0x68]
cmp ebx, dword [ebp - 0x5c]
jne 0x4a4730
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x80]
call fcn.0042ad60
mov esi, eax
dec esi
jmp 0x4a474e
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x80]
call fcn.0042ad60
mov edx, eax
dec edx
mov eax, esi
call fcn.0042ad60
mov esi, eax
mov eax, esi
sub eax, dword [ebp - 0x68]
test eax, eax
jle 0x4a491c
xor eax, eax
mov al, byte [ebp - 0x4c]
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fstp dword [ebp - 0x20]
wait
xor eax, eax
mov al, byte [ebp - 0x4b]
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fstp dword [ebp - 0x24]
wait
xor eax, eax
mov al, byte [ebp - 0x4a]
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fstp dword [ebp - 0x28]
wait
cmp ebx, dword [ebp - 0x5c]
je 0x4a47ac
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
dec eax
cmp esi, eax
jle 0x4a47c2
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
dec edx
mov eax, dword [ebp - 0x80]
dec eax
call fcn.0042ad60
mov esi, eax
mov eax, esi
sub eax, dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a502f
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x50]
jne 0x4a4834
mov al, byte [ebp - 0x4c]
mov byte [ebp - 0x52], al
mov al, byte [ebp - 0x4b]
mov byte [ebp - 0x53], al
mov al, byte [ebp - 0x4a]
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0x68]
mov edx, esi
sub edx, eax
jl 0x4a491c
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00428cb4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x8c]
lea eax, [eax + edx*4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
call fcn.004d3164
inc dword [ebp - 0x6c]
dec dword [ebp - 0x78]
jne 0x4a4802
jmp 0x4a491c
xor eax, eax
mov al, byte [ebp - 0x50]
xor edx, edx
mov dl, byte [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x14]
call fcn.00402e10
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x4f]
xor edx, edx
mov dl, byte [ebp - 0x4b]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x14]
call fcn.00402e10
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x4e]
xor edx, edx
mov dl, byte [ebp - 0x4a]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x14]
call fcn.00402e10
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x68]
mov edx, esi
sub edx, eax
jl 0x4a491c
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x6c], eax
fld dword [ebp - 0x20]
call fcn.00402c00
mov byte [ebp - 0x52], al
fld dword [ebp - 0x24]
call fcn.00402c00
mov byte [ebp - 0x53], al
fld dword [ebp - 0x28]
call fcn.00402c00
mov byte [ebp - 0x54], al
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.00428cb4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x8c]
lea eax, [eax + edx*4]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x10]
call fcn.004d3164
fld dword [ebp - 0x20]
fadd qword [ebp - 0x30]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x24]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x24]
wait
fld dword [ebp - 0x28]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x28]
wait
inc dword [ebp - 0x6c]
dec dword [ebp - 0x78]
jne 0x4a48b0
inc ebx
dec dword [ebp - 0x74]
jne 0x4a46d9
jmp 0x4a502f
lea eax, [ebp - 0x8c]
xor edx, edx
call fcn.00512338
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fld dword [0x4a5038]
call fcn.00402e10
fstp qword [ebp - 0x48]
wait
mov eax, dword [ebp - 4]
call fcn.00428c30
cmp al, 7
jne 0x4a4bba
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 4]
call fcn.00428cb4
mov dword [ebp - 8], eax
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
test eax, eax
jl 0x4a4b2b
inc eax
mov dword [ebp - 0x74], eax
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov eax, dword [edi + eax*4]
mov dword [ebp - 0x4c], eax
lea eax, [ebx + ebx*4]
mov eax, dword [edi + eax*4 + 4]
mov dword [ebp - 0x50], eax
lea eax, [ebx + ebx*4]
movzx eax, byte [edi + eax*4 + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
fild dword [ebp - 0x60]
fmul qword [ebp - 0x48]
fild dword [ebp - 0x64]
faddp st(1)
call fcn.00402c00
mov esi, eax
cmp ebx, dword [ebp - 0x5c]
jne 0x4a49dd
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x84]
call fcn.0042ad60
mov esi, eax
dec esi
jmp 0x4a49fe
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x84]
call fcn.0042ad60
mov edx, eax
dec edx
mov eax, esi
call fcn.0042ad60
mov esi, eax
mov eax, esi
sub eax, dword [ebp - 0x64]
test eax, eax
jle 0x4a4b21
mov eax, esi
sub eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
xor eax, eax
mov al, byte [ebp - 0x4c]
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fstp dword [ebp - 0x20]
wait
xor eax, eax
mov al, byte [ebp - 0x4b]
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fstp dword [ebp - 0x24]
wait
xor eax, eax
mov al, byte [ebp - 0x4a]
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fstp dword [ebp - 0x28]
wait
xor eax, eax
mov al, byte [ebp - 0x50]
xor edx, edx
mov dl, byte [ebp - 0x4c]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x10]
call fcn.00402e10
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x4f]
xor edx, edx
mov dl, byte [ebp - 0x4b]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x10]
call fcn.00402e10
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x4e]
xor edx, edx
mov dl, byte [ebp - 0x4a]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x10]
call fcn.00402e10
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x64]
mov edx, esi
sub edx, eax
jl 0x4a4b21
inc edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x70], eax
fld dword [ebp - 0x20]
call fcn.00402c00
mov byte [ebp - 0x52], al
fld dword [ebp - 0x24]
call fcn.00402c00
mov byte [ebp - 0x53], al
fld dword [ebp - 0x28]
call fcn.00402c00
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x54]
mov dword [eax + edx*4], ecx
fld dword [ebp - 0x20]
fadd qword [ebp - 0x30]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x24]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x24]
wait
fld dword [ebp - 0x28]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x28]
wait
inc dword [ebp - 0x70]
dec dword [ebp - 0x78]
jne 0x4a4ace
inc ebx
dec dword [ebp - 0x74]
jne 0x4a498b
lea eax, [ebp - 0x8c]
xor edx, edx
call fcn.00512338
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x18], 0
jle 0x4a502f
mov eax, dword [ebp - 0x88]
inc eax
mov edx, dword [ebp - 0x80]
dec edx
sub edx, eax
jl 0x4a502f
inc edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], eax
push 0xcc0020
mov eax, dword [ebp - 0x88]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
call fcn.00428b44
call fcn.00424194
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
call fcn.00428b44
call fcn.00424194
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x68]
dec dword [ebp - 0x74]
jne 0x4a4b66
jmp 0x4a502f
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x80]
dec edx
sub edx, eax
jl 0x4a502f
inc edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x68], eax
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00428cb4
mov dword [ebp - 0xc], eax
mov esi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x5c]
test eax, eax
jl 0x4a4d8f
inc eax
mov dword [ebp - 0x78], eax
xor ebx, ebx
lea eax, [ebx + ebx*4]
mov edx, dword [edi + eax*4]
mov dword [ebp - 0x4c], edx
mov edx, dword [edi + eax*4 + 4]
mov dword [ebp - 0x50], edx
movzx eax, byte [edi + eax*4 + 8]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], esi
fild dword [ebp - 0x60]
fmul qword [ebp - 0x48]
fild dword [ebp - 0x64]
faddp st(1)
call fcn.00402c00
mov esi, eax
cmp ebx, dword [ebp - 0x5c]
jne 0x4a4c44
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x84]
call fcn.0042ad60
mov esi, eax
dec esi
jmp 0x4a4c65
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x84]
call fcn.0042ad60
mov edx, eax
dec edx
mov eax, esi
call fcn.0042ad60
mov esi, eax
mov eax, esi
sub eax, dword [ebp - 0x64]
test eax, eax
jle 0x4a4d85
mov dword [ebp - 0x10], eax
mov al, byte [ebp - 0x4c]
xor edx, edx
mov dl, al
mov dword [ebp - 0x110], edx
fild dword [ebp - 0x110]
fstp dword [ebp - 0x20]
wait
xor edx, edx
mov dl, byte [ebp - 0x4b]
mov dword [ebp - 0x110], edx
fild dword [ebp - 0x110]
fstp dword [ebp - 0x24]
wait
xor edx, edx
mov dl, byte [ebp - 0x4a]
mov dword [ebp - 0x110], edx
fild dword [ebp - 0x110]
fstp dword [ebp - 0x28]
wait
xor edx, edx
mov dl, byte [ebp - 0x50]
and eax, 0xff
sub edx, eax
mov dword [ebp - 0x110], edx
fild dword [ebp - 0x110]
fild dword [ebp - 0x10]
call fcn.00402e10
fstp qword [ebp - 0x30]
wait
xor eax, eax
mov al, byte [ebp - 0x4f]
xor edx, edx
mov dl, byte [ebp - 0x4b]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x10]
call fcn.00402e10
fstp qword [ebp - 0x38]
wait
xor eax, eax
mov al, byte [ebp - 0x4e]
xor edx, edx
mov dl, byte [ebp - 0x4a]
sub eax, edx
mov dword [ebp - 0x110], eax
fild dword [ebp - 0x110]
fild dword [ebp - 0x10]
call fcn.00402e10
fstp qword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x64]
mov edx, esi
sub edx, eax
jl 0x4a4d85
inc edx
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x70], eax
fld dword [ebp - 0x20]
call fcn.00402c00
mov byte [ebp - 0x52], al
fld dword [ebp - 0x24]
call fcn.00402c00
mov byte [ebp - 0x53], al
fld dword [ebp - 0x28]
call fcn.00402c00
mov byte [ebp - 0x54], al
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x54]
mov dword [eax + edx*4], ecx
fld dword [ebp - 0x20]
fadd qword [ebp - 0x30]
fstp dword [ebp - 0x20]
wait
fld dword [ebp - 0x24]
fadd qword [ebp - 0x38]
fstp dword [ebp - 0x24]
wait
fld dword [ebp - 0x28]
fadd qword [ebp - 0x40]
fstp dword [ebp - 0x28]
wait
inc dword [ebp - 0x70]
dec dword [ebp - 0x7c]
jne 0x4a4d32
inc ebx
dec dword [ebp - 0x78]
jne 0x4a4bf8
inc dword [ebp - 0x68]
dec dword [ebp - 0x74]
jne 0x4a4bd3
jmp 0x4a502f
cmp dword [ebp - 0x5c], 0xffffffff
jle 0x4a4dad
mov eax, dword [edi]
mov dword [ebp - 0x58], eax
jmp 0x4a4db2
xor eax, eax
mov dword [ebp - 0x58], eax
mov word [ebp - 0xce], 0xff00
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xd8], eax
xor eax, eax
mov al, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0xd4], ax
xor eax, eax
mov al, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0xd2], ax
xor eax, eax
mov al, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0xd0], ax
cmp dword [ebp - 0x5c], 0
jle 0x4a4e0c
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x58], eax
mov word [ebp - 0xbe], 0xff00
lea eax, [ebp - 0x8c]
xor edx, edx
call fcn.00512338
sar eax, 1
jns 0x4a4e29
adc eax, 0
add eax, dword [ebp - 0x8c]
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x8c]
xor edx, edx
call fcn.0051234c
sar eax, 1
jns 0x4a4e49
adc eax, 0
add eax, dword [ebp - 0x88]
mov dword [ebp - 0xc8], eax
xor eax, eax
mov al, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0xc4], ax
xor eax, eax
mov al, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0xc2], ax
xor eax, eax
mov al, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0xc0], ax
cmp dword [ebp - 0x5c], 1
jle 0x4a4e8e
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x58], eax
mov word [ebp - 0xae], 0xff00
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb8], eax
xor eax, eax
mov al, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0xb4], ax
xor eax, eax
mov al, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0xb2], ax
xor eax, eax
mov al, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0xb0], ax
cmp dword [ebp - 0x5c], 2
jle 0x4a4ee8
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x58], eax
mov word [ebp - 0x9e], 0xff00
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov al, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0xa4], ax
xor eax, eax
mov al, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0xa2], ax
xor eax, eax
mov al, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0xa0], ax
cmp dword [ebp - 0x5c], 3
jle 0x4a4f3f
mov eax, dword [edi + 0x50]
mov dword [ebp - 0x58], eax
mov word [ebp - 0x8e], 0xff00
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
xor eax, eax
mov al, byte [ebp - 0x58]
shl eax, 8
mov word [ebp - 0x94], ax
xor eax, eax
mov al, byte [ebp - 0x57]
shl eax, 8
mov word [ebp - 0x92], ax
xor eax, eax
mov al, byte [ebp - 0x56]
shl eax, 8
mov word [ebp - 0x90], ax
xor eax, eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x104], 2
mov dword [ebp - 0x100], 1
mov dword [ebp - 0xfc], 2
mov dword [ebp - 0xf8], 3
xor eax, eax
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 1
mov dword [ebp - 0xec], 4
mov dword [ebp - 0xe8], 4
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0xe0], 3
cmp dword [0x52d168], 0
je 0x4a502f
push 2
push 4
lea eax, [ebp - 0x10c]
push eax
push 5
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 4]
call fcn.00428b44
call fcn.00424194
push eax
call dword [0x52d168]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8