Function at 0x100c94d0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
movups xmm0, xmmword [eax]
mov eax, dword [ebp + 0x18]
and eax, 0xf00000ff
movups xmmword [ebp - 0x14], xmm0
cmp eax, 3
ja case.default.0x100c94f4
jmp dword [eax*4 + 0x100c98d0]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov esi, dword [ebp + 0x10]
cdq
sub eax, edx
mov dword [ebp + 0x14], esi
mov ebx, eax
mov eax, esi
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
sub ebx, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
add ebx, dword [ebp - 0x14]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 0x10]
mov dword [ebp + 0x10], eax
test esi, esi
jle 0x100c98b7
mov esi, dword [ebp + 8]
sub eax, ebx
mov dword [ebp + 0xc], eax
nop dword [eax + eax]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xf00021
push 0
push 0
push 0
push 1
push 3
push dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebp + 8]
add ecx, ebx
push 0xf00021
push 0
push 0
push 0
push 1
push 3
push ecx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
dec dword [ebp + 0x10]
inc ebx
sub dword [ebp + 0x14], 1
jne 0x100c9540
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
cdq
sub eax, edx
mov dword [ebp + 0xc], 0
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
add ecx, dword [ebp - 0x14]
mov ebx, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
add ebx, ecx
add eax, dword [ebp - 0x10]
mov dword [ebp + 0x14], ebx
mov dword [ebp - 4], eax
test edi, edi
jle 0x100c98b7
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
sub eax, ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x18], eax
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call esi
mov ecx, dword [ebp + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x14]
add ecx, eax
push 0xf00021
push 0
push 0
push 0
push 1
push 3
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call esi
mov ecx, dword [ebp - 4]
mov esi, eax
add ecx, dword [ebp + 0xc]
push 0xf00021
push 0
push 0
push 0
push 1
push 3
push ecx
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0x14]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp + 0x10]
jl 0x100c9636
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp + 0x14]
cdq
sub eax, edx
mov dword [ebp + 0x18], esi
mov ebx, eax
mov eax, dword [ebp - 8]
sub eax, ecx
sar ebx, 1
add ebx, dword [ebp - 0x14]
cdq
sub eax, edx
mov dword [ebp + 0xc], ebx
mov edi, eax
mov eax, esi
cdq
sub eax, edx
sar edi, 1
sar eax, 1
sub edi, eax
add edi, 0xfffffffe
test esi, esi
jle 0x100c98b7
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [edi + ecx]
mov dword [ebp + 0x14], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x10], eax
nop dword [eax]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call esi
push 0xf00021
push 0
push 0
push 0
push 3
push 1
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0x14]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call esi
push 0xf00021
push 0
push 0
push 0
push 3
push 1
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
dec dword [ebp + 0x14]
inc dword [ebp + 0x10]
inc dword [ebp + 0xc]
sub dword [ebp + 0x18], 1
jne 0x100c9730
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
sub eax, ecx
mov edi, dword [ebp + 0x14]
cdq
sub eax, edx
mov dword [ebp + 0xc], 0
sar eax, 1
lea ebx, [eax + ecx]
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
cdq
sub eax, edx
mov dword [ebp - 4], ebx
mov ecx, eax
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
add ecx, dword [ebp - 0x10]
sar eax, 1
add eax, ecx
mov dword [ebp + 0x10], eax
test edi, edi
jle 0x100c98b7
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
sub ebx, eax
mov dword [ebp + 0x18], ebx
mov ebx, dword [ebp + 8]
nop dword [eax]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call esi
mov ecx, dword [ebp + 0x18]
mov esi, eax
mov eax, dword [ebp + 0x10]
add ecx, eax
push 0xf00021
push 0
push 0
push 0
push 3
push 1
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
push edi
push ebx
call esi
mov ecx, dword [ebp - 4]
mov esi, eax
add ecx, dword [ebp + 0xc]
push 0xf00021
push 0
push 0
push 0
push 3
push 1
push dword [ebp + 0x10]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0xc]
dec dword [ebp + 0x10]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp + 0x14]
jl 0x100c9820
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18