Function at 0x4caf3c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x60]
push ecx
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4cb28e
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0x14], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x60], 0
jge 0x4caf8c
xor eax, eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0xc]
jle 0x4caf9a
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x5c], 0
jge 0x4cafa5
xor eax, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x10]
jle 0x4cafb3
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
dec dword [ebp - 0x58]
dec dword [ebp - 0x54]
mov eax, dword [ebp + 0x10]
call fcn.0041bad0
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
call fcn.0041bad0
mov dword [ebp + 0xc], eax
mov eax, ebx
call fcn.00421ddc
cmp al, 6
jne 0x4cb0e0
lea edx, [ebp - 0x2b]
mov eax, dword [ebp + 0x10]
call fcn.004d63c0
lea edx, [ebp - 0x2e]
mov eax, dword [ebp + 0xc]
call fcn.004d63c0
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00421e60
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
shl eax, 3
lea eax, [eax + eax*2]
add eax, 0x1f
and eax, 0xffffffe0
test eax, eax
jns 0x4cb017
add eax, 7
sar eax, 3
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
sub eax, edi
jl 0x4cb28e
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
sub eax, edi
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x58]
sub esi, ebx
jl 0x4cb0d1
inc esi
cmp byte [ebp - 1], 0
je 0x4cb092
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
add eax, ebx
sub eax, edi
cdq
idiv dword [ebp - 8]
test al, 1
je 0x4cb07b
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x20]
mov cx, word [ebp - 0x2e]
mov word [edx + eax], cx
mov cl, byte [ebp - 0x2c]
mov byte [edx + eax + 2], cl
jmp 0x4cb0c9
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x20]
mov cx, word [ebp - 0x2b]
mov word [edx + eax], cx
mov cl, byte [ebp - 0x29]
mov byte [edx + eax + 2], cl
jmp 0x4cb0c9
lea eax, [edi + ebx]
cdq
idiv dword [ebp - 8]
test al, 1
je 0x4cb0b4
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x20]
mov cx, word [ebp - 0x2e]
mov word [edx + eax], cx
mov cl, byte [ebp - 0x2c]
mov byte [edx + eax + 2], cl
jmp 0x4cb0c9
lea eax, [ebx + ebx*2]
mov edx, dword [ebp - 0x20]
mov cx, word [ebp - 0x2b]
mov word [edx + eax], cx
mov cl, byte [ebp - 0x29]
mov byte [edx + eax + 2], cl
inc ebx
dec esi
jne 0x4cb04c
inc edi
dec dword [ebp - 0x50]
jne 0x4cb02f
jmp 0x4cb28e
mov eax, ebx
call fcn.00421ddc
cmp al, 7
jne 0x4cb1b8
mov byte [ebp - 0x2f], 0xff
mov al, byte [ebp + 0x12]
mov byte [ebp - 0x32], al
mov al, byte [ebp + 0x11]
mov byte [ebp - 0x31], al
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x30], al
mov byte [ebp - 0x33], 0xff
mov al, byte [ebp + 0xe]
mov byte [ebp - 0x36], al
mov al, byte [ebp + 0xd]
mov byte [ebp - 0x35], al
mov al, byte [ebp + 0xc]
mov byte [ebp - 0x34], al
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.00421e60
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
shl eax, 2
mov dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
sub eax, edi
jl 0x4cb28e
inc eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x14]
sub eax, edi
imul dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x58]
sub esi, ebx
jl 0x4cb1ad
inc esi
cmp byte [ebp - 1], 0
je 0x4cb18a
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0xc]
add eax, ebx
sub eax, edi
cdq
idiv dword [ebp - 8]
test al, 1
je 0x4cb17f
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x36]
mov dword [eax + ebx*4], edx
jmp 0x4cb1a9
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x32]
mov dword [eax + ebx*4], edx
jmp 0x4cb1a9
lea eax, [edi + ebx]
cdq
idiv dword [ebp - 8]
test al, 1
je 0x4cb1a0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x36]
mov dword [eax + ebx*4], edx
jmp 0x4cb1a9
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x32]
mov dword [eax + ebx*4], edx
inc ebx
dec esi
jne 0x4cb15c
inc edi
dec dword [ebp - 0x50]
jne 0x4cb143
jmp 0x4cb28e
mov esi, dword [ebp - 8]
add esi, esi
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
cdq
idiv esi
mov dword [ebp - 0x4c], eax
push 0
mov ecx, esi
mov edx, dword [ebp - 0x44]
mov al, 6
call fcn.004ca87c
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
mov dl, byte [ebp - 1]
mov eax, dword [ebp - 0x3c]
call fcn.004cabf8
mov eax, ebx
call fcn.00421cf8
call fcn.0041d564
mov ebx, eax
mov eax, dword [ebp - 0x3c]
call fcn.00421cf8
call fcn.0041d564
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x4c]
test eax, eax
jl 0x4cb255
inc eax
mov dword [ebp - 0x50], eax
xor edi, edi
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x40]
push eax
push esi
mov eax, dword [ebp - 0x44]
push eax
mov eax, edi
imul esi
add eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x60]
push eax
push ebx
call sub.gdi32.dll_BitBlt
inc edi
dec dword [ebp - 0x50]
jne 0x4cb22b
mov eax, dword [ebp - 0x48]
cdq
idiv esi
mov edi, edx
test edi, edi
je 0x4cb286
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x40]
push eax
push edi
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x4c]
imul esi
add eax, dword [ebp - 0x5c]
push eax
mov eax, dword [ebp - 0x60]
push eax
push ebx
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp - 0x3c]
call fcn.00403170
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc